I need help finding and comparing the elasticities from my regression model. Here is my regression,
. regress incherfindahl pctbachelors pctnevermarr pct18to64 unemprate
Source | SS df MS Number of obs = 65,143
-------------+---------------------------------- F(4, 65138) = 811.53
Model | 23.8730515 4 5.96826289 Prob > F = 0.0000
Residual | 479.046789 65,138 .007354337 R-squared = 0.0475
-------------+---------------------------------- Adj R-squared = 0.0474
Total | 502.91984 65,142 .007720362 Root MSE = .08576
------------------------------------------------------------------------------
incherfind~l | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
pctbachelors | -.1945729 .0048227 -40.34 0.000 -.2040255 -.1851204
pctnevermarr | -.003355 .005335 -0.63 0.529 -.0138116 .0071016
pct18to64 | .1157761 .0071806 16.12 0.000 .1017021 .1298501
unemprate | -.3474631 .008519 -40.79 0.000 -.3641603 -.330766
_cons | .0709203 .0042465 16.70 0.000 .0625972 .0792435
------------------------------------------------------------------------------
Below is what I tried based on the FAQ page for elasticity but I am still not sure what any of it means or why its not working.
. summarize incherfindahl
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
incherfind~l | 65,146 .1011197 .0878649 1.11e-08 1
. local meaninch=r(mean)
. summarize pctbachelors
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
pctbachelors | 65,143 .0951891 .0711833 0 .717
. local meanbach=r(mean)
. summarize pct18to64
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
pct18to64 | 65,155 .5940286 .0479325 0 1
. local mean18to64=r(mean)
. summarize unemprate
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
unemprate | 65,146 .0555084 .0415287 0 .686
. local meanunemp=r(mean)
. local f=`meaninch'*_b[incherfindahl]+`meanbach'*_b[pctbachelors]++`mean18to64'*_b[pct18to64]+`mea
> nunemp'*_b[unemprate]+_b[_cons]
[incherfindahl] not found
r(111);
. local f=`meaninch'*_b[incherfindahl] +`meanbach'*_b[pctbachelors]++`mean18to64'*_b[pct18to64]+`meanunemp'*_b[unemprate]+_b[_cons]
[incherfindahl] not found
r(111);
. local f=`meanbach'*_b[pctbachelors]++`mean18to64'*_b[pct18to64]+`meanunemp'*_b[unemprate]+_b[_cons]
invalid syntax
r(198);
.
.
. local f=`meanbach'*_b[pctbachelors]+`mean18to64'*_b[pct18to64]+`meanunemp'*_b[unemprate]+_b[_cons]
.
. regress incherfindahl pctbachelors pctnevermarr pct18to64 unemprate
Source | SS df MS Number of obs = 65,143
-------------+---------------------------------- F(4, 65138) = 811.53
Model | 23.8730515 4 5.96826289 Prob > F = 0.0000
Residual | 479.046789 65,138 .007354337 R-squared = 0.0475
-------------+---------------------------------- Adj R-squared = 0.0474
Total | 502.91984 65,142 .007720362 Root MSE = .08576
------------------------------------------------------------------------------
incherfind~l | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
pctbachelors | -.1945729 .0048227 -40.34 0.000 -.2040255 -.1851204
pctnevermarr | -.003355 .005335 -0.63 0.529 -.0138116 .0071016
pct18to64 | .1157761 .0071806 16.12 0.000 .1017021 .1298501
unemprate | -.3474631 .008519 -40.79 0.000 -.3641603 -.330766
_cons | .0709203 .0042465 16.70 0.000 .0625972 .0792435
------------------------------------------------------------------------------
Below is what I tried based on the FAQ page for elasticity but I am still not sure what any of it means or why its not working.
. summarize incherfindahl
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
incherfind~l | 65,146 .1011197 .0878649 1.11e-08 1
. local meaninch=r(mean)
. summarize pctbachelors
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
pctbachelors | 65,143 .0951891 .0711833 0 .717
. local meanbach=r(mean)
. summarize pct18to64
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
pct18to64 | 65,155 .5940286 .0479325 0 1
. local mean18to64=r(mean)
. summarize unemprate
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
unemprate | 65,146 .0555084 .0415287 0 .686
. local meanunemp=r(mean)
. local f=`meaninch'*_b[incherfindahl]+`meanbach'*_b[pctbachelors]++`mean18to64'*_b[pct18to64]+`mea
> nunemp'*_b[unemprate]+_b[_cons]
[incherfindahl] not found
r(111);
. local f=`meaninch'*_b[incherfindahl] +`meanbach'*_b[pctbachelors]++`mean18to64'*_b[pct18to64]+`meanunemp'*_b[unemprate]+_b[_cons]
[incherfindahl] not found
r(111);
. local f=`meanbach'*_b[pctbachelors]++`mean18to64'*_b[pct18to64]+`meanunemp'*_b[unemprate]+_b[_cons]
invalid syntax
r(198);
.
.
. local f=`meanbach'*_b[pctbachelors]+`mean18to64'*_b[pct18to64]+`meanunemp'*_b[unemprate]+_b[_cons]
.