get_beta_estimates: Calculate Coefficient Estimates from Linear Model Input

get_beta_estimatesR Documentation

Calculate Coefficient Estimates from Linear Model Input

Description

Calculate the coefficient estimates for each treatment arm from the linear model input data.

Usage

h_get_beta_estimates(lm_input)

h_get_strat_beta_estimates(strat_lm_input)

Arguments

lm_input

(list) A list containing the linear model input data for each treatment arm, as returned by h_get_lm_input().

strat_lm_input

(list) A list of lists, one for each stratum, containing the linear model input data for each treatment arm, as returned by h_get_strat_lm_input().

Value

A list containing the coefficient estimates for each treatment arm.

Functions

  • h_get_beta_estimates(): Calculate the coefficient estimates for the overall data set.

  • h_get_strat_beta_estimates(): Calculate the coefficient estimates using the stratified input.


RobinCar2 documentation built on Sept. 9, 2025, 5:28 p.m.