Any MATLAB functions for prediction index and Brier score

조회 수: 10 (최근 30일)
Eric
Eric 2017년 4월 8일
답변: Rollin Baker 2017년 4월 12일
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

답변 (1개)

Rollin Baker
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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by