gen_binomial_anticoef: Generates Binomial Anticipated Coefficients

View source: R/gen_binomial_anticoef.R

gen_binomial_anticoefR Documentation

Generates Binomial Anticipated Coefficients

Description

Generates Binomial Anticipated Coefficients Solves the logistic function log(p / (1-p)) = beta0 + beta1 * x such that p = lowprob when x = -1, and p = highprob when x = +1. Equivalently, solves this set of equations for beta0 and beta1: log(lowprob / (1 - lowprob)) = beta0 - beta1 log(highprob / (1 - highprob)) = beta0 + beta1

Usage

gen_binomial_anticoef(anticoef, lowprob, highprob)

Arguments

anticoef

Anticipated coefficeints

lowprob

Default 0.50. The base probability

highprob

Default 0.80. The base probability

runmatrix

The Run Matrix

model

Base model

contrastslist

Contrasts

Value

Anticipated coefficients.


skpr documentation built on April 9, 2022, 1:06 a.m.