Description Usage Arguments Value Examples
This function generates the simultaneous aMNLFA model from all the initial inputs.
1 | aMNLFA.prune(input.object)
|
input.object |
The aMNLFA object (created using the aMNLFA.object function) which provides instructions for the function. |
A list (entitled summary) with the following elements:
indicators a list of indicators as specified by the user in the aMNLFA.object()
measinvar a list of measurement invariance variables as specified by the user in the aMNLFA.object()
meanimpact parameter values, standard errors, test statistics, and p. values for all mean impact effects tested in the simultaneous model
varimpact parameter values, standard errors, test statistics, and p. values for all variance impact effects tested in the simultaneous model
loadingDIF parameter values, standard errors, test statistics, and p. values for all loading DIF effects tested in the simultaneous model. Also includes critical values for different corrections according to the number of tests, m: Benjamini-Hochberg or Bonferroni with m defined as the actual number of tests included in the model (BH.actual and bon.actual, respectively); Benjamini-Hochberg or Bonferroni with m defined as the number of items times the number of covariates (BH.ibc and bon.ibc, respectively).
interceptDIF If thresholds = FALSE in the corresponding aMNLFA.object: parameter values, standard errors, test statistics, and p. values for all intercept DIF effects tested in the simultaneous model. Also includes critical values for different corrections according to the number of tests, m: Benjamini-Hochberg or Bonferroni with m defined as the actual number of tests included in the model (BH.actual and bon.actual, respectively); Benjamini-Hochberg or Bonferroni with m defined as the number of items times the number of covariates (BH.ibc and bon.ibc, respectively).
tDIF_highest If thresholds = TRUE in the corresponding aMNLFA.object: parameter values, standard errors, test statistics, and p. values for all threshold DIF effects tested in the simultaneous model, with tests performed only on the category with the largest test statistic for each item. Also includes critical values for different corrections according to the number of tests, m: Benjamini-Hochberg or Bonferroni with m defined as the actual number of tests included in the model (BH.actual and bon.actual, respectively); Benjamini-Hochberg or Bonferroni with m defined as the number of items times the number of covariates (BH.ibc and bon.ibc, respectively).
tDIF_all If thresholds = TRUE in the corresponding aMNLFA.object: parameter values, standard errors, test statistics, and p. values for all threshold DIF effects tested in the simultaneous model, with tests performed on all categories for each item. Also includes critical values for different corrections according to the number of tests, m: Benjamini-Hochberg or Bonferroni with m defined as the actual number of tests included in the model (BH.actual and bon.actual, respectively); Benjamini-Hochberg or Bonferroni with m defined as the number of items times the number of covariates (BH.ibc and bon.ibc, respectively).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | wd <- tempdir()
first<-paste0(system.file(package='aMNLFA'),"/extdata")
the.list <- list.files(first,full.names=TRUE)
file.copy(the.list,wd,overwrite=TRUE)
ob <- aMNLFA::aMNLFA.object(dir = wd,
mrdata = xstudy,
indicators = paste0("BIN_", 1:12),
catindicators = paste0("BIN_", 1:12),
meanimpact = c("AGE", "GENDER", "STUDY"),
varimpact = c("AGE", "GENDER", "STUDY"),
measinvar = c("AGE", "GENDER", "STUDY"),
factors = c("GENDER", "STUDY"),
ID = "ID",
thresholds = FALSE)
aMNLFA.prune(ob)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.