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?
Number of lags too highHi everyone, I am writing as I am currently working on my bachelor's thesis with Stata. I am doing …
Replace command with non-mutually exclusive categorical dataHello, I am working with a dataset from a Twitter content analysis project and am stuck trying out …
VAR or PVAR different lags for endgenous variablesDear community, in a VAR or PVAR model would it be possible for endgenous variables to have differe…
pweights in reghdfe allow colinear variable to generate a coefficient? Hi, This is my first post here. This question pertains to the use of pweight in reghdfe. I have a …
comparing the parametric survival regression modelsWhat is the command for comparing the parametric survival regression models? For example, I estimate…
Subscribe to:
Post Comments (Atom)
0 Response to does "xtset" and "i.year", "i.country" are the same things?
Post a Comment