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'
Creation of panel of 16 months by linking monthly samples from CPSMy main purpose is to see how a person changes job and how it affects the wage in few selective stat…
LATE Difference-in-DifferencesHi all, I'm trying to estimate a generalized DID (two periods three groups)'s local average treatme…
Merging datasets with same variable but different values for the variableHi. I wanted to understand the finer working of the -merge- command and it isn't clear to me from re…
Print excel after calculating Shannon entropyDear Statalists, I have a problem since I am calculating the Shannon entropy for a very huge number …
reshape wide to longDear All, How can I reshpae the following wide data into long data format? Thanks. Code: * Example …
Subscribe to:
Post Comments (Atom)
0 Response to Generata price index using 'parmest'
Post a Comment