How to set a value to some of the coefficients in glmfit
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I want to use GLM to model the binary data. I have 3 different covariates, X1, X2 and X3. X1 is estimated with 14 basis functions and X2 and X3 are estimated with 10 basis functions. Hence I have 14+10+10=34 basis functions. When I run GLM I will get 35 coefficients (one extra is for the constant term). I want to be able to give an initial value to some of these coefficient and not allow GLM to change it, that is, I want GLM to estimate the remaining coefficients. Is there anyway to do this with glmfit or some other functions?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!