I'm wanting to use confirm numeric format to check that a user-entered format is valid, but when the format IS valid, the return code is 111. This code is not acted on, ie the program continues.
confirm numeric format %5.2f
di "_rc:" _rc
This seems to be a bug? It means that I have to explicitly test for _rc==7 rather than just !_rc in my program
Related Posts with confirm numeric format returns error code 111
Panel Var + IVHi, Im totally new to Stata. Please help me. I would like to find the impact of government spending…
Diferenc in differenceDear all, how can I check my data sets fulfill assumptions of DID on stat? …
Stata Graph for Panel Data in quartersGreetings to the forum! I have a panel dataset with 5 retailing companies for 15 years in quarters:…
Reset variables to missing after last non zero variable in a rowHi I'm working on a input dataset from a questionnaire. Some variables in the questionnaire is req…
Adding confidence intervalls with 'estimates table' or 'putdocx' commandI would like to have a table of different OLS (LPM) regression models that shows confidence interval…
Subscribe to:
Post Comments (Atom)
0 Response to confirm numeric format returns error code 111
Post a Comment