EconPapers    
Economics at your fingertips  
 

Two-step analysis of hierarchical data

Johannes Giesecke () and Ulrich Kohler
Additional contact information
Johannes Giesecke: Humboldt-University Berlin

Stata Journal, 2024, vol. 24, issue 2, 213-249

Abstract: In this article, we describe the package twostep, a bundle of pro- grams to perform analyses of hierarchical data applying the two-step approach. We consider a two-level data setup in which “microlevel” units are nested within “macrolevel” units. One-step models (which can be fit using, for example, mixed) are the most common approach to modeling two-level data. The two-step approach is an alternative in which parameters associated with microlevel and macrolevel predictors are estimated separately for each level. It can be used as an alterna- tive to one-step models if the estimand is a cross-level interaction. We also show how the two-step approach usefully complements one-step approaches by providing exploratory data analysis, descriptive graphs, and regression diagnostics.

Keywords: twostep; hierarchical model; mixed model; multilevel analysis; two-step modeling; two-stage regression; estimated dependent variable regression; EDV; exploratory data analysis; EDA; cross-level interaction (search for similar items in EconPapers)
Date: 2024
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj24-2/st0745/
References: Add references at CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0745 link to article purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:24:y:2024:i:2:p:213-249

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

DOI: 10.1177/1536867X241257801

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:24:y:2024:i:2:p:213-249