How to retrieve poisson regression model p-value
이전 댓글 표시
Can someone please help me with how I can retrieve the overall model p-value for a Poisson regression model in MATLAB. Thanks.
답변 (1개)
Milind Jain
2017년 7월 28일
This value is not directly stored in the generalized linear model object, but it can be accessed by performing a deviance test. The following code will give the desired value.
d = devianceTest(mdl);
d.pValue
For more details on using 'devianceTest' for your model you can refer to the documentation link below https://www.mathworks.com/help/stats/compactgeneralizedlinearmodel.deviancetest.html
카테고리
도움말 센터 및 File Exchange에서 Linear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!