Learn R Programming

umx (version 4.0.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"),
  baseFileName = "tmp_gxe",
  tryHard = c("no", "yes", "ordinal", "search"),
  ...
)

Arguments

model

An mxModel() to reduce.

report

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

baseFileName

(optional) custom filename for html output (defaults to "tmp").

tryHard

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

...

Other parameters to control model summary.

Value

best model

References

  • Wagenmakers, E.J., & Farrell, S. (2004). AIC model selection using Akaike weights. Psychonomic Bulletin and Review, 11, 192-196. doi:.

See Also

umxReduceACE(), umxReduce()

Other Twin Reporting Functions: umxPlotCP(), umxPlotDoC(), umxReduceACE(), umxReduce(), umxSummarizeTwinData(), umxSummaryACEcov(), umxSummaryACEv(), umxSummaryACE(), umxSummaryCP(), umxSummaryDoC(), umxSummaryGxEbiv(), umxSummaryGxE(), umxSummaryIP(), umxSummarySexLim(), umxSummarySimplex(), umx

Examples

Run this code
# NOT RUN {
model = umxReduce(model)
# }

Run the code above in your browser using DataLab