nlparci
Nonlinear regression parameter confidence intervals
Syntax
Description
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
- nlparcitreats- NaNvalues in the residuals- r, or the Jacobian- Jas 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 coefficients- beta, and the Jacobian- Jhas full column rank. When- Jis 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
