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'
Markdown / Markstat / Sublime TextDear Forum, I am getting into Literate Data Analysis and find that the Markstat package is of great…
Tobit regression with collinearityMy dependent variable is expenditure share for wine on trade. When i run the regression, however "t…
reducing my datasetHello stata masters, I have a data set on a board of directors with individual board members, I have…
how to calculate the medianhello everyone please I need the command of calculating the median …
How to sort selected lines in do editorCan anybody know the shortcut for sorting in do editor like in MS Word (Alt+AS). Best regards …
Subscribe to:
Post Comments (Atom)
0 Response to Generata price index using 'parmest'
Post a Comment