Hi all,
Could you please help to "decrypt" the following error:
NOTE: At least one W.D format was too small for the number to be printed. The decimal may be shifted by the "BEST" format.
How to define what is the format that is 'smal'. I have here at least 10.
1) NOT an error
Check the values of your numeric variables for those less than 0.001 or 0.0001 (for the 8.4). I would guess that a StdDev is a likely culprit. Or sqrt(exp(LN_QVAL_StdDev**2)-1))*100
proc means data=table3 min;
var _numeric_;
run;
might give you a starting point.
Or print your output and find the results with more leading zeroes such as 0.0000123
And why are you assigning a format of $200 for variables that should only have 8 characters length with the put function?
You can avoid all those Strip calls if you use put(variable,8.3 -L) to left align the output.
Comment out half your code and run it. If the error persists, its in the half not commented out.
Rinse and repeat.
There are only 68 observations. Print out the ???_C variables and look for values that look funny.
1) NOT an error
Check the values of your numeric variables for those less than 0.001 or 0.0001 (for the 8.4). I would guess that a StdDev is a likely culprit. Or sqrt(exp(LN_QVAL_StdDev**2)-1))*100
proc means data=table3 min;
var _numeric_;
run;
might give you a starting point.
Or print your output and find the results with more leading zeroes such as 0.0000123
And why are you assigning a format of $200 for variables that should only have 8 characters length with the put function?
You can avoid all those Strip calls if you use put(variable,8.3 -L) to left align the output.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.