Skip to content

Commit c8dc028

Browse files
committed
Edited help file
1 parent 5893742 commit c8dc028

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

boottest.sthlp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ giving back through a {browse "http://j.mp/1iptvDY":donation} to support the wor
395395
{phang}. {stata regress wage ttl_exp collgrad tenure, cluster(industry)}{p_end}
396396
{phang}. {stata boottest tenure, cluster(industry age) bootcluster(industry) gridmin(-.2) gridmax(.2)} // multi-way-clustered test after estimation command not offering such{p_end}
397397

398-
{phang}. {stata areg wage ttl_exp collgrad tenure [aw=hours], cluster(age) absorb(industry)}{p_end}
398+
{phang}. {stata areg wage ttl_exp collgrad tenure [aw=hours] if occupation<., cluster(age) absorb(industry)}{p_end}
399399
{phang}. {stata boottest tenure, cluster(age occupation) bootcluster(occupation) seed(999) nograph} // override estimate's clustering{p_end}
400-
{phang}. {stata reg wage ttl_exp collgrad tenure i.industry [aw=hours], cluster(age)}{p_end}
400+
{phang}. {stata reg wage ttl_exp collgrad tenure i.industry [aw=hours] if occupation<., cluster(age)}{p_end}
401401
{phang}. {stata boottest tenure, cluster(age occupation) bootcluster(occupation) seed(999) nograph} // should match previous result{p_end}
402402

403403
{phang}. {stata probit c_city tenure wage ttl_exp collgrad, cluster(industry)}{p_end}
@@ -408,11 +408,11 @@ giving back through a {browse "http://j.mp/1iptvDY":donation} to support the wor
408408
{phang}. {stata boottest tenure}{space 67} // requires Stata 14.0 or later {p_end}
409409
{phang}. {stata boottest tenure, cluster(industry age) bootcluster(industry) small}{space 16} // requires Stata 14.0 or later{p_end}
410410

411+
{phang}. {stata sysuse auto}{p_end}
411412
{phang}. {stata program myprobit} // custom likelihood evaluator{p_end}
412413
{phang}. {stata args lnf theta}{p_end}
413414
{phang}. {stata quietly replace `lnf' = lnnormal((2*$ML_y1-1) * `theta')}{p_end}
414415
{phang}. {stata end}{p_end}
415-
{phang}. {stata sysuse auto}{p_end}
416416
{phang}. {stata ml model lf myprobit (foreign = mpg weight)} // define model{p_end}
417417
{phang}. {stata ml max} // estimate{p_end}
418418
{phang}. {stata boottest mpg, cmdline(ml model lf myprobit (foreign = mpg weight))} // score bootstrap; pass the model definition since {cmd:ml} doesn't save it in {cmd:e(cmdline)}{p_end}

0 commit comments

Comments
 (0)