Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: item response


From   SamL <[email protected]>
To   [email protected]
Subject   Re: st: item response
Date   Sun, 6 Jul 2003 22:21:26 -0700 (PDT)

In Stata 7 I believe the -contract- command is what you would use.

Hope this helps.

Sam

On Sun, 6 Jul 2003 [email protected] wrote:

> Hi,
> 
> I am trying to create a weight variable to use with the gllamm command,
> but I just can't get it to work. Here is the problem: I have the data in
> long format looking like this:
> 
> subj_id         item_number     item_response
> 1               1               0
> 1               2               1
> 1               3               0
> 2               1               1
> 2               2               1
> 2               3               0
> 
> I am trying to create a weight variable that represents the number of
> subjects with the same item_response pattern, meaning the same responses
> for all items within an individual.
> 
> I would appreciate any suggestions.
> 
> Thanks,
> 
> Deng
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index