I've written an estimation command that uses Mata's moptimize() suite of functions along with an evaluator function. After moptimize(M), I use moptimize_result_post(M), st_global("e(cmd)", . . .) etc.
I would like to allow options for the ado-file (the command) to take, for example [OR Level(cilevel)], but I cannot see in the help file or user's manual for the moptimize() suite anything to set these options. (Did I overlook this somewhere?) I also Googled "stata moptimize() confidence interval display" and didn't notice anything among the first few browser screenfuls of results that would indicate that this has been asked before and addressed.
For now, I'm using the Stata command ml display , level(`level') `or' up above in the ado code, but is there anyway to accomplish this directly in Mata? I keep thinking that it's got to be in the documentation someplace; could someone point me in the right direction?
I would like to allow options for the ado-file (the command) to take, for example [OR Level(cilevel)], but I cannot see in the help file or user's manual for the moptimize() suite anything to set these options. (Did I overlook this somewhere?) I also Googled "stata moptimize() confidence interval display" and didn't notice anything among the first few browser screenfuls of results that would indicate that this has been asked before and addressed.
For now, I'm using the Stata command ml display , level(`level') `or' up above in the ado code, but is there anyway to accomplish this directly in Mata? I keep thinking that it's got to be in the documentation someplace; could someone point me in the right direction?
Comment