compareModels: Compare two logistic/probit regression coefficient using...

Description Usage Arguments Details

View source: R/compareModels.R

Description

Compare two logistic/probit regression coefficient using different methods.

Usage

1
2
3
coefChange(reduced, full, method = "ystand", ratio.type = "perc", R = 1)

compareModels(reduced, full, method = "ystand", ratio.type = "perc")

Arguments

R

Integer. If larger than 1, confidence interval of the change are computed using bootstrap.

reduced

The reduced model.

full

The full model

method

Character. The method used to compare coefficients (see details).

ratio.type

Character specifying how to compare the coefficients. This should be one of "perc" (percentage change between the two models), "ratio" (coefficient of the reduced model divided the coefficient of the full one) or "diff" (difference between the two models).

Details

The compareModels function compares the coefficients of two logistic/probit regressions using different methods.

The coefChange function only compute the change of coefficients using either the percentage of change or the ratio of change. It can also compute confidence intervals of this change using bootstrapping.


khb documentation built on May 21, 2017, 1:13 a.m.

Search within the khb package
Search all R packages, documentation and source code