Lmat: Generate a hypothesis matrix

View source: R/wald.R View source: R/wald-lrt.R

LmatR Documentation

Generate a hypothesis matrix

Description

Generates a hypothesis matrix to test whether a group of coefficients in a linear model are jointly zero, selecting the coefficients that match a regular expression.

Generates a hypothesis matrix to test whether a group of coefficients in a linear model are jointly zero, selecting the coefficients that match a regular expression.

Usage

Lmat(fit, pattern, fixed = FALSE, invert = FALSE, debug = FALSE)

Lmat(fit, pattern, fixed = FALSE, invert = FALSE, debug = FALSE)

Arguments

fit

a fitted object with a getFix method.

pattern

a regular expression that matches names of coefficients

Value

hypothesis matrix to test the hypothesis that the true values of matched coefficients are zero

hypothesis matrix to test the hypothesis that the true values of matched coefficients are zero


gmonette/spida2 documentation built on June 12, 2025, 9:44 p.m.