Home » Topics » Child Health » How do I account for clustering within families?
Re: How do I account for clustering within families? [message #2010 is a reply to message #2006] |
Sat, 12 April 2014 17:12 |
Reduced-For(u)m
Messages: 292 Registered: March 2013
|
Senior Member |
|
|
I haven't used the mixed-models in Stata 13, but I do have it! Here is the documentation if anyone is interested. The basic command is "mixed" and there's "meglm", "melogit", etc. too.
Basic: http://www.stata.com/manuals13/meme.pdf#memeRemarksandexampl es
More: http://www.stata.com/manuals13/me.pdf
There's also this new "gsem" command, and I see this regarding its relative speed:
Note: gllamm users will be especially interested in gsem. There is a lot of overlap in the models that gllamm and gsem can fit. Where there is overlap, gsem is faster. gsem is at least four times faster, usually it is 10 to 100 times faster, and there are examples where gsem is up to 1,000 times faster than gllamm.
http://www.timberlakeconsulting.com/Stata/?id=504
... I can't be much more helpful than that. I think back in the day I once used "xtmixed" to fit one of these to a dataset in the low thousands of obs, and it went really fast. But I'd bet it really depends on how much structure you are putting in, what kinds of prior distributions you may/not be fitting, and what particular estimation method you want.
If only Nick Cox were on the DHS Forum, we'd know what to do. Short of that, I'd say, if anyone ever has the need, drop a question on the Statalist, and then report back what Nick has to say about relative speed of the various Stata generalized linear model commands.
|
|
|
|
|
How do I account for clustering within families?
By: vega25 on Fri, 11 April 2014 00:01
|
|
|
Re: How do I account for clustering within families?
By: user-rhs on Fri, 11 April 2014 14:15
|
|
|
Re: How do I account for clustering within families?
|
|
|
Re: How do I account for clustering within families?
By: vega25 on Sat, 12 April 2014 01:26
|
|
|
Re: How do I account for clustering within families?
By: user-rhs on Sat, 12 April 2014 09:41
|
|
|
Re: How do I account for clustering within families?
|
|
|
Re: How do I account for clustering within families?
|
|
|
Re: How do I account for clustering within families?
By: Liz-DHS on Sun, 13 April 2014 18:48
|
|
|
Re: How do I account for clustering within families?
|
|
|
Re: How do I account for clustering within families?
By: Liz-DHS on Thu, 17 April 2014 12:42
|
|
|
Re: How do I account for clustering within families?
By: Liz-DHS on Fri, 18 April 2014 13:51
|
|
|
Re: How do I account for clustering within families?
By: Liz-DHS on Thu, 24 April 2014 13:28
|
|
|
Re: How do I account for clustering within families?
By: vega25 on Wed, 03 December 2014 20:33
|
|
|
Re: How do I account for clustering within families?
By: user-rhs on Wed, 03 December 2014 20:43
|
|
|
Re: How do I account for clustering within families?
|
|
|
Re: How do I account for clustering within families?
|
|
|
Re: How do I account for clustering within families?
By: ab803 on Thu, 21 September 2017 21:37
|
|
|
Re: How do I account for clustering within families?
|
|
|
Re: How do I account for clustering within families?
By: ab803 on Mon, 25 September 2017 00:43
|
|
|
Re: How do I account for clustering within families?
|
|
|
Re: How do I account for clustering within families?
By: ab803 on Tue, 26 September 2017 01:24
|
|
|
Re: How do I account for clustering within families?
|
Goto Forum:
Current Time: Thu Dec 12 14:56:36 Coordinated Universal Time 2024
|