Rdocumentation
powered by
Learn R Programming
vtreat (version 0.5.16)
catScore: return a pseudo R-squared from a 1 variable logistic regression
Description
return a pseudo R-squared from a 1 variable logistic regression
Usage
catScore(x, yC, yTarget, weights = c())
Arguments
x
numeric (no NAs/NULLs) effective variable
yC
(no NAs/NULLs) outcome variable
yTarget
scalar target for yC to match (yC==tTarget is goal)
weights
(optional) numeric, non-negative, no NAs/NULLs at least two positive positions
Value
cross-validated pseudo-Rsquared estimate of a 1-variable logistic regression
See Also
hold1OutMeans