Skip to contents

be_extract_param() turns a be_fit_model_single() fit into the parameters the regulatory decision needs. It always computes the intra-subject-contrast (ISC) point estimate and the FDA within-formulation standard deviations, then dispatches on the model type to extract the model-based geometric means, the geometric mean ratio and its confidence interval, and the model's within-formulation standard deviations.

Usage

be_extract_param(fit, ds_ep, alpha = 0.1)

Arguments

fit

A be_fit object from be_fit_model_single().

ds_ep

The standardized single-endpoint data.frame from be_dataset().

alpha

The significance level; the confidence interval has level 1 - alpha.

Value

A data.frame with one row per test formulation, carrying the model and ISC point estimates/intervals (with isc_n, the number of subjects in the intra-subject contrasts), geometric means, and within-formulation variances: swr, swt, cvwr_percent, cvwt_percent, df_wr, df_wt, sw_ratio, and sw_ratio_ci_upper from the model's estimator, and the same columns prefixed isc_ from the FDA estimator (see be_within_var()).