Computes the one-sided confidence level, defined as (1 - p-value) x 100, for testing whether each mean (mu) differs from zero under a normal approximation.
Usage
se_sig(muvari)
Value
A numeric vector of confidence levels (0-100%), each rounded to one decimal place.
Arguments
muvari
Numeric array, of mean (location) values, variances corresponding to each mu to test against zero.
Details
For each element:
Calculate the standard error:
se = sqrt(vari).
Compute the absolute z-score:
z = abs(mu / se).
The one-sided p-value is 1 - phi(z), where phi is the CDF of the standard normal.
The confidence level is (1 - p-value) x 100 = phi(z) x 100.