JanDitzen / xtdcce2

Estimating Dynamic Common Correlated Effects Models in Stata
https://janditzen.github.io/xtdcce2/
28 stars 14 forks source link

Problem in xtset2, check 3) #12

Closed cg89x closed 4 years ago

cg89x commented 4 years ago

Hi Jan,

I noticed a small bug in xtset2.ado, line 90: svmat creates the variable but appends an extra 1 at the end, i.e. Tmat1 instead of Tmat. This makes xtset2 fail when using set varabbrev off. This behavior also occurs in line 107 with sum.

Best,

Chris

JanDitzen commented 4 years ago

Hi Chris, thanks for spotting this error. It is fixed. Cheers, Jan