find_mag {amp} | R Documentation |
A helper function to find the multiplicative distance of a specified alternative from the alternative in the same direction that obtains a power of 80%.
Description
A helper function to find the multiplicative distance of a specified alternative from the alternative in the same direction that obtains a power of 80%.
Usage
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.
[Package amp version 1.0.0 Index]