I'm using the function svyVGAM::svy_vglm
to run a multinomial model with survey weights:
mmodel <- svy_glm(y~x1+x2+x3+x4..., family=multinomial, design=w_data)
where x
represent categorical variables, some with three or more levels. Through model summary, I can know the p-value for each coefficient, but I don't know how to get the p-value for the global variable.
In other contexts, anova()
, waldtest()
, lrtest()
, ... could be used, but none of them seem to work with svy_vglm objects. tbl_regression
does not work either: Error: No tidy method for objects of class svy_vglm
.
Any help?
Thanks