Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

umxReduce

Reduce models, and report the results.


Description

Given a umx model (currently umxACE and umxGxE are supported - ask for more!) umxReduce will conduct a formalised reduction process. It will also report Akaike weights are also reported showing relative support across models.

Specialized functions are called for different type of input:

  1. GxE model reduction For umxGxE() models umxReduceGxE() is called.

  2. ACE model reduction For umxACE() models,umxReduceACE() is called.

umxReduce 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.

umxReduce is a work in progress, with more automatic reductions coming as demand emerges. I am thinking for RAM models to drop NS paths, and report that test.

Usage

umxReduce(
  model,
  report = c("markdown", "inline", "html"),
  intervals = TRUE,
  baseFileName = "tmp",
  tryHard = "yes",
  silent = FALSE,
  ...
)

Arguments

model

The mxModel() which will be reduced.

report

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

intervals

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

baseFileName

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

tryHard

Default = "yes"

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. doi: 10.3758/BF03206482

See Also

Other Model Summary and Comparison: umxCompare(), umxEquate(), umxMI(), umxSetParameters(), umxSummary(), umx


umx

Structural Equation Modeling and Twin Modeling in R

v4.10.10
GPL-3
Authors
Timothy C. Bates [aut, cre] (<https://orcid.org/0000-0002-1153-9007>), Gillespie Nathan [wit], Michael Zakharin [wit], Brenton Wiernik [ctb], Joshua N. Pritikin [ctb], Michael C. Neale [ctb], Hermine Maes [ctb]
Initial release
2021-11-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.