Learn R Programming

umx (version 4.20.0)

umxReduceGxE: Reduce a GxE model.

Description

This function can perform model reduction for umxGxE() models, testing dropping a,c & e, as well as c & c, a & a` etc.

It reports the results in a table. Set the format of the table with umx_set_table_format(). Or set report = "html" to open a table for pasting into a word processor.

In addition to printing a table, the function returns the preferred model.

Usage

umxReduceGxE(
  model,
  report = c("markdown", "inline", "html", "report"),
  intervals = TRUE,
  baseFileName = "tmp_gxe",
  tryHard = c("yes", "no", "ordinal", "search"),
  silent = FALSE,
  ...
)

Value

best model

Arguments

model

A umxGxE() to reduce.

report

How to report the results. default = "markdown". "html" = open in browser.

intervals

Recompute CIs (if any included) on the best model (default = TRUE)

baseFileName

(optional) custom filename for html output (default = "tmp").

tryHard

Default ('no') uses normal mxRun. "yes" uses mxTryHard. Other options: "ordinal", "search"

silent

Default (FALSE)

...

Other parameters to control model summary.

References

  • Wagenmakers, E.J., & Farrell, S. (2004). AIC model selection using Akaike weights. Psychonomic Bulletin and Review, 11, 192-196. tools:::Rd_expr_doi("10.3758/BF03206482").

See Also

umxReduce(), umxReduceACE()

Other Twin Modeling Functions: power.ACE.test(), umxACEcov(), umxACEv(), umxACE(), umxCP(), umxDiffMZ(), umxDiscTwin(), umxDoCp(), umxDoC(), umxGxE_window(), umxGxEbiv(), umxGxE(), umxIP(), umxMRDoC(), umxReduceACE(), umxReduce(), umxRotate.MxModelCP(), umxSexLim(), umxSimplex(), umxSummarizeTwinData(), umxSummaryACEv(), umxSummaryACE(), umxSummaryDoC(), umxSummaryGxEbiv(), umxSummarySexLim(), umxSummarySimplex(), umxTwinMaker(), umx

Examples

Run this code
if (FALSE) {
model = umxReduce(model)
}

Run the code above in your browser using DataLab