gvegayon / parallel

PARALLEL: Stata module for parallel computing
https://rawgit.com/gvegayon/parallel/master/ado/parallel.html
MIT License
118 stars 26 forks source link

Level() option ignored #104

Open fbittmann opened 1 year ago

fbittmann commented 1 year ago

Expected behavior and actual behavior

I would like to generate 90% CIs when bootstrapping with parallel. Apparently, parallel bs ignores this option. Described what you expected to see and what you actually see

Steps to reproduce the problem

. clear all

. sysuse auto
(1978 Automobile Data)

. parallel setclusters 2
N Clusters: 2
Stata dir:  /usr/local/stata16/stata-mp

. parallel bs, reps(200) seed(123 345) level(90): reg weight mpg
--------------------------------------------------------------------------------
Parallel Computing with Stata (by GVY)
Clusters   : 2
pll_id     : raidc9g4q4
Running at : /home/xxt
Randtype   : datetime
Waiting for the clusters to finish...
cluster 0001 has exited without error...
cluster 0002 has exited without error...
--------------------------------------------------------------------------------
Enter -parallel printlog #- to checkout logfiles.
--------------------------------------------------------------------------------

parallel bootstrapping                          Number of obs     =         74
                                                Replications      =        200

      command:  regress weight mpg

------------------------------------------------------------------------------
             |   Observed   Bootstrap                         Normal-based
             |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         mpg |  -108.4316   12.32369    -8.80   0.000    -132.5856   -84.27756
       _cons |   5328.759   252.2969    21.12   0.000     4834.266    5823.251
------------------------------------------------------------------------------

. parallel bs, reps(200) seed(123 345) level(95): reg weight mpg
--------------------------------------------------------------------------------
Parallel Computing with Stata (by GVY)
Clusters   : 2
pll_id     : bgkxl13wh5
Running at : /home/xxt
Randtype   : datetime
Waiting for the clusters to finish...
cluster 0001 has exited without error...
cluster 0002 has exited without error...
--------------------------------------------------------------------------------
Enter -parallel printlog #- to checkout logfiles.
--------------------------------------------------------------------------------

parallel bootstrapping                          Number of obs     =         74
                                                Replications      =        200

      command:  regress weight mpg

------------------------------------------------------------------------------
             |   Observed   Bootstrap                         Normal-based
             |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         mpg |  -108.4316   12.32369    -8.80   0.000    -132.5856   -84.27756
       _cons |   5328.759   252.2969    21.12   0.000     4834.266    5823.251
------------------------------------------------------------------------------

. 
end of do-file

System information

Some relevant information Stata 16.1 MP on Linux Mint 19.3 x64.

Output from creturn list:

System values

--------------------------------------------------------------------------------------------------------------------------------------
    c(current_date) = "15 Feb 2023"
    c(current_time) = "10:59:01"
       c(rmsg_time) = 0                          (seconds, from set rmsg)
--------------------------------------------------------------------------------------------------------------------------------------
   c(stata_version) = 16.1
         c(version) = 16.1                       (version)
     c(userversion) = 16.1                       (version)
  c(dyndoc_version) = 2                          (dyndoc)
--------------------------------------------------------------------------------------------------------------------------------------
       c(born_date) = "14 Jun 2022"
          c(flavor) = "IC"
             c(bit) = 64
              c(SE) = 1
              c(MP) = 1
      c(processors) = 2                          (Stata/MP, set processors)
  c(processors_lic) = 2
 c(processors_mach) = 12
  c(processors_max) = 2
            c(mode) = ""
         c(console) = ""
--------------------------------------------------------------------------------------------------------------------------------------
              c(os) = "Unix"
           c(osdtl) = ""
        c(hostname) = "amd3600x"
    c(machine_type) = "PC (64-bit x86-64)"
       c(byteorder) = "lohi"
        c(username) = "xxt"
--------------------------------------------------------------------------------------------------------------------------------------

Directories and paths

