df_model_monitoring_magnitude: Identify the effect and magnitude of CramersVScore for Chi...

View source: R/df_model_monitoring_magnitude.R

df_model_monitoring_magnitudeR Documentation

Identify the effect and magnitude of CramersVScore for Chi Square goodness of fit tests

Description

Given a cramer's V score and degrees of freedom, this function will return one of four magnitudes to help identify whether a give feature's distribution has drifted from it's baseline.

Usage

df_model_monitoring_magnitude(CramersVScore, DegreesOfFreedom)

Arguments

CramersVScore

Required: The Cramer's V score for goodness of fit.

DegreesOfFreedom

Required: degrees of freedom from the ChiSquared test / number of bins - 1

Details

This function is called based on the assumption that a Chi Square goodness of fit has already been performed, as well as a Cramer's V test, and that the v score and degrees of freedom are available.

Value

The magnitude of Cramer's V score: negligible, low, moderate, or large


BrandonRCopeland/DataScience documentation built on Oct. 14, 2023, 9:45 a.m.