icc_type_i: ICC to Type I Error Inflation

Description Usage Arguments Examples

Description

This function allows you to calculate the inflated Type-I error rate for a particular sample size and ICC value.

Usage

1
2
icc_type_i(lvl_2_units, lvl_1_units, target_icc, replications = 1000,
  icc_acc = 0.01)

Arguments

lvl_2_units

The number of level-2 units.

lvl_1_units

The number of level-1 units.

target_icc

The ICC level.

replications

The number of simulations to be run. Defaults to 1000.

icc_acc

The accuracy for the simulated ICC. Defaults to +- .01.

Examples

1
icc_type_i(lvl_2_units = 20, lvl_1_units = 10, target_icc = .1, replications = 1000, icc_acc = .01)

camkay/icc_to_type_i documentation built on June 10, 2019, 8:17 a.m.