model_comparison {dlim}R Documentation

Model Comparison

Description

Compare models to test for interaction

Usage

model_comparison(fit, null = "DLM", x, B, conf.level = 0.95)

Arguments

fit

dlim object (must be fit with REML)

null

"DLM", "linear" to specify the null model

x

exposure

B

number of bootstrap samples

conf.level

The confidence level (class "numeric")

Value

The function returns a decision to either reject or fail to reject the null model

See Also

Type vignette('dlimOverview') for a detailed description.

dlim


[Package dlim version 0.1.0 Index]