lor_estimation: Estimation of Log-Odds Ratio

View source: R/lOR_estimation.R

lor_estimationR Documentation

Estimation of Log-Odds Ratio

Description

Function to estimate the subgroup log-odds ratio for binary data.

Usage

lor_estimation(x_subg, dummy_subg, est_coef)

Arguments

x_subg

(matrix)
the matrix with the subgroup covariates.

dummy_subg

(matrix)
the dummy matrix with the subgroup covariates.

est_coef

(matrix)
the estimated coefficients from the fitted model.

Value

Log-odds ratio of the studied subgroup.

Examples

lor_estimation(design_matrix1, design_dummy1, est_coef_bin1)

bonsaiforest documentation built on Sept. 30, 2024, 9:46 a.m.