I wanted to confirm my understanding if I get the same results from the following two commands: (these are just hypothetical example)
Command 1: xtset log_quantity log_prices log_GDP, fe (panel estimation of log quantities on log prices and log GDP)
Command 2: reg log_quantity log_prices log_GDP i.country i.year (estimation of log quantities on log prices and log GDP, but without declaring dataset as panel, but including i.year i.country)
If I get the same results from these two commands, then what is the way to get elasticities for all the different years and not just one value at the mean, i.e. the coefficient on 'log_price' is the elasticity but I want to see the elasticity for all the years in the dataset?
0 Response to does "xtset" and "i.year", "i.country" are the same things?
Post a Comment