Re: [R] multilevel

2011-05-22 Thread eeecon
I see.. Row1 of Table 2 gives averages for category 3 in the group with a zero in cols 6-8 AND col 2. I wanted to averages for category 3 in the group with a zero in cols 6-8 and a 1 in col 2. I still think its suspicious that cols V1 and V2 in Table 1 are the same. -- View this message in conte

Re: [R] multilevel

2011-05-22 Thread eeecon
Thanks for your reply David. I didn't realize I could change the title of my post! Haha. I rather like the example because Table 1 actually appears in Cameron and Trivedi (potential error and all!). aperm is not the issue. I am not sure why you get different output, it should be the case. Other

Re: [R] multilevel

2011-05-21 Thread eeecon
Correction, this is not an issue with multilevel, rather a quirk with aggregate. Sill looking for help, anyone? -- View this message in context: http://r.789695.n4.nabble.com/multilevel-tp3539421p3540800.html Sent from the R help mailing list archive at Nabble.com.

[R] multilevel

2011-05-20 Thread eeecon
Hi, My code indicates there may be a bug in multilevel. I doubt this is actually the case, can anyone tell me what is wrong with my code? The data file for this code can be downloaded here: http://cameron.econ.ucdavis.edu/mmabook/mma15p4gev.asc Here is the code that generates the bug: rm(list =