Hi, I have panel data, with a binary dependent variable. The data is at the individual level. I want to use the xtprobit command with clustered errors at the community level. However, I keep getting an error code saying 'panels not nested with clusters'. I have tried to check my data to see if individuals move between communities over time but this is not the case. each individual in the dataset remains in the same community over the time period of the data. The funny thing is that the cluster robust option works with the xtreg command, but not with the xtprobit or xtlogit. please can someone help me out with why this is the case even though my data is nested within clusters?
Related Posts with xtprobit with clustered standard errors
randomisation in stepped wedge cluster RCTHi Statalisters, Does anyone know about any Stata community-contributed command to carry out random…
Creating new dummyI have a dataset on companies with distinct id, products they sell, the region they sell their produ…
xtdcce2 short run estimates?I am trying to estimate xtdcce2 for T18 T8, the impact of trade openness on trade revenue. I am tryi…
Problem with String Variable in Collapse CommandDear all, I am using Stata 16, on mac. I must collapse my data to region-by-year level. The problem…
Tests of significance in by-group summary statisticsHello, I have split my sample into three time periods (pre-GFC, GFC, post-GFC) when reporting summa…
Subscribe to:
Post Comments (Atom)
0 Response to xtprobit with clustered standard errors
Post a Comment