Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

# Re: st: Benchmarks for Stata

 From "Dimitriy V. Masterov" To statalist@hsphsun2.harvard.edu Subject Re: st: Benchmarks for Stata Date Fri, 10 Dec 2010 12:37:15 -0500

```Austin,

I think I understand what you are saying. I made a file called test.do
that contained your altered code. test.do creates the batch.do file
that I run with the shell command. In any case, when I run that code
through the command line (or actually type), I get:

do "C:\Users\masterd\Documents\MOE\Price_Data\batch.do"

. sysuse nlsw88, clear
(NLSW, 1988 extract)
r; t=0.00 12:30:11

. set rmsg on
r; t=0.00 12:30:11

. set seed 1
r; t=0.00 12:30:11

. bs, r(5): logit married grade south wage
(running logit on estimation sample)

Bootstrap replications (5)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5
.....

Logistic regression                             Number of obs      =      2244
Replications       =         5
Wald chi2(3)       =      3.54
Prob > chi2        =    0.3150
Log likelihood =  -1460.746                     Pseudo R2          =    0.0019

------------------------------------------------------------------------------
|   Observed   Bootstrap                         Normal-based
married |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
grade |   .0227708   .0195167     1.17   0.243    -.0154812    .0610228
south |  -.0348998   .0552073    -0.63   0.527     -.143104    .0733044
wage |  -.0179938   .0117196    -1.54   0.125    -.0409638    .0049761
_cons |   .4421246    .179288     2.47   0.014     .0907265    .7935227
------------------------------------------------------------------------------
r; t=0.23 12:30:11

. exit

end of do-file

r; t=0.23 12:30:11

When I type "! "C:\Program Files (x86)\Stata11\StataMP" -b do
batch.do", I get the following batch file with the error message:

___  ____  ____  ____  ____ (R)
/__    /   ____/   /   ____/
___/   /   /___/   /   /___/   11.0   Copyright 1984-2009
Statistics/Data Analysis            StataCorp
4905 Lakeway Drive
MP - Parallel Edition            College Station, Texas 77845 USA
800-STATA-PC        http://www.stata.com
979-696-4600        stata@stata.com
979-696-4601 (fax)

Serial number:  50110577213
Domino's Pizza

Notes:
1.  (/m# option or -set memory-) 50.00 MB allocated to data
2.  (/v# option or -set maxvar-) 5000 maximum variables
3.  Stata running in batch mode

. do batch

. sysuse nlsw88, clear
(NLSW, 1988 extract)

. set rmsg on
r; t=0.00 12:34:17

. set seed 1
r; t=0.00 12:34:17

. bs, r(5): logit married grade south wage
c(showbaselevels) undefined
r(133); t=0.00 12:34:17

end of do-file
r(133); t=0.00 12:34:17
*
*   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/
```