power.calc: Calculates the empirical and theoretical power

Description Usage Arguments Value Author(s)

Description

The function determines the empirical and theoretical power. The empirical power is the proportion of simulations in which the z-statistic for the parameter of interest exceeds the z-statistic for the desured level if statistical significance. The theoretical power is the power of the study.

Usage

1
power.calc(pval = NULL, z.values = NULL, mean.model.z = NULL)

Arguments

pval

cut-off p-value defining statistical significance.

z.values

z-statistic of the determinant.

mean.model.z

mean z-statistic of the environmental determinant.

Value

a list that contains the computed empirical power and theoretical power.

Author(s)

Gaye A.


agaye/ESPRESSO.ExE documentation built on May 10, 2019, 7:30 a.m.