Nonlinear Design
Example 1
Summary: Creates a nonlinear design by specifying response and model variables, then closes the design window.
Code:
dt = Open("data_table.jmp");
d = Nonlinear Design( Y( :Observed Yield ), X( :Yield Model ) );
d << close window;
Code Explanation:
- Open data table.
- Define nonlinear design.
- Specify response variable.
- Specify model variable.
- Close design window.
Example 2
Summary: Creates and displays a nonlinear design window in JMP, utilizing the Nonlinear Design platform.
Code:
dt = Open("data_table.jmp");
d = Nonlinear Design();
d = Window( "Nonlinear Design" );
Code Explanation:
- Open table.
- Create nonlinear design.
- Display nonlinear design window.
Example 3
Summary: Creates a nonlinear design and generates a new data table from the specified response variable and model variables.
Code:
dt = Open("data_table.jmp");
d = Nonlinear Design( Y( :Observed Yield ), X( :Yield Model ) );
dtNew = d << Make Table;
Code Explanation:
- Open data table.
- Create nonlinear design.
- Specify response variable.
- Specify model variables.
- Generate new data table.
Nonlinear Design using Collapse Whitespace
Summary: Creates a nonlinear design with specified response and predictor variables, capturing log output and collapsing whitespace.
Code:
dt = Open("data_table.jmp");
lc = Collapse Whitespace( Log Capture( d = Nonlinear Design( Y( :height ), X( :weight ) ) ) );
Code Explanation:
- Open data table.
- Capture log output.
- Create nonlinear design.
- Specify response variable.
- Specify predictor variable.
- Collapse whitespace in log.
- Assign result to variable.