I don't get that issue with the data posted (SAS 9.3)
I have a simple data set that I'm trying to make a histogram of, but using the INSET NORMALTEST command doesn't seem to work for some data. This is the code so far:
This code works; however, when I use a different data set, it simply displays a period on the inset box next to "norm"Code:DATA CLINIC; INPUT ID $ 1-3 GENDER $ 4 RACE $ 5 HR 6-8 SBP 9-11 DBP 12-14 N_PROC 15-16; AVE_BP = DBP + (SBP - DBP)/3; DATALINES; 001MW08013008010 002FW08811007205 003MB05018810002 004FB 10806801 005MW06812208204 006FB101 07404 007FW07810406603 008MW04811207006 009FB07719011009 010FB06616410610 ; proc univariate data=clinic normal; var sbp; histogram sbp /normal; inset normaltest = "norm" (4.2) / font = 'Arial' pos = nw height = 5;
What characteristics of the data would lead to this? I can't post the actual data since it's confidential and too large, but what causes this? I really need to figure this out because the graphs need to have that data on them.
I don't get that issue with the data posted (SAS 9.3)
"His programming is malfunctioning. It begins! Get your weapons, he's going to become a killbot!!!" - bryangoodrich
I can't post the actual data since it's confidential and too large, but are there any characteristics of the data set that could cause this? Since I can't post the actual data (per my original post), the only way I have to troubleshoot this is to ask about characteristics that could cause it. I know that's general, but I don't know of any other way.
pythonscript,
Have you resolved this? So all of your output is correct except the "norm ."? Is this correct.
Does the (4.2) represent the number of digits and decimals; and in your actual data the number is too large to display for some reason?
(4.2) does represent the number of digits and decimals, but changing this to larger values (e.g. 7.5) doesn't fix the problem, even if I adjust the size of the box.
|
|