est_pows: A helper function to estimate the power using the generated...

View source: R/laber_test.R

est_powsR Documentation

A helper function to estimate the power using the generated test statistic, and estimated distribution of the test statistic.

Description

A helper function to estimate the power using the generated test statistic, and estimated distribution of the test statistic.

Usage

est_pows(tr_lm_dstr, ts_vec)

Arguments

tr_lm_dstr

limiting distribution of the test statistic

ts_vec

Vector containing the test statistic

Value

Return the estimated power of the test based for each of the possible sum of squares norms


amp documentation built on April 6, 2022, 9:06 a.m.