| Statistics Toolbox™ | ![]() |
nlintool(X,y,fun,beta0)
nlintool(X,y,fun,beta0,alpha)
nlintool(X,y,fun,beta0,alpha,'xname','yname')
nlintool(X,y,fun,beta0) is a graphical user interface to the nlinfit function, and uses the same input arguments. The interface displays plots of the fitted response against each predictor, with the other predictors held fixed. The fixed values are in the text boxes below each predictor axis. Change the fixed values by typing in a new value or by dragging the vertical lines in the plots to new positions. When you change the value of a predictor, all plots update to display the model at the new point in predictor space. Dashed red curves show 95% global confidence intervals for predictions.
nlintool(X,y,fun,beta0,alpha) shows 100(1-alpha)% confidence intervals for predictions.
nlintool(X,y,fun,beta0,alpha,'xname','yname') labels the plots using the string matrix 'xname' for the predictors and the string 'yname' for the response.
The data in reaction.mat are partial pressures of three chemical reactants and the corresponding reaction rates. The function hougen implements the nonlinear Hougen-Watson model for reaction rates. The following fits the model to the data:
load reaction nlintool(reactants,rate,@hougen,beta,0.01,xn,yn)

![]() | nlinfit | nlparci | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |