update_beta: Function for updating betas

View source: R/update_beta.R

update_betaR Documentation

Function for updating betas

Description

Function for updating betas

Usage

update_beta(probs, covariate, firth = TRUE)

Arguments

probs

outcomes p; probability between 0 and 1

covariate

n x p matrix; this is the matrix for the primary predictor/covariate of interest

firth

use firth penalty? Default is TRUE.

Value

vector of estimated betas


statdivlab/happi documentation built on April 19, 2024, 2:04 a.m.