フィルターのクリア

How to retrieve poisson regression model p-value

1 回表示 (過去 30 日間)
Olumide Abioye
Olumide Abioye 2017 年 7 月 19 日
回答済み: Milind Jain 2017 年 7 月 28 日
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
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

Community Treasure Hunt

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

Start Hunting!

Translated by