Description Usage Arguments Examples
Function to get Wald test p-value results
1 | WaldtestpV(object, shift = NULL, ...)
|
object |
anchorpoint object as produced by the function |
shift |
shift in item parameters for the second group, default NULL (for global optimum), else numeric (for user-defined shift) |
... |
further arguments for signif(x,...) (digits) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Load the SPISA data set (general knowledge quiz - more information at ?SPISA)
library("psychotree")
data("SPISA")
# Fit the Rasch Models for the two groups females and males
fit <- raschFit(SPISA, resp.mat.name='spisa', group.name='gender')
# Rasch Model fit for the first and second group
rm1 <- fit$rm1
rm2 <- fit$rm2
# Fit an Anchorpoint object
ap_object <- anchorpoint(rm1,rm2,select = "Gini Index", grid = "sparse")
# Obtain the Wald test p-values
WaldtestpV(ap_object)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.