Hello users,
I have data for about 15,000 9th graders. I am interested in running logistic models that investigate the impact of a number of independent variables (e.g., ses, grades) on student enrollment in a particular course in the 9th grade (1=enrolled, 0=not enrolled). Naturally, the likelihood of enrollment would be influenced by how these students were clustered both at the middle and high school levels and I would, therefore, like to account for that. Middle schools are not nested within high schools. I would like to run a fixed effects model that would consider these middle and high school clusters through an accurate estimation of the standard errors . However, I am not certain how to go about doing this. Could I accomplish this by simply using the code: logit y x, cluster(middleschool, highschool)? Any suggestions would be appreciated.
Thanks!
I have data for about 15,000 9th graders. I am interested in running logistic models that investigate the impact of a number of independent variables (e.g., ses, grades) on student enrollment in a particular course in the 9th grade (1=enrolled, 0=not enrolled). Naturally, the likelihood of enrollment would be influenced by how these students were clustered both at the middle and high school levels and I would, therefore, like to account for that. Middle schools are not nested within high schools. I would like to run a fixed effects model that would consider these middle and high school clusters through an accurate estimation of the standard errors . However, I am not certain how to go about doing this. Could I accomplish this by simply using the code: logit y x, cluster(middleschool, highschool)? Any suggestions would be appreciated.
Thanks!
Comment