find_mag: Find the multiplicative distance of a specified alternative...

Description Usage Arguments Value

View source: R/find_mag.R

Description

Find the multiplicative distance of a specified alternative from the alternative in the same direction that obtains a power of 80%.

Usage

1
find_mag(one_obs, dir, cutoff, nrm_idx, nrm_type)

Arguments

one_obs

A single observed value from the limiting distribution.

dir

The shift by which the single observation will moved. Generally the estimated parameter.

cutoff

The cutoff value of the normed limiting distribution. The estimated parameters which will be the mean of the multiplier bootstrap sample.

nrm_idx

index of the potential norms to be used.

nrm_type

specifies the type of norm to be used.

Value

The magnitude by which the shift must be multiplied to surpass the cutoff for the given observation.


adam-s-elder/amar documentation built on Feb. 5, 2022, 7:10 a.m.