Tokens starting with q
| file | # | command |
|---|---|---|
| ch6.6.do: | 39 [+] | tscollap (last) aireoq=air (sum) airsum=air (mean) airavg=air , |
| file | # | command |
|---|---|---|
| ch6.6.do: | 21 [+] | generate qtr = qofd(dofm(ym)) |
| : | 30 [+] | generate qtr = qofd(dofm(ym)) |
| file | # | command |
|---|---|---|
| ch6.6.do: | 21 [+] | generate qtr = qofd(dofm(ym)) |
| : | 22 [+] | format qtr %tq |
| : | 23 [+] | collapse (sum) airsum=air , |
| : | 30 [+] | generate qtr = qofd(dofm(ym)) |
| : | 31 [+] | format qtr %tq |
| : | 32 [+] | collapse airavg=air , |
| file | # | command |
|---|---|---|
| ch13.01.do: | 137 [+] | tsmktim quarter , // create quarterly calendar var |
| : | 232 [+] | tsmktim quarter , // create quarterly calendar var |
| ch14.4.do: | 112 [+] | tsmktim quarter , // create quarterly calendar var |
| file | # | command |
|---|---|---|
| ch13.01.do: | 139 [+] | list t tenn quarter tennA3 year tennA12 in 1/12 , |
| : | 233 [+] | list t tenn quarter tennA3 tennS3 tennF3 tennL3 in 1/12 , |
| ch14.4.do: | 113 [+] | list t tenn quarter tennAlog3 tennSsqrt3 in 1/12 , |
| file | # | command |
|---|---|---|
| ch8.2.do: | 7 [+] | label var math4sat "Quartile of percent satisfactory, 4th grade" |
| : | 9 [+] | label var math7sat "Quartile of percent satisfactory, 7th grade" |
| file | # | command |
|---|---|---|
| ch4.4.do: | 62 [+] | qui regress `c' `allbut' date |
| ch6.5.do: | 5 [+] | qui regress so2 pop manuf wind |
| : | 13 [+] | qui ivregress 2sls so2 (pop = temp precip) manuf wind |
| : | 27 [+] | qui probit hiso2 pop manuf |
| : | 30 [+] | qui probit hiso2 pop manuf hiprecip |
| ch10.1.do: | 32 [+] | qui ttest `v' , |
| : | 34 [+] | qui ranksum `v' , |
| ch12.4.do: | 122 [+] | qui regress price mpg weight turn |
| file | # | command |
|---|---|---|
| appB.9.do: | 26 [+] | qui replace gdptot = gdptot + `c' |
| ch4.1.do: | 8 [+] | qui g child`i' = cond(nchild >= `i',int(30 * uniform()) + 1, .) |
| : | 19 [+] | qui replace nschool = nschool + inrange(`v', 6, 18) |
| : | 26 [+] | qui replace nschool = nschool + inrange(`v', 6, 18) |
| : | 27 [+] | qui replace anyschool = max(anyschool, inrange(`v', 6, 18)) |
| ch4.26.do: | 14 [+] | qui generate `v' = . |
| ch8.2.do: | 109 [+] | qui generate dscorr = 100 * (p - p[_n-1]) |
| : | 110 [+] | qui generate deld = date - date[_n-1] |
| : | 111 [+] | qui generate dscorrd = dscorr / sqrt(deld) |
| : | 112 [+] | qui generate ds2 = dscorrd^2 |
| : | 123 [+] | qui bysort mon: generate ssq = sqrt(cumds2) if _n == _N |
| ch10.2.do: | 12 [+] | qui gen meanret = . |
| : | 13 [+] | qui gen ndays = . |
| : | 23 [+] | qui replace meanret = r(mean) in `n' |
| : | 24 [+] | qui replace ndays = r(N) in `n' |
| : | 31 [+] | qui egen double maxretcorr = rowmax(retcorr*) |
| : | 32 [+] | qui generate highcorr = . |
| : | 34 [+] | qui replace highcorr = `i' if maxretcorr == retcorr`i' /// & !missing(maxretcorr) |
| ch14.2.do: | 9 [+] | qui replace model = "`model'" in `i' |
| : | 49 [+] | qui replace model = "`model'" in `i' |
| file | # | command |
|---|---|---|
| ch8.2.do: | 69 [+] | qui rolling r(mean) , |
| ch14.2.do: | 4 [+] | qui desc |
| file | # | command |
|---|---|---|
| ch6.5.do: | 23 [+] | qui summarize so2 , |
| ch10.1.do: | 29 [+] | qui makematrix t2b, from(r(Stat1) r(Stat2)): tabstat `v' , |
| ch10.2.do: | 5 [+] | qui levelsof hiord , |
| : | 7 [+] | qui levelsof permno , |
| : | 16 [+] | qui correlate index1-index`nind' ret if permno == `f' |
| file | # | command |
|---|---|---|
| ch9.01.do: | 27 [+] | quietly { |
| : | 98 [+] | quietly { |
| ch9.06.do: | 8 [+] | quietly { |
| : | 38 [+] | quietly { |
| file | # | command |
|---|---|---|
| ch3.10.do: | 79 [+] | quietly regress weight age age2 |
| ch4.26.do: | 9 [+] | quietly regress price nox dist rooms stratio |
| ch5.01.do: | 37 [+] | quietly regress so2 temp manuf pop |
| : | 39 [+] | quietly regress so2 temp pop wind |
| : | 41 [+] | quietly regress so2 temp wind precip days |
| : | 43 [+] | quietly regress so2 temp manuf pop wind precip days |
| : | 70 [+] | eststo: quietly regress so2 temp manuf pop |
| : | 71 [+] | eststo: quietly regress so2 temp pop wind |
| : | 72 [+] | eststo: quietly regress so2 temp wind precip days |
| : | 73 [+] | eststo: quietly regress so2 temp manuf pop wind precip days |
| ch9.01.do: | 9 [+] | quietly regress invest L(1/2).kstock L.kapavg if company == `c' |
| ch14.9.do: | 37 [+] | quietly ivreg2 lw s expr tenure rns smsa (iq=med kww age mrt) , |
| : | 44 [+] | quietly ivreg2 lw s expr tenure rns smsa (iq=med kww age mrt) , |
| : | 56 [+] | 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 |
|---|---|---|
| cb5a.do: | 19 [+] | quietly reshape wide |
| ch4.26.do: | 24 [+] | quietly replace `x' = `pc`p'' in `i' |
| : | 30 [+] | quietly mfx compute , |
| : | 33 [+] | quietly replace `y' = e(Xmfx_y) in `i' |
| : | 37 [+] | quietly replace `eyex' = eta[1, 1] in `i' // and save in tempvar eyex |
| : | 42 [+] | quietly replace `seyex1' = `eyex' + tmfx*se[1, 1] in `i' |
| : | 43 [+] | quietly replace `seyex2' = `eyex' - tmfx*se[1, 1] in `i' |
| ch12.5.do: | 50 [+] | quietly replace invest = . in 28 |
| : | 51 [+] | quietly replace mvalue = . in 55 |
| : | 52 [+] | quietly replace kstock = . in 87 |
| : | 53 [+] | quietly replace kstock = . in 94 |
| tipBizday.do: | 15 [+] | quietly generate byte notmiss = DTB3 < . |
| : | 16 [+] | quietly generate seqdate = cond(notmiss,sum(notmiss),.) |
| : | 21 [+] | quietly generate dDTB3 = D.DTB3 |
| : | 29 [+] | quietly generate dcal = D.caldate if seqdate < . |
| : | 30 [+] | quietly generate month = mofd(caldate) if seqdate < . |
| : | 33 [+] | quietly by month: generate adjchange = sum(dDTB3/sqrt(dcal)) |
| : | 34 [+] | quietly by month: generate sumchange = adjchange if _n==_N & !missing(month) |
| file | # | command |
|---|---|---|
| ch11.01.do: | 91 [+] | quietly pctrange tot_day |
| : | 491 [+] | quietly simulate p1=r(p1) p2=r(p2) , /// saving(mcsimul,replace) nodots reps(1000): mcsimul drate, mu(80) |
| ch14.9.do: | 46 [+] | quietly mygmm2s lw , /// exexog(med kww age mrt) robust |
| file | # | command |
|---|---|---|
| testall.do: | 4 [+] | quietly log using pctrange , |
| file | # | command |
|---|---|---|
| ch4.26.do: | 17 [+] | quietly summarize stratio if e(sample) , |
| ch14.2.do: | 45 [+] | quietly describe |
| file | # | command |
|---|---|---|
| testall.do: | 6 [+] | quietly log close |