multivariate regression coefficients add up to one
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, friend,
I am working on a constrained regression, of which I regress Y on several variables. But I need the sum of regression coefficients is one. would you please advise me how to proceed?
thanks
0 comentarios
Respuesta aceptada
the cyclist
el 25 de Jul. de 2013
Editada: the cyclist
el 25 de Jul. de 2013
I think your best bet would be to use the Statistics Toolbox function nlinfit() to do this. Then, you can explicitly define your coefficients in a way that they sum to 1.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear Regression en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!