Learn R Programming

lboxcox (version 1.2)

median_effect: Calculates the "slope" of the Logistic Box-Cox model

Description

Calculates a number that represents the overall gradient measurement between the predictor and log-odds of the risk

Calculates a number that represents the overall gradient measurement between the predictor and log-odds of the risk

Usage

median_effect(formula, weight_column_name, data, trained_model)

median_effect(formula, weight_column_name, data, trained_model)

Arguments

formula

the formula used to train the logistic box-cox model

weight_column_name

the name of the column in `data` containing the survey weights

data

dataframe containing the dataset to train on

trained_model

the already trained model. The output of `lbc_train`