wald_test: wald_test

View source: R/models_utils.R

wald_testR Documentation

wald_test

Description

wald_test

Usage

wald_test(x, h0 = 0, btt = NULL, alternative = "two.sided", alpha = 0.05)

Arguments

x

a model. Currently supported classes are 'lmerMod', 'glmerMod', 'lm' and 'glm'

h0

a vector of null hypothesis, default to 0

btt

vector of coefficents names to test. Default to 'NULL' (all coefficients)

alternative

character indicating the side of the hypothesis

alpha

the alpha level, default to 0.05

Value

a dataframe

Examples

fit <- lm(Sepal.Lenght ~ Species, data = iris)
wald_test(fit)

filippogambarota/filor documentation built on July 3, 2025, 8:39 p.m.