make_pelogit_fnc {VWPre}R Documentation

Create function for back-transforming empirical logits to proportions

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

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

## Not run: 
library(VWPre)
# Make backtransformation function
pelogit <- make_pelogit_fnc(20, 0.5)

## End(Not run) 

[Package VWPre version 1.2.4 Index]