emplogit: Emperical logit

Description Usage Arguments Details

Description

Given two vectors (success and N), calculate the emperical logistc. This is used to deal with cases when success/N equals 0 or 1.

Usage

1
emplogit(success, N, epsilon = NULL)

Arguments

success

numeric vector. Binomial successes

N

numeric vector. Same length as success. Represents the number of binomial trials

epsilon

numeric. Offset value for instances where success/N are equal to 0 or 1. If left NULL, the function defaults to 1/2 the minimum observed value

Details

This stack exchange explains the process: http://stats.stackexchange.com/questions/109702/empirical-logit-transformation-on-percentage-data


dahcase/mbgstacking documentation built on May 20, 2019, 4:08 p.m.