This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> | |
<mime-type type="application/x-stata-dta"> | |
<comment>Stata data file</comment> | |
<glob pattern="*.dta"/> | |
<icon name="application-x-stata-dta"/> | |
</mime-type> | |
<mime-type type="application/x-stata-do"> | |
<comment>Stata do file</comment> | |
<glob pattern="*.do"/> |
This file contains hidden or 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
Show hidden characters
"builder_settings" : { | |
// General settings: | |
// See README or third-party documentation | |
// (built-ins): true shows the log of each command in the output panel | |
"display_log" : false, | |
"options": ["--shell-escape"], | |
// Platform-specific settings: |
This file contains hidden or 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
// Plot stacked missing and non-missing values over time (or some other discrete variable) | |
// Syntax: plotmissing var timevar | |
program define plotmissing | |
tempvar has hasnt | |
gen `has' = (!mi(`1')) | |
gen `hasnt' = (mi(`1')) | |
graph hbar (sum) `has' `hasnt', /// | |
over(`2', label(labsize(vsmall))) /// | |
stack legend(order(1 "Non-missing" 2 "Missing")) /// | |
subtitle(Relative frequency of non-missing '`1'') |
NewerOlder