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?
Related Posts with does "xtset" and "i.year", "i.country" are the same things?
(Easy) Quadratic term of variable in regression: Joint hypothesis testHello, when a variable enters an estimation model in a quadratic term as well, there are two coeffic…
Cross-sectional regression for each ind and yearDear All, I need to estimate a model using a cross-sectional regression for each industry and year …
Generate a new variable based on character ("/") of another variable Code: +-------------------------------------------+ | …
How do do multilevel multinomial regression for multiply imputed data?Hello Everyone, I'm doing a project on how high school racial segregation may impact racial/ethnic …
SYS-GMM: Problem of overidentifying restrictionsHello everybody, I want to analyse determinants of corporate leverage in the past twenty years (wit…
Subscribe to:
Post Comments (Atom)
0 Response to does "xtset" and "i.year", "i.country" are the same things?
Post a Comment