Hi all,
I want to generate a price index using the coefficients of the following regression:
with dependent variable= loglprice (log of house selling price)
and independent variable= hhmove (year moved into the house)
reg loglprice i.hhmove
I want to use the year coefficients of the output table of this regression to generate a price index.
A price index can be generated by taking the exponential transformation of the estimated year coefficients (var HHMOVE) and multiplying that by 100.
To do so, something like this should be entered in Stata I guess:
gen logcoef=log(coef)
gen priceindex=logcoef*100
The question is how can I use the year coefficients (coef?) from the output table?
I believe the 'parmest'- command can help but I am not sure.
Thanks.
Related Posts with Generata price index using 'parmest'
Determining the explanatory power of an interaction termHi everyone, I'm trying to fill a table with each line representing the explanatory power of a part…
Using a loop to calculate new variableHello all, I want to find the new sale price for each year represented through new_sales. I will us…
Generating dummy observations to balance a panelI hope this request makes sense, as it is just to aid in my estimation. Below is the dataex of a dum…
PPML - generating a time dependent thresholdDear Stata community, I am working with a gravity model and what to cluster my observations dependi…
Conditional loop analysis with sums in panel dataI have an unbalanced data of company id (i) country code (c) year (y) ratio-1 (r1) ratio-2 (r2) …
Subscribe to:
Post Comments (Atom)
0 Response to Generata price index using 'parmest'
Post a Comment