--------------------------------------------------------------------------------------------------------------------------------------
    c(sysdir_stata) = "/usr/local/stata16/"      (sysdir)
     c(sysdir_base) = "/usr/local/stata1.."      (sysdir)
     c(sysdir_site) = "/usr/local/ado/"          (sysdir)
     c(sysdir_plus) = "~/ado/plus/"              (sysdir)
 c(sysdir_personal) = "~/ado/personal/"          (sysdir)
 c(sysdir_oldplace) = "~/ado/"                   (sysdir)
          c(tmpdir) = "/tmp"
--------------------------------------------------------------------------------------------------------------------------------------
         c(adopath) = "BASE;SITE;.;PERSO.."      (adopath)
             c(pwd) = "/home/xxt"             (cd)
          c(dirsep) = "/"
--------------------------------------------------------------------------------------------------------------------------------------

System limits

--------------------------------------------------------------------------------------------------------------------------------------
    c(max_N_theory) = 1099511627775
    c(max_k_theory) = 5000                       (set maxvar)
c(max_width_theory) = 1048576                    (set maxvar)
--------------------------------------------------------------------------------------------------------------------------------------
      c(max_matdim) = 65534
--------------------------------------------------------------------------------------------------------------------------------------
    c(max_it_cvars) = 64
    c(max_it_fvars) = 8
--------------------------------------------------------------------------------------------------------------------------------------
    c(max_macrolen) = 15480200
        c(macrolen) = 645200                     (set maxvar)
         c(charlen) = 67783
      c(max_cmdlen) = 15480216
          c(cmdlen) = 645216                     (set maxvar)
     c(namelenbyte) = 128
     c(namelenchar) = 32
           c(eqlen) = 1337
--------------------------------------------------------------------------------------------------------------------------------------

Numerical and string limits

--------------------------------------------------------------------------------------------------------------------------------------
       c(mindouble) = -8.9884656743e+307
       c(maxdouble) = 8.9884656743e+307
       c(epsdouble) = 2.22044604925e-16
  c(smallestdouble) = 2.2250738585e-308
--------------------------------------------------------------------------------------------------------------------------------------
        c(minfloat) = -1.70141173319e+38
        c(maxfloat) = 1.70141173319e+38
        c(epsfloat) = 1.19209289551e-07
--------------------------------------------------------------------------------------------------------------------------------------
         c(minlong) = -2147483647
         c(maxlong) = 2147483620
--------------------------------------------------------------------------------------------------------------------------------------
          c(minint) = -32767
          c(maxint) = 32740
--------------------------------------------------------------------------------------------------------------------------------------
         c(minbyte) = -127
         c(maxbyte) = 100
--------------------------------------------------------------------------------------------------------------------------------------
    c(maxstrvarlen) = 2045
   c(maxstrlvarlen) = 2000000000
    c(maxvlabellen) = 32000
--------------------------------------------------------------------------------------------------------------------------------------

Current dataset

--------------------------------------------------------------------------------------------------------------------------------------
           c(frame) = "default"
               c(N) = 74
               c(k) = 12
           c(width) = 43
         c(changed) = 0
        c(filename) = "__pllbgkxl13wh5_b.."
        c(filedate) = "15 Feb 2023 10:58"
--------------------------------------------------------------------------------------------------------------------------------------

Memory settings

--------------------------------------------------------------------------------------------------------------------------------------
          c(memory) = 33554432
          c(maxvar) = 5000                       (set maxvar)
        c(niceness) = 5                          (set min_memory)
      c(min_memory) = 0                          (set min_memory)
      c(max_memory) = .                          (set max_memory)
     c(segmentsize) = 33554432                   (set segmentsize)
         c(adosize) = 1000                       (set adosize)
 c(max_preservemem) = 1073741824                 (set max_preservemem)
--------------------------------------------------------------------------------------------------------------------------------------

Output settings

--------------------------------------------------------------------------------------------------------------------------------------
            c(more) = "off"                      (set more)
            c(rmsg) = "off"                      (set rmsg)
              c(dp) = "period"                   (set dp)
        c(linesize) = 138                        (set linesize)
        c(pagesize) = 37                         (set pagesize)
         c(logtype) = "smcl"                     (set logtype)
         c(noisily) = 1
