multivariate regression coefficients add up to one
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
the cyclist
le 25 Juil 2013
Modifié(e) : the cyclist
le 25 Juil 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Linear Regression dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!