rmvarlogistic: Funció per fer LRT de reducció de models logístics

Description Usage Arguments Value

View source: R/rmvarlogistic.R

Description

Funció per fer LRT de reducció de models logístics

Usage

1
rmvarlogistic(model, max.effect.change = 0.2)

Arguments

model

a logistic model (an object of class "glm", usually, a result of a call to glm).

max.effect.change

a threshold to assess changes is betas when a variable is removed (see Hosmer-Lemeshow). Default value is 0.2 (more than 20% of change in betas is suspicious/confusion).

Value

A list with complete results: rmvar, proposed variable to be removed from the model (based on LRT); res, a table with complete results (all LRT performed); mod, a table indicating, for each removed variable, variables changing their effect more than max.effect.change; change, smart version of mod.


IRBLleida/UdBRpackage documentation built on Dec. 24, 2019, 9:10 p.m.