Hello there,
I am working on a semiparameteric estimator for panel data. I wanted to examine the performance of the estimator by drawing samples from a very large population. Surprisingly (at least to me), xtset fails to generate large psudo panel data when the panel is very large. Here is a simple example:
I tried for smaller panels (I checked upto around 120,000) and it works.
I would appreciate if you can help me solve this problem.
Best,
Dani
I am working on a semiparameteric estimator for panel data. I wanted to examine the performance of the estimator by drawing samples from a very large population. Surprisingly (at least to me), xtset fails to generate large psudo panel data when the panel is very large. Here is a simple example:
Code:
clear set obs 1200000 gen int cid = _n expand 20 bysort cid: gen t = _n xtset cid t repeated time values within panel r(451);
I would appreciate if you can help me solve this problem.
Best,
Dani

Comment