Tokens starting with r
file | # | command |
---|---|---|
ch11.01.do: | 495 [+] | generate R5pc_1 = (p1 < 0.05) |
file | # | command |
---|---|---|
ch11.01.do: | 496 [+] | generate R5pc_2 = (p2 < 0.05) |
file | # | command |
---|---|---|
ch14.2.do: | 46 [+] | forvalues i = 1/`=r(N)' { |
file | # | command |
---|---|---|
ch7.00.do: | 47 [+] | bootstrap diff=(r(mu_1) - r(mu_2)), nodots: ttest bp , |
ch7.11.do: | 6 [+] | bootstrap diff=(r(mu_1)-r(mu_2)), nodots: ttest bp , |
file | # | command |
---|---|---|
ch6.5.do: | 24 [+] | generate hiso2 = (so2 > r(p50)) & !missing(so2) |
: | 26 [+] | generate hiprecip = (precip > r(mean)) & !missing(precip) |
ch10.2.do: | 23 [+] | qui replace meanret = r(mean) in `n' |
: | 24 [+] | qui replace ndays = r(N) in `n' |
ch10.4.do: | 7 [+] | generate hightemp = (temp > r(mean) & !missing(temp)) |
ch11.01.do: | 326 [+] | generate byte highsal = avgsalry > r(mean) & !missing(avgsalry) |
file | # | command |
---|---|---|
ch7.00.do: | 13 [+] | statsby mean=r(mean) sd=r(sd) n=r(N) , |
: | 34 [+] | simulate p25=r(p25) p50=r(p50) p75=r(p75) , /// saving(pctiles, replace): simpctile |
ch8.2.do: | 69 [+] | qui rolling r(mean) , |
ch10.1.do: | 13 [+] | makematrix t2a, from(r(Stat1) r(Stat2)): tabstat insider , |
: | 19 [+] | makematrix t2aa, from(r(Stat1) r(Stat2)): tabstat ceo , |
ch11.01.do: | 178 [+] | pctrange tot_day if percap > r(mean) & !missing(percap) |
: | 491 [+] | quietly simulate p1=r(p1) p2=r(p2) , /// saving(mcsimul,replace) nodots reps(1000): mcsimul drate, mu(80) |
ch12.1.do: | 10 [+] | rolling sum=r(sum) se=r(se) , /// myregress wpi L(1/4).wpi t, lagvar(wpi) nlags(4) |
ch14.2.do: | 6 [+] | forv i=1/`=r(N)' { |
file | # | command |
---|---|---|
ch10.1.do: | 29 [+] | qui makematrix t2b, from(r(Stat1) r(Stat2)): tabstat `v' , |
file | # | command |
---|---|---|
ch2.7.do: | 5 [+] | assert r(unique_value) == r(N) |
ch4.26.do: | 21 [+] | local pc`p' = r(p`p') |
ch5.01.do: | 10 [+] | scalar iqr = r(p75) - r(p25) |
: | 12 [+] | scalar semean = r(sd) / sqrt(r(N)) |
: | 13 [+] | display "Mean = " r(mean) " S.E. = " semean |
ch9.01.do: | 30 [+] | matrix table1[`i', 1] = r(p25) |
: | 31 [+] | matrix table1[`i', 2] = r(p50) |
: | 32 [+] | matrix table1[`i', 3] = r(p75) |
: | 34 [+] | matrix table1[`i', 4] = r(rho) |
: | 36 [+] | matrix table1[`i', 5] = r(rho) |
: | 100 [+] | local p25 = r(p25) |
: | 101 [+] | local p50 = r(p50) |
: | 102 [+] | local p75 = r(p75) |
: | 104 [+] | local r_invest = r(rho) |
: | 106 [+] | local r_kap = r(rho) |
ch9.06.do: | 24 [+] | eststo , |
ch10.1.do: | 15 [+] | matrix temp = r(N) |
: | 22 [+] | mat temp = r(N) |
: | 31 [+] | matrix `v'1 = r(N) |
: | 33 [+] | matrix `v'2 = r(p) |
ch10.2.do: | 17 [+] | matrix sigma = r(C) |
ch11.01.do: | 490 [+] | scalar zmu = r(mean) |
file | # | command |
---|---|---|
ch5.01.do: | 45 [+] | estimates table model1 model2 model3 model4 , /// b(%7.3f) se(%6.3g) p(%4.3f) |
: | 48 [+] | estimates table model4 model1 model3 model2 , /// b(%7.3g) star label title("Models of sulphur dioxide concentration") |
file | # | command |
---|---|---|
ch4.26.do: | 54 [+] | twoway (scatter `eyex' `x', ms(Oh) yscale(range(-0.5 -2.0)) ylabel(,nogrid)) /// (rline `seyex1' `seyex2' `x') /// (connected `y' `x', yaxis(2) yscale(axis(2) range(18000 35000))) , /// ytitle(Elasticity of price v. student/teacher ratio) |
ch8.2.do: | 55 [+] | tsline invrate if inrange(company, 1, 4) & year >= 1937 , /// scheme(s2mono) |
file | # | command |
---|---|---|
ch11.01.do: | 256 [+] | outtable using MCAS , |
file | # | command |
---|---|---|
spinst_itsp.ado: | 19 [+] | cap noi spinst_itsp_wrk ranktest http: //fmwww.bc.edu/repec/bocode/r |
file | # | command |
---|---|---|
itsp.do: | 15 [+] | ssc install ranktest |
file | # | command |
---|---|---|
ch12.1.do: | 17 [+] | twoway rarea lo hi end , /// || tsline sum, legend(off) scheme(s2mono) |
file | # | command |
---|---|---|
ch2.0.do: | 20 [+] | label var drate "Death rate per 10,000" |
ch8.2.do: | 54 [+] | label var invrate "Three-year average investment rate" |
tipBizday.do: | 22 [+] | label var dDTB3 "Daily change in 3-mo Treasury rate" |
file | # | command |
---|---|---|
ch4.26.do: | 46 [+] | label variable `x' "Student/teacher ratio (percentiles `pct')" |
file | # | command |
---|---|---|
appB.9.do: | 51 [+] | local rc "`rc' (`i'=`c')" |
appB.11.do: | 17 [+] | local rc "`rc' (`i'=`c')" |
file | # | command |
---|---|---|
ch14.3.do: | 5 [+] | g hiord=real(substr(string(permno),1,1)) |
file | # | command |
---|---|---|
ch13.11.do: | 20 [+] | local RS real scalar |
file | # | command |
---|---|---|
ch9.08.do: | 9 [+] | textbarplot compname beta_k , /// scheme(s2mono) name(fig9_2d,replace) |
ch9.09.do: | 12 [+] | textbarplot compname beta_k , /// scheme(s2mono) nodraw name(fig9_2b,replace) |
file | # | command |
---|---|---|
ch2.0.do: | 119 [+] | generate medagebrack = recode(medage, 28, 29, 30, 31, 32, 33) |
ch3.01.do: | 32 [+] | generate medagebrack = recode(medage, 29, 30, 31, 32, 33) |
file | # | command |
---|---|---|
ch5.01.do: | 28 [+] | display "Regressors: `regressors'" |
file | # | command |
---|---|---|
ch2.1.do: | 16 [+] | merge rep78 using repstats , |
file | # | command |
---|---|---|
ch11.01.do: | 374 [+] | bysort rep78 foreign: egen pctrange = pct9010(price) |
ch12.2.do: | 27 [+] | bysort rep78: egen iqr = pctrange(price) if inrange(rep78, 3, 5) |
: | 28 [+] | bysort rep78: egen p8020 = pctrange(price) if inrange(rep78, 3, 5) , /// hi(80) lo(20) |
file | # | command |
---|---|---|
ch12.2.do: | 30 [+] | tabstat iqr if inrange(rep78, 3, 5) , |
: | 31 [+] | tabstat p8020 if inrange(rep78, 3, 5) , |
file | # | command |
---|---|---|
ch2.1.do: | 11 [+] | sort rep78 |
: | 15 [+] | sort rep78 |
file | # | command |
---|---|---|
ch7.00.do: | 13 [+] | statsby mean=r(mean) sd=r(sd) n=r(N) , |
: | 18 [+] | rolling _b _se , |
: | 50 [+] | qnorm p50 , |
ch8.2.do: | 69 [+] | qui rolling r(mean) , |
ch9.01.do: | 16 [+] | outtable using ch9.03t , /// format(%9.4f) center caption("Grunfeld company estimates") |
: | 87 [+] | outtable using ch9.02t , /// format(%9.3f) center caption("Grunfeld company statistics") |
ch9.06.do: | 43 [+] | avplot lhours , |
ch9.09.do: | 7 [+] | graph dot beta_k , |
ch11.01.do: | 256 [+] | outtable using MCAS , |
ch12.5.do: | 54 [+] | onespell invest mvalue kstock , |
file | # | command |
---|---|---|
testall.do: | 4 [+] | quietly log using pctrange , |
file | # | command |
---|---|---|
ch7.00.do: | 27 [+] | tsline _b_spx , |
: | 42 [+] | histogram p50 , |
ch9.06.do: | 44 [+] | graph combine scat`y' avplot`y' , /// ti("Log wage vs. log hours for `y'") |
ch9.09.do: | 6 [+] | graph bar p50 , |
file | # | command |
---|---|---|
ch5.01.do: | 58 [+] | estimates save so2_model`i' , |
ch9.01.do: | 118 [+] | file open `fh' using matout.raw , |
: | 134 [+] | file open `fh' using matout2.raw , |
ch10.1.do: | 53 [+] | file open `hh' using table2.tex , |
file | # | command |
---|---|---|
ch7.00.do: | 34 [+] | simulate p25=r(p25) p50=r(p50) p75=r(p75) , /// saving(pctiles, replace): simpctile |
file | # | command |
---|---|---|
ch2.1.do: | 16 [+] | merge rep78 using repstats , |
file | # | command |
---|---|---|
ch2.1.do: | 12 [+] | save repstats , |
file | # | command |
---|---|---|
spinst_itsp.ado: | 44 [+] | di as smcl "{txt} package {res:`package'} from {res:`from'}" |
file | # | command |
---|---|---|
master.do: | 49 [+] | do reshapeTip.do |
file | # | command |
---|---|---|
ch9.06.do: | 26 [+] | esttab _all using lwage`y'.tex , /// substitute("_cons" "Constant" "eta_educ" "$\eta_{educ}$" /// "etase" "$\eta_{se}$") |
file | # | command |
---|---|---|
ch3.10.do: | 88 [+] | matrix result = iqanx1 , |
: | 89 [+] | mat list result , |
file | # | command |
---|---|---|
ch10.2.do: | 31 [+] | qui egen double maxretcorr = rowmax(retcorr*) |
file | # | command |
---|---|---|
ch10.2.do: | 30 [+] | svmat double retcorr |
file | # | command |
---|---|---|
ch10.2.do: | 9 [+] | matrix retcorr = J(`nf', `nind', .) |
: | 20 [+] | matrix retcorr[`n', `i'] = sigma[`row', `i'] |
file | # | command |
---|---|---|
ch10.2.do: | 34 [+] | qui replace highcorr = `i' if maxretcorr == retcorr`i' /// & !missing(maxretcorr) |
file | # | command |
---|---|---|
ch14.3.do: | 6 [+] | bys cdate hiord: egen retport = mean(ret) |
: | 11 [+] | drop retport* |
file | # | command |
---|---|---|
ch14.3.do: | 7 [+] | separate retport , |
file | # | command |
---|---|---|
ch11.01.do: | 457 [+] | nl ces @ lnoutput capital labor , /// initial(b0 0 rho 1 delta 0.5) |
file | # | command |
---|---|---|
ch11.01.do: | 460 [+] | nlcom (sigma: 1 / (1 + [rho]_b[_cons])) |
file | # | command |
---|---|---|
ch9.01.do: | 34 [+] | matrix table1[`i', 4] = r(rho) |
: | 36 [+] | matrix table1[`i', 5] = r(rho) |
: | 104 [+] | local r_invest = r(rho) |
: | 106 [+] | local r_kap = r(rho) |
file | # | command |
---|---|---|
ch3.01.do: | 25 [+] | generate byte newengland = inlist(state, "Connecticut", "Maine", /// "Massachusetts", "New Hampshire", "Rhode Island", "Vermont") |
file | # | command |
---|---|---|
ch4.26.do: | 54 [+] | twoway (scatter `eyex' `x', ms(Oh) yscale(range(-0.5 -2.0)) ylabel(,nogrid)) /// (rline `seyex1' `seyex2' `x') /// (connected `y' `x', yaxis(2) yscale(axis(2) range(18000 35000))) , /// ytitle(Elasticity of price v. student/teacher ratio) |
file | # | command |
---|---|---|
ch5.01.do: | 45 [+] | estimates table model1 model2 model3 model4 , /// b(%7.3f) se(%6.3g) p(%4.3f) |
: | 48 [+] | estimates table model4 model1 model3 model2 , /// b(%7.3g) star label title("Models of sulphur dioxide concentration") |
file | # | command |
---|---|---|
ch4.1.do: | 13 [+] | set rmsg on |
: | 41 [+] | set rmsg off |
ch14.9.do: | 54 [+] | set rmsg on |
file | # | command |
---|---|---|
ch14.9.do: | 44 [+] | quietly ivreg2 lw s expr tenure rns smsa (iq=med kww age mrt) , |
: | 63 [+] | quietly ivreg2 lw s expr tenure rns smsa (iq=med kww age mrt) , |
file | # | command |
---|---|---|
ch10.6.do: | 22 [+] | bysort cmdy (qmdy): generate roll1date = qmdy[_n-4] if near[_n] != near[_n-1] |
: | 28 [+] | bysort qm: egen rollover1 = mean(roll1date) |
file | # | command |
---|---|---|
ch10.6.do: | 21 [+] | bysort cmdy (qmdy): generate rolldate = qmdy[_n-3] if near[_n] != near[_n-1] |
: | 27 [+] | bysort qm: egen rollover = mean(rolldate) |
file | # | command |
---|---|---|
ch10.6.do: | 27 [+] | bysort qm: egen rollover = mean(rolldate) |
: | 32 [+] | bysort qm: generate futprice = settle if contract == near & qmdy < rollover |
: | 34 [+] | bysort qm: replace futprice = settle if contract==nextnear & qmdy >= rollover |
: | 39 [+] | bysort qm: generate double futret = log(settle) - log(sprev) if qmdy == rollover |
: | 46 [+] | format rollover %td |
file | # | command |
---|---|---|
ch10.6.do: | 28 [+] | bysort qm: egen rollover1 = mean(roll1date) |
: | 37 [+] | bysort qm: generate settleprev = settle if contract == nextnear & qmdy == rollover1 |
file | # | command |
---|---|---|
ch3.10.do: | 54 [+] | generate double rootage = age * root2 |
file | # | command |
---|---|---|
ch3.10.do: | 53 [+] | scalar root2 = sqrt(2.0) |
file | # | command |
---|---|---|
ch9.01.do: | 12 [+] | local row "`row' `c'" |
ch10.2.do: | 14 [+] | local row = `nind' + 1 |
file | # | command |
---|---|---|
ch10.2.do: | 31 [+] | qui egen double maxretcorr = rowmax(retcorr*) |
file | # | command |
---|---|---|
ch9.01.do: | 14 [+] | matrix rownames allbeta = `row' |
: | 42 [+] | matrix rownames table1 = `colist' |
: | 141 [+] | local rown : rownames table1 |
ch10.1.do: | 41 [+] | matrix rownames t2aa = Observations CEO |
ch14.1.do: | 59 [+] | mat rownames grades = `idnr' |
file | # | command |
---|---|---|
ch9.01.do: | 120 [+] | local rows = rowsof(table1) |
: | 135 [+] | local rows = rowsof(table1) |
file | # | command |
---|---|---|
ch9.01.do: | 120 [+] | local rows = rowsof(table1) |
: | 135 [+] | local rows = rowsof(table1) |
file | # | command |
---|---|---|
ch10.1.do: | 13 [+] | makematrix t2a, from(r(Stat1) r(Stat2)): tabstat insider , |
: | 19 [+] | makematrix t2aa, from(r(Stat1) r(Stat2)): tabstat ceo , |
file | # | command |
---|---|---|
ch10.1.do: | 29 [+] | qui makematrix t2b, from(r(Stat1) r(Stat2)): tabstat `v' , |
file | # | command |
---|---|---|
ch4.4.do: | 105 [+] | display _newline "Run `date' at `time' on Stata/`flav' version `vers', memory = `mem' bytes" |