model.tables.lmm: Statistical Inference and parametrization of a Linear Mixed...

View source: R/model.tables.R

model.tables.lmmR Documentation

Statistical Inference and parametrization of a Linear Mixed Model

Description

Export estimated parameters with their uncertainty (standard errors, degrees-of-freedom, confidence intervals and p-values) from a linear mixed model or a table describing each parameter (type, associated sigma or k parameter, ...).

Usage

## S3 method for class 'lmm'
model.tables(
  x,
  level = 0.95,
  effects = NULL,
  robust = FALSE,
  null = NULL,
  columns = NULL,
  df = NULL,
  type.information = NULL,
  transform.sigma = NULL,
  transform.k = NULL,
  transform.rho = NULL,
  transform.names = TRUE,
  backtransform = NULL,
  simplify = TRUE,
  ...
)

Arguments

x

a lmm object.

level

[numeric,0-1] the confidence level of the confidence intervals.

effects

[character] Should the CIs/p-values for all coefficients be output ("all"), or only for mean coefficients ("mean" or "fixed"), or only for variance coefficients ("variance"), or only for correlation coefficients ("correlation"). Alternatively can be "param" to output the name and characteristics of each parameter (type, strata, ...).

robust

[logical] Should robust standard errors (aka sandwich estimator) be output instead of the model-based standard errors. Can also be 2 compute the degrees-of-freedom w.r.t. robust standard errors instead of w.r.t. model-based standard errors.

null

[numeric vector] the value of the null hypothesis relative to each coefficient.

columns

[character vector] Columns to be output. Can be any of "estimate", "se", "statistic", "df", "null", "lower", "upper", "p.value".

df

[logical] Should a Student's t-distribution be used to model the distribution of the coefficient. Otherwise a normal distribution is used.

type.information, transform.sigma, transform.k, transform.rho, transform.names

are passed to the vcov method. See details section in coef.lmm.

backtransform

[logical] should the variance/covariance/correlation coefficient be backtransformed?

simplify

[logical] omit from the output the backtransform attribute. Not relevant when the argument effects="param",

...

Not used. For compatibility with the generic method.

Details

When effects differs from "param", this function is a wrapper for confint with different default value for the argument column.

Value

A data.frame object.


bozenne/repeated documentation built on July 16, 2025, 11:16 p.m.