Description Usage Arguments Value
View source: R/calc_gam_star.R
A helper function for mv_pn_test, calculating the test statistic for both the vector of parameter estiamtes, and the draws from the corresponding estimated limiting distribution.
1  | calc_gam_star(obs_data, param_est, control, lm_dst = NULL, return_lmd = FALSE)
 | 
obs_data | 
 The observed data used to calculate the test statistic. Each row is an observation and each column corresponds to either the outcome (first column) or a covariate.  | 
param_est | 
 A function used to estimate both they parameter of interest and the IC of the corresponding estimator.  | 
control | 
 A list providing control arguments for the function.  | 
lm_dst | 
 A list containing an estimate of the limiting distribution and corresponding norm specific test cutoffs if it is provided.  | 
return_lmd | 
 Boolean for whether to return the estimated limiting distribution.  | 
Calculated test statistic for the given data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.