Borrar filtros
Borrar filtros

nlparci() resid length

1 visualización (últimos 30 días)
Darren Wethington
Darren Wethington el 24 de Jul. de 2020
Respondida: Star Strider el 24 de Jul. de 2020
The documentation for nlparci() says the following:
"The confidence interval calculation is valid for systems where the length of resid exceeds the length of beta and J has full column rank."
When fitting multiple curves simultaneously, does "length of resid" mean length(resid(:)) or length(resid)? For instance, if I have two curves of 4 data points each, does nlparci consider "length of resid" to be 8 or 4?

Respuestas (1)

Star Strider
Star Strider el 24 de Jul. de 2020
If you have two curves of 4 data points each, the length of resid is 4, since each curve will create 1 residual value of each data point.
The point is that the number of data points (as reflected by resid) must exceed the number of estimated parameters, beta, in order for the parameters to be estimated uniquely and for the confidence intervals to have any meaningful interpretation.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by