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?
Lower 5th quantile of a variableHi, I am new to the forum. I am working on conducting some statistical analysis in stata. I have cou…
Matrix subscripting based on matrix colnamesDear All, I have quick question. I have a matrix X and I want to extract, say, 2 columns based in th…
OLS with discrete dependent variablesHi everybody, I have to run a regression with a dummy variable as response variable and a vector of…
OLS with dependent variablesHi everybody, I have to run a regression with a dummy variable as response variable and a vector of…
Country-Sector, Country-Year feDear all, I'm running a panel data regression, for 12 countries and 13 firms over 10 years. I have …
Subscribe to:
Post Comments (Atom)
0 Response to does "xtset" and "i.year", "i.country" are the same things?
Post a Comment