Overall fir of binomial general linear model

조회 수: 1 (최근 30일)
Sylwia Kaduk
Sylwia Kaduk 2020년 5월 7일
댓글: Sylwia Kaduk 2020년 5월 12일
Hello,
I want to test a binomial model predicting binary variable with a number of physiological variables. Physiological variables are stored in the matrix ECGRClog. The dependent variable takes values 0- for participant did not detect the stimulus, and 1- participant detected the stimulus.
I used the following command: [b,dev,stats]=glmfit(ECGRClog,RC01,'binomial','logit')
It gave me number of statistics for the coefficients, but I don't know how to assess overall significance and predictive power of the model. Can I deduct it from the stats that I've received or do I need to add additional analysis? How can I get something like overall p-value or adjusted r-squared?
Many thanks for any tips

채택된 답변

Jeff Miller
Jeff Miller 2020년 5월 8일
People don't normally test the overall significance of these models. Instead, they look at the significance of the individual predictors, which is reported in the vector of 'p' values in the 'stats' output. If any of the predictors are significant, then the model is.
I suppose you could use a sign test if you wanted an overall p value for the model as a whole, counting correct predictions as positive and incorrect predictions as negatives. But the null hypothesis would be that the overall model predicts no better than chance, which is a pretty low bar.
  댓글 수: 3
Jeff Miller
Jeff Miller 2020년 5월 8일
I don't know about that. You could simply report the percentage of correct predictions which is conceptually similar to an unadjusted r-squared. I suppose you could get an adjusted PC with a leave-out-one technique.
Sylwia Kaduk
Sylwia Kaduk 2020년 5월 12일
I really appreciate the advice. Thanks a lot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by