Setting weights for robustfit command.

9 visualizaciones (últimos 30 días)
Janis
Janis el 10 de En. de 2013
I'd like to do a weighted least squares regression using the "robustfit" command, but I want to create my own variable of weights and not use one of the set weighting functions. Is this possible?
Thanks in advance, Janis

Respuesta aceptada

Tom Lane
Tom Lane el 11 de En. de 2013
If you want to specify the weights yourself, I recommend using glmfit or LinearModel instead of robustfit.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by