--------------------------------------------------------------------------------------------------------------------------------------
         c(iterlog) = "on"                       (set iterlog)
--------------------------------------------------------------------------------------------------------------------------------------
           c(level) = 95                         (set level)
          c(clevel) = 95                         (set clevel)
--------------------------------------------------------------------------------------------------------------------------------------
  c(showbaselevels) = ""                         (set showbaselevels)
  c(showemptycells) = ""                         (set showemptycells)
     c(showomitted) = ""                         (set showomitted)
         c(fvlabel) = "on"                       (set fvlabel)
          c(fvwrap) = 1                          (set fvwrap)
        c(fvwrapon) = "word"                     (set fvwrapon)
        c(lstretch) = ""                         (set lstretch)
--------------------------------------------------------------------------------------------------------------------------------------
         c(cformat) = ""                         (set cformat)
         c(sformat) = ""                         (set sformat)
         c(pformat) = ""                         (set pformat)
--------------------------------------------------------------------------------------------------------------------------------------
  c(coeftabresults) = "on"                       (set coeftabresults)
            c(dots) = "on"                       (set dots)

Interface settings

--------------------------------------------------------------------------------------------------------------------------------------
      c(reventries) = 5000                       (set reventries)
      c(fastscroll) = "on"                       (set fastscroll)
         c(linegap) = 1                          (set linegap)
   c(scrollbufsize) = 204800                     (set scrollbufsize)
           c(maxdb) = 50                         (set maxdb)
--------------------------------------------------------------------------------------------------------------------------------------

Graphics settings

--------------------------------------------------------------------------------------------------------------------------------------
        c(graphics) = "on"                       (set graphics)
          c(scheme) = "s2color"                  (set scheme)
      c(printcolor) = "automatic"                (set printcolor)
   c(min_graphsize) = 1                          (region_options)
   c(max_graphsize) = 100                        (region_options)
--------------------------------------------------------------------------------------------------------------------------------------

Network settings

--------------------------------------------------------------------------------------------------------------------------------------
        c(checksum) = "off"                      (set checksum)
        c(timeout1) = 30                         (set timeout1)
        c(timeout2) = 180                        (set timeout2)
--------------------------------------------------------------------------------------------------------------------------------------
       c(httpproxy) = "off"                      (set httpproxy)
   c(httpproxyhost) = ""                         (set httpproxyhost)
   c(httpproxyport) = 8080                       (set httpproxyport)
--------------------------------------------------------------------------------------------------------------------------------------
   c(httpproxyauth) = "off"                      (set httpproxyauth)
   c(httpproxyuser) = ""                         (set httpproxyuser)
     c(httpproxypw) = ""                         (set httpproxypw)
--------------------------------------------------------------------------------------------------------------------------------------

Trace (program debugging) settings

--------------------------------------------------------------------------------------------------------------------------------------
           c(trace) = "off"                      (set trace)
      c(tracedepth) = 32000                      (set tracedepth)
        c(tracesep) = "on"                       (set tracesep)
     c(traceindent) = "on"                       (set traceindent)
     c(traceexpand) = "on"                       (set traceexpand)
     c(tracenumber) = "off"                      (set tracenumber)
     c(tracehilite) = ""                         (set tracehilite)
--------------------------------------------------------------------------------------------------------------------------------------

Mata settings

--------------------------------------------------------------------------------------------------------------------------------------
      c(matastrict) = "off"                      (set matastrict)
        c(matalnum) = "off"                      (set matalnum)
    c(mataoptimize) = "on"                       (set mataoptimize)
       c(matafavor) = "space"                    (set matafavor)
       c(matacache) = 2000                       (set matacache)
        c(matalibs) = "lmatabase;lmataer.."      (set matalibs)
     c(matamofirst) = "off"                      (set matamofirst)
--------------------------------------------------------------------------------------------------------------------------------------

Java settings

--------------------------------------------------------------------------------------------------------------------------------------
    c(java_heapmax) = "2048m"                    (set java_heapmax)
       c(java_home) = "/usr/local/stata1.."      (set java_home)
