Screening
Example 1
Summary: Screens a data table for regression analysis by selecting Y and X variables, utilizing the Screening platform in JMP.
Code:
// Screening
// Open data table
dt = Open("data_table.jmp");
// Screening
Screening(
Y( :OCV ),
X( :A1, :A2, :A3, :A4, :C1, :C2 )
);
Code Explanation:
- Open data table.
- Set Y variable.
- Set X variables.
- Run screening analysis.
Example 2
Summary: Screens a data table for regression analysis by selecting predictor variables and performing a screening analysis.
Code:
// Screening
// Open data table
dt = Open("data_table.jmp");
// Screening
Screening(
Y( :Taste ),
X(
:Cocoa, :Sugar, :Flour, :Butter,
:Milk, :Eggs
)
);
Code Explanation:
- Open table.
- Run screening analysis.
- Set response variable.
- Select predictor variables.
- Perform analysis.
Example 3
Summary: Screens a data table using the Screening platform in JMP, selecting response and factor variables for further analysis.
Code:
// Screening
// Open data table
dt = Open("data_table.jmp");
// Screening
Screening( Y( :Y ), X( :X1, :X2, :X3 ) );
Code Explanation:
- Open table.
- Perform screening analysis.
- Set response variable.
- Set factor variables.
Example 4
Summary: Screens a data table for regression analysis by selecting the most relevant predictor variables and response variable, utilizing the Screening platform in JMP.
Code:
// Screening
// Open data table
dt = Open("data_table.jmp");
// Screening
Screening(
Y( :Percent Reacted ),
X(
:Feed Rate, :Catalyst, :Stir Rate,
:Temperature, :Concentration
)
);
Code Explanation:
- Open data table.
- Run screening analysis.
- Specify response variable.
- List predictor variables.
Example 5
Summary: Screens a data table for regression analysis using the Screening platform in JMP, defining response and factor variables before performing the screening analysis.
Code:
// Screening
// Open data table
dt = Open("data_table.jmp");
// Screening
Screening(
Y( :Number Popped, :Total Kernels ),
X( :Brand, :Time, :Power )
);
Code Explanation:
- Open data table.
- Define response variables.
- Define factor variables.
- Perform screening analysis.
Example 6
Summary: Screens a data table for regression analysis, selecting the Odor variable as the response and including temp, gl ratio, and ht as factors.
Code:
// Screening
// Open data table
dt = Open("data_table.jmp");
// Screening
Screening(
Y( :Odor ),
X( :temp, :gl ratio, :ht )
);
Code Explanation:
- Open data table.
- Launch Screening platform.
- Set Odor as response variable.
- Include temp, gl ratio, ht as factors.
- Perform screening analysis.
Example 7
Summary: Screens a data table using the Screening platform in JMP, selecting variables for analysis and specifying the response variable.
Code:
// Screening
// Open data table
dt = Open("data_table.jmp");
// Screening
Screening(
Y( :Y ),
X(
:X1, :X2, :X3, :X4, :X5, :X6, :X7,
:X8, :X9, :X10, :X11, :X12, :X13,
:X14, :X15, :X16, :X17, :X18
)
);
Code Explanation:
- Open table.
- Run screening analysis.
- Specify response variable.
- List predictor variables.
- Execute analysis.
Example 8
Summary: Screens a data table for regression analysis by selecting the Log Life (×100) response variable and multiple predictor variables, including Initial Structure, Bead Size, Pressure Treatment, Heat Treatment, Cooling Rate, Polish, Final Treatment, ε1, ε2, ε3, and ε4.
Code:
// Screening
// Open data table
dt = Open("data_table.jmp");
// Screening
Screening(
Y( :"Log Life (√ó100)"n ),
X(
:Initial Structure, :Bead Size,
:Pressure Treatment,
:Heat Treatment, :Cooling Rate,
:Polish, :Final Treatment, :ε1,
:ε2, :ε3, :ε4
)
);
Code Explanation:
- Open table.
- Launch screening analysis.
- Set response variable.
- Add predictor variables.
Example 9
Summary: Runs a screening analysis to visualize the relationship between response variable Percent Reacted and predictor variables Feed Rate, Catalyst, Stir Rate, Temperature, and Concentration.
Code:
dt1 = Open("data_table.jmp");
dt1 << Screening(
Y( :Percent Reacted ),
X( :Feed Rate, :Catalyst, :Stir Rate, :Temperature, :Concentration ),
SendToReport( Dispatch( {}, "Half Normal Plot", OutlineBox, {Close( 1 )} ) )
);
Code Explanation:
- Open table.
- Launch screening analysis.
- Set response variable.
- Add predictor variables.
- Close half normal plot.
Example 10
Summary: Runs a screening analysis to identify the most relevant factors in predicting Percent Reacted, using Feed Rate, Catalyst, Stir Rate, Temperature, and Concentration as independent variables.
Code:
dt under test = Open("data_table.jmp");
obj = Screening( Y( :Percent Reacted ), X( :Feed Rate, :Catalyst, :Stir Rate, :Temperature, :Concentration ) );
Code Explanation:
- Open data table.
- Define dependent variable.
- Define independent variables.
- Perform screening analysis.
Example 11
Summary: Runs a screening analysis to visualize the relationship between response variable Percent Reacted and predictor variables Feed Rate, Catalyst, Stir Rate, Temperature, and Concentration.
Code:
dt under test = Open("data_table.jmp");
obj = Screening(
Y( :Percent Reacted ),
X( :Feed Rate, :Catalyst, :Stir Rate, :Temperature, :Concentration ),
SendToReport( Dispatch( {}, "Half Normal Plot", OutlineBox, {Close( 1 )} ) )
);
Code Explanation:
- Open data table;
- Assign dataset to variable.
- Launch Screening platform.
- Set response variable.
- Add predictor variables.
- Customize report settings.
- Close Half Normal Plot.
Example 12
Summary: Runs a screening analysis to identify relevant predictor variables for the Weight response variable in the data table, utilizing the Screening platform and Log Capture button click.
Code:
dt = Open("data_table.jmp");
obj = Screening( Y( :Weight ), X( :Country, :Type, :Turning Circle ) );
Log Capture( (obj << report)[Button Box( 2 )] << click );
Code Explanation:
- Open data table.
- Perform screening analysis.
- Set response variable.
- Define predictor variables.
- Log capture button click.
Screening using Expr
Summary: Runs the fitting process for a screening model by defining an expression with Screening and executing it on a data table.
Code:
dt = Open("data_table.jmp");
fitTLSExpr = Expr(
Screening( Y( :Percent Reacted ), X( :Feed Rate, :Catalyst, :Stir Rate, :Temperature, :Concentration ) )
);
fitTLSExpr;
Code Explanation:
- Open data table.
- Define fitting expression.
- Execute fitting expression.