[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: RE: st: RE: tsset
The reason mainly revolves around tsfill. When doing -
egen groupvar, group()
tsset groupvar timevar
- the information that identifies the panels, for example counties and
households jointly, is lost.
The information needs to be replaced manually according to the method you
replace county = county[_n-1] if mi(county)
replace household = household[_n-1] if mi(household)
Allowing multiple variables to identify the panel would avoid this step and
the first egen command, which not only saves time but also avoids potential
danger for a novice if the user first sorts on county and household and THEN
replaces the missing data.
* For searches and help try: