Extract bioequivalence parameters from a fitted model
Source:R/bioequivalence.R
be_extract_param.Rdbe_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.
Arguments
- fit
A
be_fitobject frombe_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()).
See also
Other Bioequivalence:
be_assess(),
be_compare(),
be_dataset(),
be_design(),
be_expand_limits(),
be_fit_model_single(),
be_fit_models(),
be_regulator(),
be_table(),
be_within_var()