nlparci
Nonlinear regression parameter confidence intervals
Syntax
Description
returns the 95% confidence intervals ci = nlparci(beta,r,"Covar",CovB)ci for the nonlinear least-squares
parameter estimates beta. Before calling nlparci, get
the estimated coefficients beta, residuals r, and
estimated covariance matrix CovB by using the nlinfit function to fit a nonlinear regression model.
If you use a robust option with nlinfit, you must use this syntax for
nlparci. The covariance matrix CovB is required
with robust fitting.
Examples
Input Arguments
Output Arguments
Algorithms
nlparcitreatsNaNvalues in the residualsr, or the JacobianJas missing values, and ignores the corresponding observations.The confidence interval calculation is valid for systems where the length of the residuals
rexceeds the length of the coefficientsbeta, and the JacobianJhas full column rank. WhenJis ill-conditioned, the confidence intervals might be inaccurate.
Alternative Functionality
You can also get the confidence intervals by using the fitnlm function instead of nlinfit and the coefCI function instead of nlparci.
Version History
Introduced before R2006a
