Any MATLAB functions for prediction index and Brier score
3 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I have 3 groups (group A, B, and C) and I've performed logistic regression between group A&B, and A&C. My outcome measurements are beta values and risk and I would like to calculate a prediction index and afterwards use Brier scores.
Are there any MATLAB code for any of these calculations?
Thanks a lot,
Eric
0 个评论
回答(1 个)
Rollin Baker
2017-4-12
Hi Eric,
MATLAB has quite a few options for your use case, particularly within the Statistics and Machine Learning Toolbox. The predict function is used to predict the response of linear regression models, and seems like a good fit for what you are trying to accomplish. The following page shows how to use the predict function:
Depending on how you are calculating Brier scores, you can use the built-in math operations to model them.
Good luck on your project!
-Rollin
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!