Dear Stata users,
I want to create a fake panel data example. I wanna have quarterly data for my id's.
I tried the code:
I have an error when creating t: r(101) varlist not allowed
I want to have quarterly data from (2016,4) for every id
I want to create a fake panel data example. I wanna have quarterly data for my id's.
I tried the code:
Code:
set obs 100 gen id=seq(), block(20) gen t=seq(227), to(247)
I want to have quarterly data from (2016,4) for every id

Comment