rweGetBinInt: Get intercept for a binary outcome.

Description Usage Arguments Value

View source: R/rwe_simu.R

Description

The binary outcome may be an outcome or a treatment assignment.

Usage

1
rweGetBinInt(..., regCoeff, nPat = 5e+05, xbeta = NULL, bin.mu = 0.5)

Arguments

...

Parameters for simulating covariates by function rweXBeta and rweSimuCov

regCoeff

regression coefficients

nPat

number of patients

bin.mu

mean of the binary outcomes used to compute b0

Value

standard error or the random error term


olssol/rwetools documentation built on April 18, 2021, 11:42 a.m.