make_pelogit_fnc: Create function for back-transforming empirical logits to...

Description Usage Arguments Value Examples

View source: R/plotting.R

Description

make_pelogit_fnc creates a function that can transform empirical logit values back to probability scale using the number of samples and constant that were used in the original transformation. This function can then be use to backtransform value predicted by a statistical model.

Usage

1
make_pelogit_fnc(ObsPerBin = NULL, Constant = NULL)

Arguments

ObsPerBin

A positive integer indicating the number of observations used in the original transformation calculation.

Constant

A positive number used in the original transformation calculation.

Value

A function.

Examples

1
2
3
4
5
6
## Not run: 
library(VWPre)
# Make backtransformation function
pelogit <- make_pelogit_fnc(20, 0.5)

## End(Not run) 

VWPre documentation built on Jan. 11, 2020, 9:28 a.m.