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]

From |
"David Radwin" <dradwin@mprinc.com> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
RE: st: Bias corrected p-values after bootstrap |

Date |
Mon, 14 Nov 2011 11:22:16 -0800 (PST) |

Sunday, I think you need to use a straight quotation mark (') instead of a right quotation mark (´) after the local macro. David -- David Radwin Research Associate MPR Associates, Inc. 2150 Shattuck Ave., Suite 800 Berkeley, CA 94704 Phone: 510-849-4942 Fax: 510-849-0794 www.mprinc.com > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu [mailto:owner- > statalist@hsphsun2.harvard.edu] On Behalf Of Sunday Clark > Sent: Monday, November 14, 2011 11:10 AM > To: statalist@hsphsun2.harvard.edu > Subject: Re: st: Bias corrected p-values after bootstrap > > Jorge, Thank you very much for your reply! > > Following the steps outlined by Buis in The Stata Journal > (http://www.stata-journal.com/article.html?article=st0137), I have > been able to obtain the t statistic using the following: di > _b[var1]/_se[var1] > > When I try the following to obtain the P value: > . local t = _b[var1]/_se[var1] > . di 2*ttail(e(df_r),abs(`t´)) > > I get the following error: > `t´ invalid name > r(198); > > I am doing something wrong, but I can't seem to identify the problem. > I am using Stata 12. I would appreciate any help. > > Thank you, > Sunday > > 2011/11/7 Jorge Eduardo Pérez Pérez <perez.jorge@ur.edu.co> > > > > After -bootstrap-, the point estimates are stored in e(b) and the bias > > is stored in e(bias). So you can get the bias corrected point > > estimates: > > > > matrix bc=e(b)-e(bias) > > > > After that, you can compute your p-values using these new point > > estimates and the standard errors, see: > > > > http://www.stata-journal.com/article.html?article=st0137 > > > > Hope this helps, > > _______________________ > > Jorge Eduardo Pérez Pérez > > > > > > > > > > On Mon, Nov 7, 2011 at 9:40 AM, Sunday Clark <sunday.clark@gmail.com> > wrote: > > > Hello, > > > > > > I saw this question posted in the archives four years ago, but did not > > > see an answer. I am wondering if new information is available that > > > might help answer the question. I there a way to obtain bias corrected > > > p-values in addition to the bias corrected confidence intervals after > > > running a bootstrap? I used the following to obtain the confidence > > > intervals: estat bootstrap, all or. > > > > > > Thank you, > > > Sunday * * 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/

**References**:**Re: st: Bias corrected p-values after bootstrap***From:*Jorge Eduardo Pérez Pérez <perez.jorge@ur.edu.co>

**Re: st: Bias corrected p-values after bootstrap***From:*Sunday Clark <sunday.clark@gmail.com>

- Prev by Date:
**Re: st: Bias corrected p-values after bootstrap** - Next by Date:
**RE: st: Bias corrected p-values after bootstrap** - Previous by thread:
**Re: st: Bias corrected p-values after bootstrap** - Next by thread:
**RE: st: Bias corrected p-values after bootstrap** - Index(es):