--------------------------------------------------------------------------------------------------------------------------------------

putdocx settings

--------------------------------------------------------------------------------------------------------------------------------------
  c(docx_hardbreak) = "off"                      (set docx_hardbreak)
   c(docx_paramode) = "off"                      (set docx_paramode)
--------------------------------------------------------------------------------------------------------------------------------------

Python settings

--------------------------------------------------------------------------------------------------------------------------------------
     c(python_exec) = "/usr/bin/python3"         (set python_exec)
 c(python_userpath) = ""                         (set python_userpath)
--------------------------------------------------------------------------------------------------------------------------------------

RNG settings

--------------------------------------------------------------------------------------------------------------------------------------
             c(rng) = "default"                  (set rng)
     c(rng_current) = "mt64"
        c(rngstate) = "XAA00000000000000.."      (set rngstate)
   c(rngseed_mt64s) = 123456789
       c(rngstream) = 1                          (set rngstream)
--------------------------------------------------------------------------------------------------------------------------------------

Unicode settings

--------------------------------------------------------------------------------------------------------------------------------------
       c(locale_ui) = "de_DE"                    (set locale_ui)
c(locale_functions) = "de_DE"                    (set locale_functions)
  c(locale_icudflt) = "de_DE"                    (unicode locale)
--------------------------------------------------------------------------------------------------------------------------------------

Other settings

--------------------------------------------------------------------------------------------------------------------------------------
            c(type) = "float"                    (set type)
         c(maxiter) = 300                        (set maxiter)
   c(searchdefault) = "all"                      (set searchdefault)
       c(varabbrev) = "on"                       (set varabbrev)
      c(emptycells) = "keep"                     (set emptycells)
         c(fvtrack) = "term"                     (set fvtrack)
          c(fvbase) = "on"                       (set fvbase)
         c(odbcmgr) = "iodbc"                    (set odbcmgr)
      c(odbcdriver) = "unicode"                  (set odbcdriver)
         c(fredkey) = ""                         (set fredkey)
--------------------------------------------------------------------------------------------------------------------------------------

Other

--------------------------------------------------------------------------------------------------------------------------------------
              c(pi) = 3.141592653589793
           c(alpha) = "a b c d e f g h i.."
           c(ALPHA) = "A B C D E F G H I.."
            c(Mons) = "Jan Feb Mar Apr M.."
          c(Months) = "January February .."
           c(Wdays) = "Sun Mon Tue Wed T.."
        c(Weekdays) = "Sunday Monday Tue.."
              c(rc) = 0                          (capture)
--------------------------------------------------------------------------------------------------------------------------------------

.

gvegayon commented 1 year ago

What version of parallel are you using? If you add the option keeplast, you get to see the do file parallel wrote submitting the bs command.

fbittmann commented 1 year ago

I reinstalled the newest version from Github (1.20.0 19mar2019) but get the same result. The level option is ignored in the final result. As you see, the results are identical, even if the level option differs. In the parallel log looks like this:

`   
beginning of file -/tmp/__pllopzeot4ac6_do0001.log-               

. capture {
clear
set processors 1
cd "/home/username/"
sysdir set PERSONAL "~/ado/personal/"
sysdir set PLUS "~/ado/plus/"
global S_ADO = `"BASE;SITE;.;PERSONAL;PLUS;OLDPLACE"'
mata: mata mlib index
mata: mata set matalibs "lmatabase;lmataerm;lmatameta;lmatapath;lmatapss;lmat
> aopt;lmatasp;lmatafc;lmatapostest;lmatamixlog;lmatagsem;lmatalasso;lmatasem;l
> mataado;lmatami;lmatamcmc;lmatatab;lmatanumlib;lmatasvy;lparallel;lmoremata11
> ;lelabel;lcolrspace;lgtools;lboottest;lconfa;lmoremata;lkhb;lcem;lmoremata10;
> lmoremata14;lxtseqreg;lasrol;lkdens;l__pllopzeot4ac6_mlib"
set seed 123
noi di "{hline 80}"

