I have an Excel .xlsx file w/ 9337 observations. The 2nd variable in the file is labeled MEASURE. In Excel, it is defined as numeric with 2 decimal places. I import the file to Stata SE, latest version. The variable MEASURE is defined as double precision, %14.2f. I attempt to run anova Race MEASURE. I get the following error message: MEASURE: factor variables may not contain noninteger values. The lowest value in the column MEASURE is 0.03. There are 28 of these values. I attempted to recast the variable to integer. I get the error message: MEASURE: integer invalid. I tried using recast byte and recast float. Same error message each time: MEASURE: 9155 values would be changed; not changed. Several questions: 1. Why can't I use the recast command - why does it give me an error w/ integer, byte, float? And why the large number of values (222) not changed? I looked through all 9,337 observations and found nothing out of the ordinary. As noted, there are 28 values < 1, but not 222.I can run oneway Race MEASURE with no problems, but oneway does not keep the estimates for post hoc testing. I need the anova command.
Anyone else have a similar problem? Any suggestions?
Anyone else have a similar problem? Any suggestions?

Comment