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

View source: R/lboxcox_maxLik.R View source: R/lboxcox.R

median_effectR Documentation

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'


lboxcox documentation built on May 29, 2024, 5:48 a.m.