Hi there
I work in the rodent learning field and have been trying to model the effect of different variables on how mice choose different response options. The dependent variable is the binary outcome of a trial (correct/incorrect), Genotype, Sex and Correction_Trial are binary variables. Correction_Trial is 0 if the previous trial is correct and vice versa so we would expect the observation with Correction_Trial==1 to decrease as the mice improve. The mice are trained for multiple trials per day and across many days. The identifier variable for the panel is the individual animals. We wanted to use a robust clustered estimator for the standard errors because we expect there to be heteroskedasticity in at least some of the variables.
The two models I have tried are xtlogit with vce(robust) (fig.1) and gllamm with cluster (Animal_id) (fig.2). As expected the point estimates for the effect size are very similar between the two models. The error estimates for genotype and sex are very different. My naive understanding is that both models use similar methods to generate clustered robust error estimates but why are they so different. I then tried bootstrapping from the clusters (fig. 3). This gives me errors very similar to the gllamm model. Any idea what's happening? Hope I've explained the question properly.
Keith
Fig. 1
Array
Fig. 2
Array
Fig. 3
Array
Related Posts with Clustered sandwich estimator gives very differ error in gllamm, xtlogit and xtlogit bootstrap
Using longtable with -markstat-Is it possible to generate tables that span multiple pages with -markstat- without manually editing …
How to create a macro with the IDs of observations that meet certain criteriaI'd like to create a local or global macro with the IDs (string variable: record_id) of all observat…
Problem with ml model with panel data and misclassification errorDear all, I'm trying to implement Hausman et al (1998) misclassification error for binary choice mo…
RE: Twoway scatter command for logistic S curveHi! I am trying to create a logisitc curve based on the estimated logit model. The twoway scatter co…
Using an ICD10 table matrix for categorizing encounters in large healthcare datasetsThis is my first post in the Stata list and I have tried not to break the rules here, so forgive me …
Subscribe to:
Post Comments (Atom)
0 Response to Clustered sandwich estimator gives very differ error in gllamm, xtlogit and xtlogit bootstrap
Post a Comment