-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb1dce2
commit cec6311
Showing
4 changed files
with
1,229 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
quietly{ | ||
adopath +"." | ||
*** version 17 | ||
use "../data/nursery_dataset", clear | ||
|
||
|
||
** start the session ****** | ||
noisily display `"***********************************************"' | ||
noisily display `" Creating acro session"' | ||
noisily acro init | ||
|
||
noisily display `""' | ||
|
||
**** basic tabulation | ||
noisily display `"************ Tables ************"' | ||
noisily display `"calling table finance parents directly"' | ||
noisily table finance parents | ||
noisily display `""' | ||
noisily display `"now calling: acro table finance parents"' | ||
noisily acro table finance parents | ||
|
||
noisily display `""' | ||
|
||
**** complex tabulation | ||
noisily display `"************ Tables with hierarchical rows ************"' | ||
noisily display `"calling table finance housing parents"' | ||
noisily table finance housing parents | ||
noisily display `""' | ||
noisily display `"now calling: acro table finance housing parents"' | ||
noisily acro table finance housing parents | ||
|
||
noisily display `""' | ||
noisily display `""' | ||
|
||
**** complex tabulation | ||
noisily display `"************ Tables with hierarchical columns ************"' | ||
noisily display `"calling table finance housing parents, statistic(mean children) statistic(sd children)"' | ||
noisily table finance housing parents, statistic(mean children) statistic(sd children) | ||
noisily display `""' | ||
noisily display `"now calling: acro table finance housing parents, statistic(mean children) statistic(sd children)"' | ||
noisily acro table finance housing parents, statistic(mean children) statistic(sd children) | ||
|
||
noisily display `""' | ||
noisily display `""' | ||
|
||
**** tabulation with contents | ||
* acro table year survivor if year>2013, contents(freq mean inc_activity sd inc_activity) | ||
|
||
noisily display `""' | ||
noisily display `""' | ||
noisily display `"*********** Regressions *******************************"' | ||
** linear | ||
noisily display `""' | ||
noisily display `" ***** stata: recommend children"' | ||
noisily regress recommend children | ||
|
||
noisily display `""' | ||
noisily display `"acro : recommend children"' | ||
noisily acro regress recommend children | ||
|
||
noisily display `""' | ||
noisily display `""' | ||
noisily display `" *********list the session contents using :acro print_outputs *****"' | ||
noisily acro print_outputs | ||
|
||
|
||
noisily display `""' | ||
noisily display `" ************* end the session : acro finalise. *******"' | ||
noisily acro finalise | ||
|
||
|
||
} |
Oops, something went wrong.