DelTestVar: Single variable deletion testing

Description Usage Arguments Value

Description

Tests for the significance of a single variable by deleting it from the model. The full model is then tested against the reduced model with F-tests and Chisquared-tests. Explained deviance per variable is computed by substracting the explained deviance from the reduced model (by ne variable) from the deviance explained by the full model.

Usage

1
DelTestVar(yX, family = "gaussian")

Arguments

yX

A data frame with the dependent variable in the first column and the independent variables in the following columns

family

Specifies glm type (e.g. "gaussian","binomial")

Value

Data frame with estimates, explained deviance, F-value, p-value (F-test), p-value (Chisq-test) per variable.


mastoffel/minmodelr documentation built on May 21, 2019, 12:43 p.m.