Lmat: Generate a hypothesis matrix

View source: R/wald.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.

Usage

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


gmonette/spida2 documentation built on Aug. 11, 2024, 7:52 p.m.