tjur: tjur

View source: R/tjur.R

tjurR Documentation

tjur

Description

Calculate Tjur's Statistic

Usage

tjur(data, variable = "RESPONSE_CD", pred.prob = "PRED")

Arguments

data

is a data frame

variable

is the name of the binary response variable

pred.prob

is the predicted probability

Details

Calculates Tjur's statistic for predictions from a binary model

Examples

tjur(data = model.data, variable = "RESPONSE_CD", pred.prob = "PRED")


familyforestresearchcenter/nwos documentation built on April 12, 2025, 11:54 a.m.