Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Data preparation for Multilevel and Item Response Models


From   Christopher Sanford <sanf81@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Data preparation for Multilevel and Item Response Models
Date   Wed, 20 Apr 2011 14:12:56 -0700 (PDT)

I am attempting to run a factor analysis for binary data and am requesting help 
in preparing my data. Before running GLLAMM I know that I I need to do three 
things:

1. Create dummy variables for each of the test items
2. Stack the item responses
3. Reshape the data into long form

How do I create dummy variables for each item (not the responses)? I have 
searched online and have only found examples of creating dummy variables for the 
response categories.

I should be able to stack the responses and reshape the data using the help 
feature in Stata.

Thank you for your help.

Christopher Sanford
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index