There is no argument 'test' to anova.clm hence the error message.
The likelihood ratio statistic (or, alternatively, G^2 statistic or
Deviance statistic) has an asymptotic chi-square distribution, so it
is the size of that statistic your reviewers are asking for. It is
printed in the anova output
Torvon,
There is some confusion in your postings, as in your first posting the models
were GLM's but with the default gaussian family (not binomial) since the
'family' argument was not present in the glm() call and in the second post you
have references to clm() which is for ordinal response cu
Hi Eiko,
How about this?
> anova (m1, m2, test="Chisq")
See: ?anova.glm
Regards,
José
Prof. José Iparraguirre
Chief Economist
Age UK
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Torvon
Sent: 11 September 2013 16:48
To: r-
José,
I get the following error message:
> m1<-clm(sym_bin ~ phq_index, data=data2)
> m2<-clm(sym_bin ~ 1, data=data2)
> anova(m1,m2,test="Chisq")
> Error in anova.clm(m1, m2, test = "Chisq") :
> only 'clm' and 'clmm' objects are allowed
My dependent variable is binary, so I don't know what th
4 matches
Mail list logo