> -
noi di "Parallel computing with Stata"
Parallel computing with Stata
noi di "{hline 80}"

> -
noi di `"cmd/dofile   : "__pllopzeot4ac6_bs_simul.do""'
cmd/dofile   : "__pllopzeot4ac6_bs_simul.do"
noi di "pll_id       : opzeot4ac6"
pll_id       : opzeot4ac6
noi di "pll_instance : 1/2"
pll_instance : 1/2
noi di "tmpdir       : `c(tmpdir)'"
tmpdir       : /tmp/__pllopzeot4ac6_tmpdir0001
noi di "date-time    : `c(current_time)' `c(current_date)'"
date-time    : 23:00:20 24 Mar 2023
noi di "seed         : `c(seed)'"
seed         : XAA000000000000007b6f6051c3cbd41aa0d6923e3159338d4fc38be93d0e648
> a5f6bc485a33fdbf6304ca2ed1a2f5195a2871717a346722aad4ada5987d11951ca7590324f30
> 2e15b7d1142314ffcd1b07c62cebb1a0c8bbbefdf6ddc7396cc3444a208743c9518c87a8b6358
> 66a0a2d9b77f4ac96a675eaf3d1f5ebfb59225a99e42bf55d299e53223f88a3a70a46fbde4342
> 8e9285a36818173c2b7590eab37856dde888fd22142c32b4b8648130defee297440d260d34bc0
> 153df1ba4a806aa8b12da33a5c981fab59b83c9613de0b1427924d3b6884c91ca78ea2403c0e5
> 6b64f3ecd9c03eeb643790dfe7ff9f7bde47ccf2370db1e824c289bf70c3f929a0920e4e13ae5
> 32ec77ffca1de9d7bf3c21cdb0f0bf136966929b5afa5325387985a2da098546b3ddcc7274949
> a82b82fe779b630f7ee2899f721ffd26b10d92ed6e6289a36ea1e7a4b105b69e9369932a2b21e
> 72bcfd7b632ed3d103d6f67d4f52dafe6f71314796acbd4ba7da586edcf4618c031006c010a22
> cd11ed86e7a41e89dfb77f0e98bb7610dba382e05b7f952e55dba1521958630c56d77ad6eca69
> a1f953b7bdde1af469b95938ac25d8983ca44cac0e5bd2ae335253f15aee5a9972e2c8e233663
> b8c380510d5775af37806f8be91183004014a11141edaf0eaeecbcaa57f086e2d2121fc1cd633
> f64dd0d6c136d82b2f54e87594d9865a31147cd0ad34efe9663d31c4ac7260e2493002d01e699
> f98488dbfe16996239a407ade99ec44290093d293904d02c1c7a8b84a41c454135a4c7ad1a31f
> a785a7e1b53d94b392068f2b3646d20acde0f2b363b45020ffe647b18a66bc2d8c44a7e2b561a
> 77e2b8dd35e189b151e081b2bf63843d482cd817ca0402da499fcb142d9625cea509c229f5a15
> 6b38b5fbffc38630c6efe0937a1576ec34eb50f4fb7d92c87dc524951554071045a30cc2605f1
> fde954ffa6efea3e46b01a915e64e2ee565bbc0437e4068a4762be07957402991e9dbf6ef5aaa
> 49ece7bed9fe11d2c8a21dcd7a1cd8210d87a7ccd8ab4d115e9eda1c0c40aaa55bfeead78bf7c
> c754a19b83feb8eca40b307c37ac0cd81d6f35bb1bf727f780d3df8673cd3df683cd40660e6c1
> d283eb167f41d607c93ab6ef95bca45930ef0a3480e4a5adaa56d4e269cb9dfeb8f57f606ccd0
> 14e8a9c6a5be9efd7418a244673bf397551a4b1088b25dc55cdd9cc0db0df05598e2bed0f684e
> df1ac1cb4514807944d312456bb4460e1e10c5cb54878a255838c5b40f859625c133ac508322d
> ad10a6d1baaba2041ee9815d10882012c684df273b17573945c29350905741b847d895865cdf2
> eaf4912c4aba6a3de4116cee85a4062c6a102da7ff177bf8f0f9c908daae2c0d1aa7437bc8a73
> 76531c7c111b9129482002167e48cd1be66eacd5a17f872f1491f2f93a643aac927c4954be64b
> 2d65e859333db037128cdf8229d8f298c7849bc847642c21febef37b5cb7f01ca068904b17d33
> 07da9d510ea99cbf87d8c7e779b45bf207d99f5765d6855287daa7a62d2e919e09814c413f426
> cbea9914d7d063f24723edb259c61a7622532ded5c1e7e337fc1393fb82978d07d3e0de830a3a
> 98f96d2a68611b426427ed0b32fe5a8bab45e8458839bcdf0e423b2f012c569df0a84dc2c074a
> 76d9f83087c5467720ed5d7a506868dd60449a6d21f51813161e46fc8af2e7a8be72739c99f54
> 17739b2826f52d8a146530dcf40277dc9d5ab69530f136479ed88223567bc5bdf6874b6f67068
> 4301cea45b26d698a95bbdf28677c0647d0ab53459c0ff5ce8a75d4d9a354d2c689d6efc05066
> b25e8a96a39d0b3bfd95b8f126fa79b61c98565420af8c1811f296c4ab429328638e31229f6bd
> a1824cd71dcaaf2969f282c85ec3578969a244e374302b66e0f718bce4f553cfcdecc450eaa08
> ec0225e5954f822c66a9503d72369b349f607eb8dfd298bb1e700197883f6d71ead7dbba36699
> 7e439c38b4128f96cdbfeab2bdfb9d18ee78ccb9991da43cadec115adbe9d219c2c6f92a73f7d
> af1eda8a6c6732eb1f4fad2b2373a2b62a60a3c8f0d7005b47c4afce9ae015c60730e4a88da16
> 3cb6ed8660dc5ef7c551126b50662a288e2e680bf656ed27dfd2bcc5e4d990599d7f3bd983183
> 3cdb05ef67e72f2829619e6982bd3fb6c6467109c0b98afbdbdd54b12d6098999686320dfb2ba
> 7ec05fc400d2bf394c0a144353bcfff69bcaebca12561d270295e382e75d6897be4e86fb72c6f
> f8c936d9de850c74333a05fcafd713a3e267c42c14bcf5f87202f05926c137e944ab87c8ecc2f
> 111d7abc3152e5358836093f956b54f470181b308cf5b2af13382d89737991c2e5b4bb3bac9aa
> c6e8ea6260491d4f8ec8b1a175c5fef9cf83923febf8d1ef798239d88ed66bdedc560c2520724
> b8965f5156b98de845477e9fb68837b20f2abce095001450833e6e38e5198dbf6c933c24ae875
> 5050ca599c0072f42c5a67a476aa4cb0890f7c739ca77ee74ea931b5a561c904fab50dc83b7e1
> 7328c6b82f91381e9f15b2f0fb70c6c913d53c4b9205936535b235ece585c5e3239c0c5a72d11
> 28c1a06ea80ddcb6994f4a67e8dc16e5cc10b24a067fa083784ef2aadf8eb76962e346bcb89ad
> 632aa33bb6e1329f4e2307ab559353b2c4c53ede80a0e9c7e493fc6903f140feb9633ef6e9d12
> f9d44d04a549feb30d8579af0a615cca047e36bba2cec0a1a9fc1657c4d65966933c776f4489f
> d4b8e2bb237a3633162da7c6c583024cf3efd73f233002e556f81efae7b2ffab43804748e0174
> 2fcd59d66f1ca2c87161271c6ce6ae8fc86e0ab8410fe47096800339e34552dcb19258aaae4bb
> 2ec42cdab895a00d4de1e4445f5d15943ca77c0d07373d2298ec5f9f8900a18ff20e44d264baf
> 3ad9a94aa62f681508016c3d7d7b2328f3a237f97b0fedc0bcba93bb8855ff246c5942a5478cf
> 1fa5d71771dd5d948a734749f46a04a91b05a41f552510b102609630837d4775ca873d6257689
> d5342b1630c961d7aac3febe3187a3b9ec6a0a744bc57f2daf576373a5ab2770e60c0a1adbfd0
> f316917af49aba0b9a737318714d07c21926d86a9f1cd6fcc71d0d4ee9e7bd9bef9d52ed5aefe
> fcda22081861d9e266288f30b65a6901a693f21e9a7bba9f9dd3153fcb06cb7b84d1e58e0ae96
> ff57690cde6be9b71fac177ca6ff8e2260c808fa1c2791c9e954b43abd4726ae443a7c45b9b02
> e58d5dd4d471d9decebc91c3426044bb1b5a057ba881f1ac779a9bbfc0b15f486d358f0d71b19
> 2ec7ccfe41f20d4a4cca42e3623aee4679c300f42bd785c1f06e4ca535aaa344dddedd74057d9
> 37be8df9c7c6e384ec161c22f8569d1759b863ac4a17a04b9767a57f5b27d6fa29763c892c926
> e61a2b74cf1ea7b760feb10909ef7ef2666253575fc6ec6c5d1d53568735a8947daa7c3626ed7
> 4c161a0deb4227a44e60496f3b54d4359b54ab7f75731a59f029467c1a45c835996ea064cc04f
> cb5000100000138248b
noi di "{hline 80}"

