Fit Definitive Screening
Example 1
Summary: Fits a definitive screening model to identify significant predictors in a dataset, utilizing the Fit Definitive Screening platform.
Code:
// Fit Definitive Screening
// Open data table
dt = Open("data_table.jmp");
// Fit Definitive Screening
Fit Definitive Screening(
X(
:Methanol, :Ethanol, :Propanol,
:Butanol, :pH, :Time
),
Y( :Yield )
);
Code Explanation:
- Open data table.
- Fit Definitive Screening.
- Specify predictors.
- Specify response variable.
Example 2
Summary: Fits a definitive screening model to analyze the relationship between yield and various predictors, including lot, methanol, ethanol, propanol, butanol, pH, and time.
Code:
// Fit Definitive Screening
// Open data table
dt = Open("data_table.jmp");
// Fit Definitive Screening
Fit Definitive Screening(
Y( :Yield ),
X(
:Lot, :Methanol, :Ethanol,
:Propanol, :Butanol, :pH, :Time
)
);
Code Explanation:
- Open data table.
- Fit Definitive Screening model.
- Set response variable to Yield.
- Include predictors: Lot, Methanol, Ethanol.
- Include predictors: Propanol, Butanol, pH.
- Include predictor: Time.
Example 3
Summary: Fits a Definitive Screening model to analyze the relationship between multiple predictors (Lot, Methanol, Ethanol, Propanol, Butanol, pH, Time) and a response variable (Yield) in a data table.
Code:
// Fit Definitive Screening
// Open data table
dt = Open("data_table.jmp");
// Fit Definitive Screening
Fit Definitive Screening(
X(
:Lot, :Methanol, :Ethanol,
:Propanol, :Butanol, :pH, :Time
),
Y( :Yield )
);
Code Explanation:
- Open data table.
- Fit Definitive Screening model.
- Specify predictors: Lot, Methanol, Ethanol.
- Specify predictors: Propanol, Butanol, pH, Time.
- Specify response variable: Yield.
Example 4
Summary: Fits a Definitive Screening model to predict Solids based on pH, Water Temp, Extraction Time, Ratio, Agitation Speed, Hydrolyze, and Pre-Soak variables in a data table.
Code:
// Fit Definitive Screening
// Open data table
dt = Open("data_table.jmp");
// Fit Definitive Screening
Fit Definitive Screening(
X(
:pH, :Water Temp,
:Extraction TIme, :Ratio,
:Agitation Speed, :Hydrolyze,
:"Pre-Soak"n
),
Y( :Solids )
);
Code Explanation:
- Open data table.
- Fit Definitive Screening model.
- Set predictors: pH, Water Temp, Extraction Time, Ratio, Agitation Speed, Hydrolyze, Pre-Soak.
- Set response variable: Solids.
Example 5
Summary: Fits a definitive screening model to identify significant terms in a multiple regression analysis, utilizing quadratic and interaction heredity.
Code:
dt = Open("data_table.jmp");
dfs = Fit Definitive Screening(
Y( :Yield ),
X( :Lot, :Methanol, :Ethanol, :Propanol, :Butanol, :pH, :Time ),
Quadratic Terms Obey Strong Heredity( 1 ),
Interactions Obey Strong Heredity( 1 )
);
rpt = dfs << report;
dfs << set stage 1 p value( 0.3 );
Code Explanation:
- Open data table.
- Fit definitive screening model.
- Specify response variable.
- Define predictor variables.
- Enable quadratic heredity.
- Enable interaction heredity.
- Generate report.
- Set stage 1 p-value threshold.
Example 6
Summary: Fits a definitive screening model to identify significant predictor variables and interactions, generating a report with stage 1 p-value threshold set to 1e-7.
Code:
dt = Open("data_table.jmp");
dfs = dt << Fit Definitive Screening(
Y( :Stretch ),
X( :Silica, :Sulfur, :Silane ),
Quadratic Terms Obey Strong Heredity( 1 ),
Interactions Obey Strong Heredity( 1 )
);
rpt = dfs << report;
dfs << set stage 1 p value( 1e-7 );
Code Explanation:
- Open data table.
- Fit definitive screening model.
- Specify response variable.
- Select predictor variables.
- Enable quadratic terms heredity.
- Enable interactions heredity.
- Generate model report.
- Set stage 1 p-value threshold.
Fit Definitive Screening using Expr
Summary: Fits a Definitive Screening Design (DSD) to a data table, utilizing quadratic terms and interactions that obey strong heredity.
Code:
dt = Open("data_table.jmp");
fitDSDExpr = Expr(
Fit Definitive Screening(
Y( :Yield ),
X( :Lot, :Methanol, :Ethanol, :Propanol, :Butanol, :pH, :Time ),
Quadratic Terms Obey Strong Heredity( 1 ),
Interactions Obey Strong Heredity( 1 )
)
);
fitDSDExpr;
Code Explanation:
- Open data table.
- Define fit expression.
- Execute fit expression.