Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Bootsrapping standard errors of elasticities


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Bootsrapping standard errors of elasticities
Date   Fri, 5 Mar 2010 14:06:33 -0500

Martin Weiss <martin.weiss1@gmx.de> :

Not sure what you're asking, but your example makes no use of the
returned result--it is the post option on margins producing the result
that is being bootstrapped there.

On Fri, Mar 5, 2010 at 1:55 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>
> <>
>
> Is this permissible to get a bs stan error, Austin:
>
>
> *******
> sysuse auto, clear
> pr drop _all
>
> prog myprog, rclass
> vers 11
> reg price weight length
> margins, eyex(length) post
> ret sca elalength=_b[length]
> end
>
> bs, reps(100): myprog
> *******
*
*   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   |   Site index