MLE_linear: MLE estimator for linear regression with binary...

Description Usage Arguments Value

View source: R/ccer.r

Description

This functions takes binary classification as independent variables, apply MLE estimator, and returned corrected coefficient estimates.

Usage

1
MLE_linear(formula, data, predicted_col_name, ppv = 0, npv = 0)

Arguments

formula

R formula, such as y ~ x

data

a data.frame object

predicted_col_name

string or integer indicating the column of the variable that is predicted

ppv

positive predicted value

npv

negative predicted value

Value

a dataframe contining estimated values, standard errors, z values and p values


philohistoria/CCER documentation built on Dec. 22, 2021, 7:50 a.m.