RMSE of Weighted Nonlinear Regression
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I fit a nonlinear model with weight and without weight. Whilst there is an improvement in R-squared in the weighted model, its RMSE value is, unexpectedly, higher than that of the unweighted model. I did try to run the example code from Matlab click here, and realised that it also has the same 'problem'.
The Stats of Weighted Model, as given in the example:
Root Mean Squared Error: 24
R-Squared: 0.908, Adjusted R-Squared 0.885
The Stats of Unweighted Mode, which I found from the same set of data:
Root Mean Squared Error: 17.1
R-Squared: 0.88, Adjusted R-Squared 0.851
Can anyone explain the reason behind this?
0 comentarios
Respuestas (1)
Mukul Rao
el 21 de Jul. de 2017
Hi,
I believe the reason is that traditional weighted regression computes R-square based on transformed variables, the better R-square is indicative of weighting addressing the heteroskedastic nature of the data. However, ordinary least squares does give you the best possible RMSE, which is computed based on the original variables.
In fact, this paper talks about the very same issue.
Please read the bottom left paragraph on page 237 ( Inserted as an image here ).
0 comentarios
Ver también
Categorías
Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!