On Mon, Apr 6, 2009 at 6:20 AM, Gary King <king(a)harvard.edu> wrote:
I'm not sure of the direct answer to your
question (Delia Bailey, who
wrote the Zelig bridge functions, probably knows; what do you think,
Delia?), but one thing you can do is to define a single level of nesting
from the multiple levels so each precinct in the U.S. can be seen as within
a county, and each county within a state, but it can also just be given a
unique number and treated as from a single collection of precincts
nationally. Not exactly what you wanted, but it works.
Gary
---
http://gking.harvard.edu
On 04/05/2009 07:03 AM, Littvay, Levi wrote:
Dear Everyone
Is it possible to run a three level or a cross-classified model with Zelig
logit.mixed (or any of the other mixed) commands?
If so, please let me know how to set it up. The manual is clear about a
single source of nesting (g) but not three levels (where g is nested within
h) or cross-classified (for example middle school and high school where
someone who went to one middle school possibly went to any other high school
in the dataset and vice versa) random effects.
Also, (assuming 3 level models are possible) please let me know how I need
to set up the id variables that define the nesting. Should I use:
1 1
1 1
1 2
1 2
2 1
2 1
2 2
For L3 and L2 ID or is this better?
1 11
1 11
1 12
1 12
2 21
2 21
2 22
Thanks.
L
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/
--
NOTE:
Please add delia.bailey(a)gmail.com to your address book.
I am no longer using my dbailey(a)wustl.edu account.