VERSION 16.0 POSITION . . 410 250 DIALOG params, label("epimodels fit - SIR model") tabtitle("Model parameters") BEGIN TEXT tx_param 10 10 100 ., label("Parameter") TEXT tx_knvalue 150 10 100 ., label("Value type") TEXT tx_value0 300 @ 100 ., label("Value") TEXT tx_beta 10 +25 390 ., label("Beta:") EDIT ed_beta 150 @ 100 ., /// numonly option(beta) default(0.5) /// tooltip("BETA") CHECKBOX cb_beta 300 @ 100 ., label("Known value") option(betak) TEXT tx_gamma 10 +25 390 ., label("Gamma:") EDIT ed_gamma 150 @ 100 ., /// numonly option(gamma) default(0.5) /// tooltip("GAMMA") CHECKBOX cb_gamma 300 @ 100 ., label("Known value") option(gammak) END OK ok1, label("OK") CANCEL can1, label("Cancel") SUBMIT sub1, label("Submit") HELP hlp1, view("help epimodels_fit") RESET res1 COPY copy1 DIALOG inicond, tabtitle("Time series") BEGIN TEXT tx_population 10 10 390 ., /// label("Specify population size for each of the groups:") TEXT tx_popv 10 +20 390 ., /// label("- as a numerical constant (group size on day 0)") TEXT tx_popv2 10 +20 390 ., /// label("- as a numerical variable (shows dynamics of this population group)") TEXT tx_susceptible 10 +25 390 ., label("Susceptible:") EDIT vn_susceptible @ +20 390 ., /// option(vsusceptible) default("0") /// tooltip("Number of susceptible individuals.") TEXT tx_infected 10 +25 390 ., label("Infected:") EDIT vn_infected @ +20 390 ., /// option(vinfected) default("0") /// tooltip("Number of infected individuals.") TEXT tx_recovered 10 +25 390 ., label("Recovered:") EDIT vn_recovered @ +20 390 ., /// option(vrecovered) default("0") /// tooltip("Number of recovered individuals.") END DIALOG misc, tabtitle("Other") BEGIN TEXT tx_format 10 10 390 ., /// label("Specify format for reporting:") EDIT ed_format @ +25 390 ., /// option(format) default("%10.5f") /// tooltip("Format for output of model parameters in the estimation report.") HLINK hl_home 10 230 300 ., label("Homepage") onpush(program homepage) END PROGRAM homepage BEGIN put "epimodels homepage" stata END PROGRAM command BEGIN put "epimodels fitdlgsir " beginoptions optionarg params.ed_beta optionarg params.cb_beta optionarg params.ed_gamma optionarg params.cb_gamma optionarg inicond.vn_susceptible optionarg inicond.vn_infected optionarg inicond.vn_recovered optionarg misc.ed_format endoptions END // END OF FILE