powered by
Function to estimate the subgroup log-odds ratio for binary data.
lor_estimation(x_subg, dummy_subg, est_coef)
Log-odds ratio of the studied subgroup.
(matrix) the matrix with the subgroup covariates.
matrix
(matrix) the dummy matrix with the subgroup covariates.
(matrix) the estimated coefficients from the fitted model.
lor_estimation(design_matrix1, design_dummy1, est_coef_bin1)
Run the code above in your browser using DataLab