A Flexible Method for Conducting Power Analysis for Two- and Three-Level Hierarchical Linear Models in R
Article Sidebar
Published
May 1, 2014
Main Article Content
Yi Pan
University of North Carolina - Chapel Hill
Matthew T. McBee
East Tennessee State University
Abstract
A general approach for conducting power analysis in two- and three-level hierarchical linear models (HLMs) is described. The method can be used to perform power analysis to detect fixed effects at any level of a HLM with dichotomous or continuous covariates. It can easily be extended to perform power analysis for functions of parameters. Important steps in the derivation of this approach are illustrated and numerical examples are provided. Sample code implementing this approach is provided using the free program R.
Article Details
Issue
Section
Articles