Running the Analysis
- To run a Nonlinear Regression analysis, from
the menus choose:
Figure 1. Nonlinear
Regression main dialog box
- Select Detrended sales as the dependent variable.
- Type b1 + b2*exp(b3*advert) as the model expression.
- Click Parameters....Figure 2. Parameters dialog
box
- Type b1 as the parameter name.
- Type 13 as the starting value.
- Click Add.
- Type b2 as the parameter name.
- Type -6 as the starting value.
- Click Add.
- Type b3 as the parameter name.
- Type -1.33 as the starting value.
- Click Add.
- Click Continue.
- Click Constraints in the Nonlinear Regression dialog box.
Figure 3. Constraint
dialog box
- Select Define parameter constraint.
- Select b1 as the parameter to
be constrained.
- Select >= from the dropdown list.
- Type 0 as the constraint.
- Click Add.
- Select b2 as the parameter to be constrained.
- Select <= from the dropdown list and type 0 as the constraint.
- Click Add.
- Select b3 as the parameter to be constrained.
- Select <= from
the dropdown list and type 0 as
the constraint.
- Click Add.
- Click Continue.
Figure 4. Warning dialog
box
- Click OK in the warning.
The sequential quadratic programming algorithm will be used instead.
- Click Save in
the Nonlinear Regression dialog box.
Figure 5. Save dialog box
- Select Predicted values and Residuals.
- Click Continue.
- Click OK in the Nonlinear Regression dialog box.
Next