| Statistics Toolbox | Search  Help Desk |
| nlparci | Examples See Also |
Confidence intervals on estimates of parameters in nonlinear models.
Syntax
ci = nlparci(beta,r,J)
Description
nlparci(beta,r,J) returns the 95% confidence interval ci on the nonlinear least squares parameter estimates beta, given the residuals, r, and the Jacobian matrix ,J, at the solution. The confidence interval calculation is valid for systems where the number of rows of J exceeds the length of beta.
nlparci uses the outputs of nlinfit for its inputs.
Example
Continuing the example fromnlinfit:
load reaction [beta,resids,J] = nlinfit(reactants,rate,'hougen',beta); ci = nlparci(beta,resids,J) ci = -1.0798 3.3445 -0.0524 0.1689 -0.0437 0.1145 -0.0891 0.2941 -1.1719 3.7321
See Also
nlinfit,nlintool,nlpredci