Description Usage Arguments Value Examples
Compute goodness-of-fit statistics for binary Randomized Response data. Pearson, Deviance and Hosmer-Lemeshow statistics are available.
1 2 3 4 5 6 7 8 |
RRglmOutput |
a model fitted with the |
doPearson |
compute Pearson statistic. |
doDeviance |
compute Deviance statistic. |
doHlemeshow |
compute Hosmer-Lemeshow statistic. |
hlemeshowGroups |
number of groups to split the data into for the Hosmer-Lemeshow statistic (default: 10). |
rm.na |
remove cases with missing data. |
an option of class RRglmGOF.
1 2 3 | out <- RRglm(response ~ Gender + RR + pp + age, link="RRlink.logit", RRmodel=RRmodel,
p1=RRp1, p2=RRp2, data=Plagiarism, etastart=rep(0.01, nrow(Plagiarism)))
RRglmGOF(RRglmOutput = out, doPearson = TRUE, doDeviance = TRUE, doHlemeshow = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.