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]

re: st: Is this a situation for mlogit? xt-flavor of mlogit?


From   "Airey, David C" <david.airey@Vanderbilt.Edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   re: st: Is this a situation for mlogit? xt-flavor of mlogit?
Date   Mon, 2 Aug 2010 16:06:37 -0500

.


You have two groups with child nested in group.

Then you have within each child time and cell type crossed with child.

So you have one between subject factor (group) and two within subject factors (time by cell type).

If you had a continuous measure that was not a proportion, and did not sum to 1, you could use xtmixed and issue the command similar to

xtmixed y group##time##celltype || child: || child:R.time || child:R.celltype

But your actual measures are proportions, and you say they sum to 1, so that might cause a hiccup in regression type models.

I had a similar problem that was amenable to xtlogit, but the data were scored as 1 and 0s...



> Stata Colleagues;
> 
> I'm at a loss for how to analyze the following data and am looking for suggestions.  Everything that I think of seems to have flaws... maybe I'm over thinking things a bit?  Maybe  I just need more coffee?
> 
> 
> Experimental Design: 3(times)x2(groups)x4(celltypes) mixed factorial. (random ID: repeated on time & celltypes)
> 
> More specifically
>    ->Blood data are collected from children at roughly three times per child (varname = age).  
>           (Experimental protocol was to collect data at approx 12, 18 & 24 months of age, 
>            but we have true age recorded in the dataset. There are some missing data.)
> 
>    ->Two groups of kids (independent measures factor. Varname = group)
> 
>    ->At each of the three repeated times, my outcomes data are the proportion of cells 
>      belonging to each of 4 categories.  Thus the 4 "categories" of blood cells total to 1 (within 
>      rounding error) per child, per time point.  (varname=y)
> 
> 
> We want to examine/compare the effects of group, age  and group#age on the distribution among the 4 cell type.
> 
> 
> I don't typically work with this kind of data, but I think it is a situation in which mlogit would be appropriate, Yes?
> 
> If so, is there an xt flavor of mlogit that would be better than mlogit with robust errors?
> 
> Rob
> 


*
*   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