------------------------------------------------------------------------------- log: C:\~SLJF\makeverifyfiles\spostverify\done\prgenverify.log log type: text opened on: 25 Mar 2001, 14:06:33 . * prgen: version 1.6.0 . * verified: 3/25/01 . which prgen c:\stata\ado\stbplus\p\prgen.ado *! version 1.6.0 1/17/01 pr(Always0|x) . use gsstestdata, clear . . * logit and logistic . qui logit feminist age educ lesbian liberal . set trace off . prgen age, x(lesbian 0 educ 12) from(30) to(70) g(logit) logit: Predicted values as age varies from 30 to 70. age educ lesbian liberal x= 45.138965 12 0 2.9019074 . su logit* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- logitx | 11 50 13.2665 30 70 logitp0 | 11 .7248748 .0252553 .6858438 .7619434 logitp1 | 11 .2751252 .0252553 .2380566 .3141561 . qui logit feminist age educ lesbian liberal . set trace off . prgen age, x(lesbian 0 educ 12) from(30) to(70) g(lstic) logit: Predicted values as age varies from 30 to 70. age educ lesbian liberal x= 45.138965 12 0 2.9019074 . su lstic* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- lsticx | 11 50 13.2665 30 70 lsticp0 | 11 .7248748 .0252553 .6858438 .7619434 lsticp1 | 11 .2751252 .0252553 .2380566 .3141561 . . * probit . qui probit feminist age educ lesbian liberal . prgen educ, x(age 40) rest(mean) g(probi) probit: Predicted values as educ varies from 0 to 20. age educ lesbian liberal x= 40 13.519074 .02452316 2.9019074 . su probi* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- probix | 11 10 6.63325 0 20 probip0 | 11 .7576506 .0741712 .6379364 .8603063 probip1 | 11 .2423494 .0741712 .1396937 .3620636 . . * cloglog . qui cloglog feminist age educ lesbian liberal . prgen age, x(lesbian 1) rest(grmean) g(clogl) cloglog: Predicted values as age varies from 18 to 89. age educ lesbian liberal x= 38.833333 13.833333 1 3.5555556 . su clogl* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- cloglx | 11 53.5 23.54804 18 89 cloglp0 | 11 .6446284 .0526629 .5616099 .7201651 cloglp1 | 11 .3553716 .0526628 .2798349 .4383901 . . * ologit . qui ologit mchilds age educ lesbian liberal . prgen age, x(age max educ min) g(ologi) ologit: Predicted values as age varies from 18 to 89. age educ lesbian liberal x= 89 0 .02450331 2.8768212 . su ologi* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- ologix | 11 53.5 23.54804 18 89 ologip0 | 11 .0395018 .0339905 .0064918 .1099372 ologis0 | 11 .0395018 .0339905 .0064918 .1099372 ologip1 | 11 .0554244 .042545 .0105914 .1373541 ologis1 | 11 .0949262 .0764772 .0170833 .2472913 ologip2 | 11 .1697215 .095408 .0467584 .3158534 ologis2 | 11 .2646477 .1706299 .0638417 .5631447 ologip3 | 11 .7353523 .17063 .4368553 .9361583 ologis3 | 11 1 0 1 1 . * check unusual values . recode irchilds 0=-3 (375 changes made) . qui ologit irchilds age educ lesbian liberal . prgen age, x(age max educ min) g(olog2) ologit: Predicted values as age varies from 18 to 89. age educ lesbian liberal x= 89 0 .02450331 2.8768212 . su olog2* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- olog2x | 11 53.5 23.54804 18 89 olog2p_3 | 11 .0395018 .0339905 .0064918 .1099372 olog2s_3 | 11 .0395018 .0339905 .0064918 .1099372 olog2p3 | 11 .0554244 .042545 .0105914 .1373541 olog2s3 | 11 .0949262 .0764772 .0170833 .2472913 olog2p9 | 11 .1697215 .095408 .0467584 .3158534 olog2s9 | 11 .2646477 .1706299 .0638417 .5631447 olog2p37 | 11 .7353523 .17063 .4368553 .9361583 olog2s37 | 11 1 0 1 1 . . * oprobit . qui oprobit mchilds age educ lesbian liberal . prgen age, x(age mean educ 12) rest(upper) g(oprob) oprobit: Predicted values as age varies from 18 to 89. age educ lesbian liberal x= 45.007947 12 0 0 . su oprob* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- oprobx | 11 53.5 23.54804 18 89 oprobp0 | 11 .122359 .098828 .0165544 .3092373 oprobs0 | 11 .122359 .098828 .0165544 .3092373 oprobp1 | 11 .1361837 .0636859 .0439507 .2235195 oprobs1 | 11 .2585427 .1608728 .0605051 .5327568 oprobp2 | 11 .2704125 .0493086 .1709893 .3169513 oprobs2 | 11 .5289552 .199833 .2314944 .8156243 oprobp3 | 11 .4710448 .199833 .1843757 .7685056 oprobs3 | 11 1 0 1 1 . . * mlogit . qui mlogit mchilds age educ lesbian liberal . prgen age, x(liberal 4 educ 12) g(mlogi) mlogit: Predicted values as age varies from 18 to 89. age educ lesbian liberal x= 45.007947 12 .02450331 4 . su mlogi* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- mlogix | 11 53.5 23.54804 18 89 mlogip0 | 11 .1623446 .1313746 .0214534 .4051052 mlogis0 | 11 .1623446 .1313746 .0214534 .4051052 mlogip1 | 11 .1753867 .0727653 .0669844 .2675062 mlogis1 | 11 .3377312 .2016486 .0884378 .6726114 mlogip2 | 11 .2890585 .038576 .2053993 .3259764 mlogis2 | 11 .6267897 .174791 .3696765 .8780107 mlogip3 | 11 .3732103 .174791 .1219892 .6303235 mlogis3 | 11 1 1.80e-08 .9999999 1 . * check unusual values . qui mlogit irchilds age educ lesbian liberal . prgen age, x(age max educ min) g(mlog2) mlogit: Predicted values as age varies from 18 to 89. age educ lesbian liberal x= 89 0 .02450331 2.8768212 . su mlog2* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- mlog2x | 11 53.5 23.54804 18 89 mlog2p_3 | 11 .019191 .0207436 .0012915 .0642516 mlog2s_3 | 11 .019191 .0207436 .0012915 .0642516 mlog2p3 | 11 .1348171 .0945002 .0293038 .3083222 mlog2s3 | 11 .1540081 .1148978 .0305953 .3725738 mlog2p9 | 11 .1464571 .0317941 .0941347 .1816091 mlog2s9 | 11 .3004652 .1442784 .12473 .5537057 mlog2p37 | 11 .6995348 .1442784 .4462943 .87527 mlog2s37 | 11 1 0 1 1 . . * poisson . qui poisson ctchilds age educ lesbian liberal feminist . prgen liberal, x(age 40 educ 12) g(poiss) poisson: Predicted values as liberal varies from 0 to 6. age educ lesbian liberal feminist x= 40 12 .02465753 2.9013699 .29452055 . su poiss* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- poissx | 11 3 1.989975 0 6 poissmu | 11 1.777805 .1617581 1.543936 2.031738 poissp0 | 11 .1710155 .0273803 .1311075 .213539 poisss0 | 11 .1710155 .0273803 .1311075 .213539 poissp1 | 11 .300015 .021081 .2663761 .3296905 poisss1 | 11 .4710305 .0484156 .3974836 .5432295 poissp2 | 11 .2651344 .0056321 .2545105 .2706336 poisss2 | 11 .7361649 .043059 .6680867 .79774 poissp3 | 11 .1573806 .0174243 .1309826 .1832649 poisss3 | 11 .8935455 .0256804 .8513516 .9287226 poissp4 | 11 .0705879 .0141415 .0505572 .0930865 poisss4 | 11 .9641333 .0115537 .9444381 .9792798 poissp5 | 11 .0255141 .007376 .0156114 .0378255 poisss5 | 11 .9896475 .0041821 .9822636 .9948912 poissp6 | 11 .0077403 .0029148 .0040172 .0128086 poisss6 | 11 .9973878 .0012685 .9950721 .9989084 poissp7 | 11 .0020267 .0009372 .000886 .0037177 poisss7 | 11 .9994145 .0003316 .9987898 .9997944 poissp8 | 11 .0004674 .0002554 .000171 .0009442 poisss8 | 11 .9998819 .0000762 .9997339 .9999654 poissp9 | 11 .0000964 .0000606 .0000293 .0002131 poisss9 | 11 .9999783 .0000156 .9999471 .9999948 . . * nbreg . qui nbreg ctchilds age educ lesbian liberal . prgen liberal, x(age 40 educ 12 liberal 3) g(nbreg) nbreg: Predicted values as liberal varies from 0 to 6. age educ lesbian liberal x= 40 12 .02450331 3 . su nbreg* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- nbregx | 11 3 1.989975 0 6 nbregmu | 11 1.787974 .1709509 1.541348 2.056881 nbregp0 | 11 .1790092 .0284414 .1375542 .2231779 nbregs0 | 11 .1790092 .0284414 .1375542 .2231779 nbregp1 | 11 .2965325 .0208132 .2632816 .3257738 nbregs1 | 11 .4755416 .0492069 .4008358 .5489517 nbregp2 | 11 .2563786 .0052009 .2463947 .2612992 nbregs2 | 11 .7319203 .0443114 .6619421 .7953465 nbregp3 | 11 .1540693 .0167032 .1285887 .1786777 nbregs3 | 11 .8859895 .0276596 .8406197 .9239352 nbregp4 | 11 .0723117 .014229 .0520338 .0948057 nbregs4 | 11 .9583012 .0134485 .9354255 .975969 nbregp5 | 11 .0282406 .0080277 .0173957 .0415598 nbregs5 | 11 .9865418 .0054268 .9769853 .9933647 nbregp6 | 11 .0095484 .0035376 .005 .0156632 nbregs6 | 11 .9960902 .0018911 .9926484 .9983647 nbregp7 | 11 .0028715 .0013069 .0012696 .0052153 nbregs7 | 11 .9989616 .0005847 .9978637 .9996343 nbregp8 | 11 .0007832 .0004213 .0002905 .0015647 nbregs8 | 11 .9997448 .0001636 .9994285 .9999248 nbregp9 | 11 .0001966 .0001216 .0000608 .0004294 nbregs9 | 11 .9999414 .000042 .9998578 .9999856 . . * zip . qui zip zchilds age educ lesbian liberal, inf(age faminc liberal) . prgen liberal, x(age 40 educ median faminc 45) g(zip1) zip: Predicted values as liberal varies from 0 to 6. base x values for count equation: age educ lesbian liberal x= 40 13 .0252809 2.883427 base z values for binary equation: age faminc liberal z= 40 45 2.883427 . su zip1* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- zip1x | 11 3 1.989975 0 6 zip1mu | 11 .439077 .1073233 .29221 .6155563 zip1p0 | 11 .8720646 .0419359 .8022004 .9281973 zip1s0 | 11 .8720646 .0419359 .8022004 .9281973 zip1p1 | 11 .1002668 .0271986 .0618221 .1431278 zip1s1 | 11 .9723314 .0148399 .9453282 .9900194 zip1p2 | 11 .0233384 .0116609 .0090325 .0440516 zip1s2 | 11 .9956698 .0031959 .9893798 .999052 zip1p3 | 11 .0037936 .0027014 .0008798 .0090387 zip1s3 | 11 .9994635 .0004966 .9984185 .9999318 zip1p4 | 11 .0004812 .0004361 .0000643 .001391 zip1s4 | 11 .9999446 .0000607 .9998095 .9999961 zip1p5 | 11 .0000504 .0000546 3.76e-06 .0001712 zip1s5 | 11 .9999951 6.16e-06 .9999807 .9999998 zip1p6 | 11 4.53e-06 5.62e-06 1.83e-07 .0000176 zip1s6 | 11 .9999996 5.40e-07 .9999983 1 zip1p7 | 11 3.55e-07 4.92e-07 7.64e-09 1.54e-06 zip1s7 | 11 1 5.21e-08 .9999999 1 zip1p8 | 11 2.48e-08 3.76e-08 2.79e-10 1.19e-07 zip1s8 | 11 1 3.11e-08 .9999999 1 zip1p9 | 11 1.56e-09 2.56e-09 9.06e-12 8.13e-09 zip1s9 | 11 1 3.11e-08 .9999999 1 zip1all0 | 11 .6452238 .0488445 .5696826 .7166299 . . qui zip zchilds age educ lesbian liberal, inf(age faminc liberal) . prgen liberal, x(age 40 educ median faminc 45) g(zip2) maxcnt(12) zip: Predicted values as liberal varies from 0 to 6. base x values for count equation: age educ lesbian liberal x= 40 13 .0252809 2.883427 base z values for binary equation: age faminc liberal z= 40 45 2.883427 . su zip2* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- zip2x | 11 3 1.989975 0 6 zip2mu | 11 .439077 .1073233 .29221 .6155563 zip2p0 | 11 .8720646 .0419359 .8022004 .9281973 zip2s0 | 11 .8720646 .0419359 .8022004 .9281973 zip2p1 | 11 .1002668 .0271986 .0618221 .1431278 zip2s1 | 11 .9723314 .0148399 .9453282 .9900194 zip2p2 | 11 .0233384 .0116609 .0090325 .0440516 zip2s2 | 11 .9956698 .0031959 .9893798 .999052 zip2p3 | 11 .0037936 .0027014 .0008798 .0090387 zip2s3 | 11 .9994635 .0004966 .9984185 .9999318 zip2p4 | 11 .0004812 .0004361 .0000643 .001391 zip2s4 | 11 .9999446 .0000607 .9998095 .9999961 zip2p5 | 11 .0000504 .0000546 3.76e-06 .0001712 zip2s5 | 11 .9999951 6.16e-06 .9999807 .9999998 zip2p6 | 11 4.53e-06 5.62e-06 1.83e-07 .0000176 zip2s6 | 11 .9999996 5.40e-07 .9999983 1 zip2p7 | 11 3.55e-07 4.92e-07 7.64e-09 1.54e-06 zip2s7 | 11 1 5.21e-08 .9999999 1 zip2p8 | 11 2.48e-08 3.76e-08 2.79e-10 1.19e-07 zip2s8 | 11 1 3.11e-08 .9999999 1 zip2p9 | 11 1.56e-09 2.56e-09 9.06e-12 8.13e-09 zip2s9 | 11 1 3.11e-08 .9999999 1 zip2p10 | 11 8.95e-11 1.56e-10 2.65e-13 5.00e-10 zip2s10 | 11 1 3.11e-08 .9999999 1 zip2p11 | 11 4.71e-12 8.69e-12 7.03e-15 2.80e-11 zip2s11 | 11 1 3.11e-08 .9999999 1 zip2p12 | 11 2.28e-13 4.43e-13 1.71e-16 1.44e-12 zip2s12 | 11 1 3.11e-08 .9999999 1 zip2all0 | 11 .6452238 .0488445 .5696826 .7166299 . . * zinb . qui zinb zchilds age educ lesbian liberal, inf(age educ faminc) . prgen faminc, x(age 40 educ 12 faminc 45) g(zinb1) zinb: Predicted values as faminc varies from .5 to 90. base x values for count equation: age educ lesbian liberal x= 40 12 .0252809 2.883427 base z values for binary equation: age educ faminc z= 40 12 45 . su zinb1* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- zinb1x | 11 45.25 29.68379 .5 90 zinb1mu | 11 .6679077 .0082847 .6551725 .6801489 zinb1p0 | 11 .6718753 .0065097 .6622325 .6818568 zinb1s0 | 11 .6718753 .0065097 .6622325 .6818568 zinb1p1 | 11 .1967781 .0029275 .192273 .2010987 zinb1s1 | 11 .8686534 .0035823 .8633312 .8741298 zinb1p2 | 11 .0787839 .0017581 .0760874 .0813875 zinb1s2 | 11 .9474374 .0018241 .9447187 .9502172 zinb1p3 | 11 .0315306 .0009381 .0300967 .0329244 zinb1s3 | 11 .9789679 .0008861 .9776431 .9803139 zinb1p4 | 11 .0126169 .0004691 .0119023 .0133163 zinb1s4 | 11 .9915848 .000417 .9909593 .9922162 zinb1p5 | 11 .0050482 .0002252 .0047064 .0053851 zinb1s5 | 11 .9966331 .0001918 .9963444 .9969225 zinb1p6 | 11 .0020198 .0001051 .0018608 .0021775 zinb1s6 | 11 .9986529 .0000867 .9985219 .9987833 zinb1p7 | 11 .0008081 .000048 .0007357 .0008805 zinb1s7 | 11 .999461 .0000387 .9994024 .999519 zinb1p8 | 11 .0003233 .0000216 .0002908 .000356 zinb1s8 | 11 .9997844 .0000171 .9997584 .9998099 zinb1p9 | 11 .0001294 9.61e-06 .000115 .0001439 zinb1s9 | 11 .9999137 7.47e-06 .9999023 .9999248 zinb1all0 | 11 .1809991 .0101588 .1659887 .1966152 . . qui zinb zchilds age educ lesbian liberal, inf(age educ faminc) . prgen liberal, x(age 40 educ median faminc 45) g(zinb2) maxcnt(6) from(3) to( > 6) zinb: Predicted values as liberal varies from 3 to 6. base x values for count equation: age educ lesbian liberal x= 40 13 .0252809 2.883427 base z values for binary equation: age educ faminc z= 40 13 45 . su zinb2* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- zinb2x | 11 4.5 .9949874 3 6 zinb2mu | 11 .4823194 .0484972 .4125156 .5587704 zinb2p0 | 11 .752359 .0168138 .7266185 .7772907 zinb2s0 | 11 .752359 .0168138 .7266185 .7772907 zinb2p1 | 11 .1669387 .0058933 .1577135 .1754377 zinb2s1 | 11 .9192977 .0109332 .9020562 .9350042 zinb2p2 | 11 .0543028 .0055902 .0460342 .0628657 zinb2s2 | 11 .9736005 .0053472 .9649219 .9810385 zinb2p3 | 11 .0177299 .0030171 .0134308 .0225173 zinb2s3 | 11 .9913304 .0023317 .9874392 .9944693 zinb2p4 | 11 .0058114 .0013762 .0039177 .0080635 zinb2s4 | 11 .9971418 .0009561 .9955027 .998387 zinb2p5 | 11 .0019123 .0005788 .0011426 .0028872 zinb2s5 | 11 .9990541 .0003776 .9983898 .9995296 zinb2p6 | 11 .0006317 .0002323 .0003332 .0010337 zinb2s6 | 11 .9996858 .0001454 .9994235 .9998628 zinb2all0 | 11 .2376666 0 .2376666 .2376666 . . use nels_censored2, clear (nels_censored.dta after compress.) . *make variable for tobit . . qui tobit tobiscor bymomed bydaded byincome black hispanic pctlunch, ul(125) > ll(75) . prgen byincome, x(bymomed 3 black 1) rest(grmedian) g(tobit) tobit: Predicted values as byincome varies from 0 to 200. bymomed bydaded byincome black hispanic pctlunch x= 3 3 22.5 1 0 40 . su tobit* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- tobitx | 11 100 66.3325 0 200 tobitxb | 11 94.76985 3.363291 89.6995 99.8402 . . qui regress realscor bymomed bydaded byincome black hispanic pctlunch . prgen pctlunch, x(bymomed 3 black 1) rest(grmean) g(regr1) regress: Predicted values as pctlunch varies from 0 to 87.5. bymomed bydaded byincome black hispanic pctlunch x= 3 3.0142857 25.110714 1 0 35.542857 . su regr1* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- regr1x | 11 43.75 29.02047 0 87.5 regr1xb | 11 91.68983 2.289362 88.23849 95.14117 . . qui cnreg testscor bymomed bydaded byincome black hispanic pctlunch, censored > (censor) . prgen byincome, x(bymomed 3 black 1) g(cnreg) cnreg: Predicted values as byincome varies from 0 to 200. bymomed bydaded byincome black hispanic pctlunch x= 3 3.355953 44.043661 1 .1067859 21.906716 . su cnreg* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- cnregx | 11 100 66.3325 0 200 cnregxb | 11 95.71103 3.49974 90.43497 100.9871 . . qui intreg minscor maxscor bymomed bydaded byincome black hispanic pctlunch . prgen pctlunch, x(bymomed 3 black 1) rest(max) g(intre) intreg: Predicted values as pctlunch varies from 0 to 87.5. bymomed bydaded byincome black hispanic pctlunch x= 3 7 200 1 1 87.5 . su intre* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- intrex | 11 43.75 29.02047 0 87.5 intrexb | 11 102.822 2.355071 99.27156 106.3724 . . use couart2, clear (Academic Biochemists / S Long) . quietly poisson art fem mar kid5 phd ment, nolog . prgen ment, gen(prm) n(10) poisson: Predicted values as ment varies from 0 to 77. fem mar kid5 phd ment x= .46010929 .66229508 .49508197 3.1031093 8.7672131 . sum prm* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- prmx | 10 38.5 25.90323 0 77 prmmu | 10 4.159428 2.645546 1.287051 9.199462 prmp0 | 10 .0776894 .0970458 .0001011 .2760837 prms0 | 10 .0776894 .0970458 .0001011 .2760837 prmp1 | 10 .1442745 .1366085 .00093 .3553339 prms1 | 10 .221964 .2311997 .0010311 .6314176 prmp2 | 10 .155526 .1059613 .0042778 .2706668 prms2 | 10 .3774899 .3246081 .0053089 .8600841 prmp3 | 10 .1354891 .0728214 .0131178 .2237785 prms3 | 10 .5129791 .3623436 .0184267 .9581859 prmp4 | 10 .1101538 .0620227 .0301691 .1947112 prms4 | 10 .6231329 .3595985 .0485958 .9897513 prmp5 | 10 .0888342 .0608876 .0081253 .1745599 prms5 | 10 .7119671 .3321919 .1041038 .9978766 prmp6 | 10 .0719908 .0605744 .0017429 .1605781 prms6 | 10 .7839578 .2905883 .189211 .9996196 prmp7 | 10 .0581276 .0591203 .0003205 .1474218 prms7 | 10 .8420855 .2418337 .3010597 .9999401 prmp8 | 10 .0461235 .055792 .0000516 .136247 prms8 | 10 .8882089 .1914179 .4296782 .9999917 prmp9 | 10 .035524 .0502095 7.37e-06 .131469 prms9 | 10 .9237329 .1438415 .5611472 .999999 . use couart2, clear (Academic Biochemists / S Long) . quietly nbreg art fem mar kid5 phd ment, nolog . prgen ment, gen(nbrm) n(10) nbreg: Predicted values as ment varies from 0 to 77. fem mar kid5 phd ment x= .46010929 .66229508 .49508197 3.1031093 8.7672131 . sum nbrm* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- nbrmx | 10 38.5 25.90323 0 77 nbrmmu | 10 4.851053 3.475419 1.241455 11.65371 nbrmp0 | 10 .1440609 .1229495 .0163771 .3716421 nbrms0 | 10 .1440609 .1229495 .0163771 .3716421 nbrmp1 | 10 .1592199 .0982043 .0310508 .2979986 nbrms1 | 10 .3032809 .2195231 .0474279 .6696407 nbrmp2 | 10 .1354548 .0561819 .0424355 .1938546 nbrms2 | 10 .4387357 .2696245 .0898634 .8418769 nbrmp3 | 10 .1072536 .0315943 .0505067 .1427446 nbrms3 | 10 .5459893 .2858243 .1403701 .9285728 nbrmp4 | 10 .0837051 .0256951 .0404041 .1143049 nbrms4 | 10 .6296945 .2819813 .1960273 .9689769 nbrmp5 | 10 .0657244 .0265462 .0179255 .0948076 nbrms5 | 10 .6954188 .2674928 .254414 .9869025 nbrmp6 | 10 .0522467 .0271228 .0076853 .0814154 nbrms6 | 10 .7476655 .2479304 .3136037 .9945877 nbrmp7 | 10 .042068 .0265387 .003213 .071652 nbrms7 | 10 .7897335 .2264406 .3721154 .9978007 nbrmp8 | 10 .0342537 .0251669 .0013176 .0628801 nbrms8 | 10 .8239873 .2047649 .4288508 .9991183 nbrmp9 | 10 .0281471 .0233851 .0005321 .0573697 nbrms9 | 10 .8521344 .1838492 .4830296 .9996504 . use couart2, clear (Academic Biochemists / S Long) . quietly zip art fem mar kid5 phd ment, inf(fem mar kid5 phd ment) nolog . prgen ment, gen(zip) n(10) zip: Predicted values as ment varies from 0 to 77. base x values for count equation: fem mar kid5 phd ment x= .46010929 .66229508 .49508197 3.1031093 8.7672131 base z values for binary equation: fem mar kid5 phd ment z= .46010929 .66229508 .49508197 3.1031093 8.7672131 . sum zip* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- zipx | 10 38.5 25.90323 0 77 zipmu | 10 3.627636 1.842543 1.108538 6.798772 zipp0 | 10 .1206257 .1806868 .0011322 .55989 zips0 | 10 .1206257 .1806868 .0011322 .55989 zipp1 | 10 .1276637 .0988602 .0075815 .2675008 zips1 | 10 .2482893 .2645865 .0087137 .8002331 zipp2 | 10 .1533451 .0821111 .0257724 .2550718 zips2 | 10 .4016344 .3129534 .0344861 .9334479 zipp3 | 10 .1488209 .0643533 .0492246 .2223537 zips3 | 10 .5504553 .3175658 .0928929 .9826725 zipp4 | 10 .1286772 .0607673 .0136418 .1935614 zips4 | 10 .6791325 .2876251 .1921665 .9963143 zipp5 | 10 .1029794 .0639691 .0030245 .1754348 zips5 | 10 .7821119 .2370104 .3271543 .9993388 zipp6 | 10 .0773115 .0634461 .0005588 .1601888 zips6 | 10 .8594234 .1793664 .4801129 .9998976 zipp7 | 10 .0545951 .0565364 .0000885 .1485615 zips7 | 10 .9140185 .1253104 .6286744 .9999861 zipp8 | 10 .0362233 .0452414 .0000123 .1262545 zips8 | 10 .9502419 .0810941 .7549288 .9999984 zipp9 | 10 .0225455 .0327501 1.51e-06 .095375 zips9 | 10 .9727873 .0487495 .8503039 .9999999 zipall0 | 10 .0559466 .1102674 .0000171 .3430792 . use couart2, clear (Academic Biochemists / S Long) . quietly zinb art fem mar kid5 phd ment, inf(fem mar kid5 phd ment) nolog . prgen ment, gen(zinb) n(10) zinb: Predicted values as ment varies from 0 to 77. base x values for count equation: fem mar kid5 phd ment x= .46010929 .66229508 .49508197 3.1031093 8.7672131 base z values for binary equation: fem mar kid5 phd ment z= .46010929 .66229508 .49508197 3.1031093 8.7672131 . sum zinb* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- zinbx | 10 38.5 25.90323 0 77 zinbmu | 10 4.206246 2.688596 .9142125 9.231905 zinbp0 | 10 .1649259 .1852643 .0186921 .6366317 zinbs0 | 10 .1649259 .1852643 .0186921 .6366317 zinbp1 | 10 .1551742 .0835686 .0385402 .2790309 zinbs1 | 10 .3201001 .2462203 .0572323 .8436307 zinbp2 | 10 .1380937 .0544916 .0546985 .201462 zinbs2 | 10 .4581938 .2725914 .1119308 .9405256 zinbp3 | 10 .1127302 .0379647 .0385107 .1505624 zinbs3 | 10 .570924 .2739012 .1778455 .9790362 zinbp4 | 10 .0893065 .0325623 .0139456 .1210912 zinbs4 | 10 .6602305 .2601072 .2502172 .9929819 zinbp5 | 10 .0701251 .0315866 .0047545 .1012044 zinbs5 | 10 .7303556 .2383276 .3250277 .9977363 zinbp6 | 10 .0550518 .0308115 .0015538 .0870532 zinbs6 | 10 .7854074 .2131828 .3991543 .9992901 zinbp7 | 10 .0433569 .0292084 .0004921 .0760818 zinbs7 | 10 .8287643 .1874894 .470335 .9997822 zinbp8 | 10 .0342894 .0269111 .0001521 .0677385 zinbs8 | 10 .8630537 .1628575 .5370533 .9999343 zinbp9 | 10 .0272286 .0242472 .0000461 .0613448 zinbs9 | 10 .8902823 .1401298 .5983981 .9999804 zinball0 | 10 .0332498 .105053 1.56e-30 .3322358 . . ** test long names . use gsstestdata.dta, clear . rename feminist feminist_stupid_long_name_femini . rename age age_stupid_long_name_age_xxxxxxx . rename educ educ_stupid_long_name_educ_xxxxx . rename lesbian lesbian_stupid_long_name_lesbian . rename liberal liberal_stupid_long_name_liberal . rename faminc faminc_stupid_long_name_famincxx . . qui logit feminist age educ lesbian liberal . set trace off . prgen age, x(lesbian 0 educ 12) from(30) to(70) g(logit_long_variable_name) logit: Predicted values as age_stupid_long_name_age_xxxxxxx varies from 30 to 7 > 0. age_stupid~x educ_stupi~x lesbian_st~n liberal_st~l x= 45.138965 12 0 2.9019074 . su logit* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- logit_long~x | 11 50 13.2665 30 70 logit_long~0 | 11 .7248748 .0252553 .6858438 .7619434 logit_long~1 | 11 .2751252 .0252553 .2380566 .3141561 . . qui ologit mchilds age educ lesbian liberal . prgen age, x(age max educ min) g(ologi_long_variable_name) ologit: Predicted values as age_stupid_long_name_age_xxxxxxx varies from 18 to > 89. age_stupid~x educ_stupi~x lesbian_st~n liberal_st~l x= 89 0 .02450331 2.8768212 . su ologi* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- ologi_long~x | 11 53.5 23.54804 18 89 ologi_lon~p0 | 11 .0395018 .0339905 .0064918 .1099372 ologi_lon~s0 | 11 .0395018 .0339905 .0064918 .1099372 ologi_lon~p1 | 11 .0554244 .042545 .0105914 .1373541 ologi_lon~s1 | 11 .0949262 .0764772 .0170833 .2472913 ologi_lon~p2 | 11 .1697215 .095408 .0467584 .3158534 ologi_lon~s2 | 11 .2646477 .1706299 .0638417 .5631447 ologi_lon~p3 | 11 .7353523 .17063 .4368553 .9361583 ologi_lon~s3 | 11 1 0 1 1 . . qui mlogit mchilds age educ lesbian liberal . prgen age, x(liberal 4 educ 12) g(mlogi_long_variable_name) mlogit: Predicted values as age_stupid_long_name_age_xxxxxxx varies from 18 to > 89. age_stupid~x educ_stupi~x lesbian_st~n liberal_st~l x= 45.007947 12 .02450331 4 . su mlogi* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- mlogi_long~x | 11 53.5 23.54804 18 89 mlogi_lon~p0 | 11 .1623446 .1313746 .0214534 .4051052 mlogi_lon~s0 | 11 .1623446 .1313746 .0214534 .4051052 mlogi_lon~p1 | 11 .1753867 .0727653 .0669844 .2675062 mlogi_lon~s1 | 11 .3377312 .2016486 .0884378 .6726114 mlogi_lon~p2 | 11 .2890585 .038576 .2053993 .3259764 mlogi_lon~s2 | 11 .6267897 .174791 .3696765 .8780107 mlogi_lon~p3 | 11 .3732103 .174791 .1219892 .6303235 mlogi_lon~s3 | 11 1 1.80e-08 .9999999 1 . . qui nbreg ctchilds age educ lesbian liberal . prgen liberal, x(age 40 educ 12 liberal 3) g(nbreg_long_variable_name) nbreg: Predicted values as liberal_stupid_long_name_liberal varies from 0 to 6. age_stupid~x educ_stupi~x lesbian_st~n liberal_st~l x= 40 12 .02450331 3 . su nbreg* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- nbreg_long~x | 11 3 1.989975 0 6 nbreg_long~u | 11 1.787974 .1709509 1.541348 2.056881 nbreg_lon~p0 | 11 .1790092 .0284414 .1375542 .2231779 nbreg_lon~s0 | 11 .1790092 .0284414 .1375542 .2231779 nbreg_lon~p1 | 11 .2965325 .0208132 .2632816 .3257738 nbreg_lon~s1 | 11 .4755416 .0492069 .4008358 .5489517 nbreg_lon~p2 | 11 .2563786 .0052009 .2463947 .2612992 nbreg_lon~s2 | 11 .7319203 .0443114 .6619421 .7953465 nbreg_lon~p3 | 11 .1540693 .0167032 .1285887 .1786777 nbreg_lon~s3 | 11 .8859895 .0276596 .8406197 .9239352 nbreg_lon~p4 | 11 .0723117 .014229 .0520338 .0948057 nbreg_lon~s4 | 11 .9583012 .0134485 .9354255 .975969 nbreg_lon~p5 | 11 .0282406 .0080277 .0173957 .0415598 nbreg_lon~s5 | 11 .9865418 .0054268 .9769853 .9933647 nbreg_lon~p6 | 11 .0095484 .0035376 .005 .0156632 nbreg_lon~s6 | 11 .9960902 .0018911 .9926484 .9983647 nbreg_lon~p7 | 11 .0028715 .0013069 .0012696 .0052153 nbreg_lon~s7 | 11 .9989616 .0005847 .9978637 .9996343 nbreg_lon~p8 | 11 .0007832 .0004213 .0002905 .0015647 nbreg_lon~s8 | 11 .9997448 .0001636 .9994285 .9999248 nbreg_lon~p9 | 11 .0001966 .0001216 .0000608 .0004294 nbreg_lon~s9 | 11 .9999414 .000042 .9998578 .9999856 . . qui zinb zchilds age educ lesbian liberal, inf(age educ faminc) . prgen faminc, x(age 40 educ 12 faminc 45) g(zinb1_long_variable_name) zinb: Predicted values as faminc_stupid_long_name_famincxx varies from .5 to 90 > . base x values for count equation: age_stupid~x educ_stupi~x lesbian_st~n liberal_st~l x= 40 12 .0252809 2.883427 base z values for binary equation: age_stupid~x educ_stupi~x faminc_stu~x z= 40 12 45 . su zinb1* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- zinb1_long~x | 11 45.25 29.68379 .5 90 zinb1_long~u | 11 .6679077 .0082847 .6551725 .6801489 zinb1_lon~p0 | 11 .6718753 .0065097 .6622325 .6818568 zinb1_lon~s0 | 11 .6718753 .0065097 .6622325 .6818568 zinb1_lon~p1 | 11 .1967781 .0029275 .192273 .2010987 zinb1_lon~s1 | 11 .8686534 .0035823 .8633312 .8741298 zinb1_lon~p2 | 11 .0787839 .0017581 .0760874 .0813875 zinb1_lon~s2 | 11 .9474374 .0018241 .9447187 .9502172 zinb1_lon~p3 | 11 .0315306 .0009381 .0300967 .0329244 zinb1_lon~s3 | 11 .9789679 .0008861 .9776431 .9803139 zinb1_lon~p4 | 11 .0126169 .0004691 .0119023 .0133163 zinb1_lon~s4 | 11 .9915848 .000417 .9909593 .9922162 zinb1_lon~p5 | 11 .0050482 .0002252 .0047064 .0053851 zinb1_lon~s5 | 11 .9966331 .0001918 .9963444 .9969225 zinb1_lon~p6 | 11 .0020198 .0001051 .0018608 .0021775 zinb1_lon~s6 | 11 .9986529 .0000867 .9985219 .9987833 zinb1_lon~p7 | 11 .0008081 .000048 .0007357 .0008805 zinb1_lon~s7 | 11 .999461 .0000387 .9994024 .999519 zinb1_lon~p8 | 11 .0003233 .0000216 .0002908 .000356 zinb1_lon~s8 | 11 .9997844 .0000171 .9997584 .9998099 zinb1_lon~p9 | 11 .0001294 9.61e-06 .000115 .0001439 zinb1_lon~s9 | 11 .9999137 7.47e-06 .9999023 .9999248 zinb1_lon~l0 | 11 .1809991 .0101588 .1659887 .1966152 . . use nels_censored2, clear (nels_censored.dta after compress.) . . rename bymomed bymomed_stupid_long_name_bymomed . rename black black_stupid_long_name_black . . qui tobit tobiscor bymomed bydaded byincome black hispanic pctlunch, ul(125) > ll(75) . prgen byincome, x(bymomed 3 black 1) rest(grmedian) g(tobit_long_variable_nam > e) tobit: Predicted values as byincome varies from 0 to 200. bymomed_st~d bydaded byincome black_stup~k hispanic x= 3 3 22.5 1 0 pctlunch x= 40 . su tobit* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- tobit_long~x | 11 100 66.3325 0 200 tobit_long~b | 11 94.76985 3.363291 89.6995 99.8402 . . qui intreg minscor maxscor bymomed bydaded byincome black hispanic pctlunch . prgen pctlunch, x(bymomed 3 black 1) rest(max) g(intre_long_variable_name) intreg: Predicted values as pctlunch varies from 0 to 87.5. bymomed_st~d bydaded byincome black_stup~k hispanic x= 3 7 200 1 1 pctlunch x= 87.5 . su intre* Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- intre_long~x | 11 43.75 29.02047 0 87.5 intre_long~b | 11 102.822 2.355071 99.27156 106.3724 . . log close log: C:\~SLJF\makeverifyfiles\spostverify\done\prgenverify.log log type: text closed on: 25 Mar 2001, 14:07:05 -------------------------------------------------------------------------------