Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: how to access e(b) and e(V)


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: how to access e(b) and e(V)
Date   Tue, 20 Oct 2009 12:15:38 +0100

One standard way to deal with the key issue here is to use a generalized
linear model with logarithmic link. 

Nick 
n.j.cox@durham.ac.uk 

Philomela@gmx.net

Okay, so i try to describe what i want to do:
Actually i would like to come up with a linear demand function like
that:
Consumption= constant+ beta_1*Price+beta_2*Income+ ...
and a loglog demand function.
I used the spreadheet programm and manually calculated Consumption for
various prices and got the two demand functions from that, but
unfortunatly, due to the log transformation i have the following
problem:
exp(E(ln(Consumption))) is not equal to E(Consumption).
I thought more precise estimates would help-but as it turned out now-
they don't.
So, can I  estimate the consumption for different prices directly in
Stata to get the demand functions?
Then, I should be able to deal with the retransformation bias  as
suggested in Cameron&Trivedi(2009):Microeconometrics using Stata.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index