Weighted R Square for WGEE
Calculate the weighted R^2 (missing longitudinal information criterion) for selection of mean model.
WRsquare.gee(object, weight_mean)
object |
a fitted model object of class |
weight_mean |
logical; whether weighted mean of the response should be used for weighted R square. |
Return a list of weighted R square.
Zheng Li, Cong Xu and Ming Wang
Nelder, J.A. and Baker, R.J., 1972. Generalized linear models. Encyclopedia of statistical sciences.
data(imps) fit <- wgee(Y ~ Drug+Sex+Time, data=imps, id=imps$ID, family="binomial", corstr="exchangeable",scale=NULL,mismodel= R ~ Drug+Time) WRsquare.gee(fit, weight_mean=TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.