| umxRAM_GLM | R Documentation |
Standalone counterpart to umxRAM() for conditional exponential-family
manifests. Latents are anything in the paths that is not in data. Manifests
are anything in the paths (or in families) that is in data. Residual S
on family items is fixed at 0. An observed column used only as from (a
predictor) is not given residual S or a mean; the arrow uses that row's
value. Manifests not listed in families that have residual S are
Gaussian. Does not call mxRefModels() (no CFI yet).
umxRAM_GLM(
model = NA,
...,
data = NULL,
families = NULL,
theta = NULL,
nAGQ = NA_integer_,
name = NA,
autoRun = getOption("umx_auto_run"),
tryHard = c("no", "yes", "ordinal", "search"),
setValues = TRUE,
suffix = "",
verbose = FALSE
)
model |
a model name (character). Updating an existing model is not supported. |
... |
|
data |
a data.frame or raw |
families |
named list of |
theta |
optional named numeric (fixed) or character (free-parameter label) for NB size / Gamma shape / inverse-Gaussian lambda. |
nAGQ |
passed to |
name |
optional name; if |
autoRun |
whether to run (default |
tryHard |
|
setValues |
if TRUE, set start values (means by family; Gaussian residual variances from the data; GLM-item |
suffix |
passed to |
verbose |
currently unused; kept for umxRAM-like calling. |
an MxModel() (invisibly if autoRun prints a summary)
umxRAM(), mxFamily(), mxFitFunctionGLM()
Other Advanced Model Building Functions:
umx,
umxAlgebra(),
umxFixAll(),
umxJiggle(),
umxRun(),
umxThresholdMatrix(),
umxUnexplainedCausalNexus(),
xmuLabel(),
xmuValues()
## Not run:
set.seed(1)
dat = data.frame(y = rpois(80, lambda = exp(0.3)))
m1 = umxRAM_GLM("poi",
umxPath("one", to = "y"),
data = dat,
families = list(y = poisson()),
autoRun = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.