> -
local pll_instance 1
local pll_id opzeot4ac6
global pll_instance 1
global pll_id opzeot4ac6
mata: for(i=1;i<=1;i++) PLL_QUIET = st_tempname()
}

. local result = _rc

. if (c(rc)) {
. cd "/home/username/"
. mata: parallel_write_diagnosis(strofreal(c("rc")),"/home/username/__pllopzeot4a
> c6_finito0001","while setting memory")
. clear
. exit
. }

. 
. * Checking for break *

. mata: parallel_break()

. 
. * Loading Globals *

. capture {
cap run "/home/username/__pllopzeot4ac6_glob.do"
}

. if (c(rc)) {
.   cd "/home/username/"
.   mata: parallel_write_diagnosis(strofreal(c("rc")),"/home/username/__pllopzeot
> 4ac6_finito0001","while loading globals")
.   clear
.   exit
. }

. 
. * Checking for break *

. mata: parallel_break()

. capture {
noisily {
. 
. * Checking for break *
. mata: parallel_break()
.     use __pllopzeot4ac6_bs_dta.dta, clear
(1978 Automobile Data)
.     if (`pll_instance'==$PLL_CHILDREN) local reps = 100
.     else local reps = 100
.     local pll_instance : di %04.0f `pll_instance'
.     bs , sav(__pll`pll_id'_bs_eststore`pll_instance', replace  ) level(90) re
> p(`reps'): reg weight mpg 
(running regress on estimation sample)
(note: file __pllopzeot4ac6_bs_eststore0001.dta not found)

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

Linear regression                               Number of obs     =         74
Replications      =        100
Wald chi2(1)      =      77.46
Prob > chi2       =     0.0000
R-squared         =     0.6515
Adj R-squared     =     0.6467
Root MSE          =   461.9620

Observed   Bootstrap                         Normal-based
weight       Coef.   Std. Err.      z    P>z     [90% Conf. Interval]

mpg   -108.4316   12.32049    -8.80   0.000     -128.697   -88.16615
_cons    5328.759   247.1905    21.56   0.000     4922.166    5735.351

.   }
}

. if (c(rc)) {
.   cd "/home/username/"
.   mata: parallel_write_diagnosis(strofreal(c("rc")),"/home/username/__pllopzeot
> 4ac6_finito0001","while running the command/dofile")
.   clear
.   exit
. }

. mata: parallel_write_diagnosis(strofreal(c("rc")),"/home/username/__pllopzeot4a
> c6_finito0001","while executing the command")

. cd "/home/username/"
/home/username

. 

end of file -/tmp/__pllopzeot4ac6_do0001.log-                  

`