Local variables are most often used with Assignment functions, which can assign expressions to local variables that are used in a complex equation. (For details, see Assignment Functions in Formula Functions Reference.) This technique can sometimes simplify building an equation and improve the efficiency of its evaluation.
3.
|
Click the menu on the formula element browser and select Local Variables from the formula element browser menu.
|
4.
|
Click New Local Variable.
|
5.
|
Type a name for the local variable. By default, local variables have the names t0, t1, and so on, and have missing values.
|
7.
|
2.
|
Click the local variable name in the Local Variables list. It appears in the formula as a bold italic term.
|
Note: Another way to create local variables is to use the button on the Formula Editor keypad, which automatically creates and displays local variables and places a semicolon after it. See Add Operators, for details.
See Use Local Variables in a Formula, for an example of referencing local variables in a formula.
1.
|
In the sample data folder that was installed when you installed JMP, open the Nonlinear Examples folder and then US Population.jmp.
|
2.
|
3.
|
•
|
After completing a nonlinear fit or after using the Reset button in the nonlinear control panel, the parameter’s value is the most recent value computed by the nonlinear platform.
|
3.
|
4.
|
Click New Parameter.
|
5.
|
Type a name for the parameter. By default, parameters have the names b0, b1, and so on, and have missing values.
|
7.
|
(Optional) To add several parameters (one for each level of a categorical variable, for example) at once, select Expand into categories, selecting column. Then select the column for which you want to expand the parameter.
|
8.
|
Click OK.
|
9.
|
2.
|
Click the parameter name in the Parameters list. The parameter appears in the formula as bold type.
|