Stata commands designed for Impact Evaluations field work. These are tools that are used during/after a survey in the field for data quality monitoring.
The solution for #187 in #203 isn't quite right -- it needs to check the underlying data type of numeric variables and act appropriately, using the float() function for floats and using the double() function for doubles I believe. I'm not sure what to do in all other cases -- but we certainly would not want to check/pass a float() value against/into an int variable as this might do! We may however want to return an error if a non-integer value is attempted to be used with an integer variable.
The solution for #187 in #203 isn't quite right -- it needs to check the underlying data type of numeric variables and act appropriately, using the float() function for floats and using the double() function for doubles I believe. I'm not sure what to do in all other cases -- but we certainly would not want to check/pass a float() value against/into an int variable as this might do! We may however want to return an error if a non-integer value is attempted to be used with an integer variable.