Hello
What is the way to read well this data set please?
I get only one row with empty values
Data tbl1; input X1909 X1908 X1907 X1906 UCL1 UCL2; cards; 4% 3% 6% 5.10% 5% 5.20% 3% 2% 2% 4.60% 4.50% 4.90% 5% 5% 5% 5% 7% 8% ; run;
Assuming you want SAS to interpret your source data as numbers in percent and you want to read this data into numerical variables.
Data tbl1; input (X1909 X1908 X1907 X1906 UCL1 UCL2) (:percent.); format X1909 X1908 X1907 X1906 UCL1 UCL2 percent9.2; cards; 4% 3% 6% 5.10% 5% 5.20% 3% 2% 2% 4.60% 4.50% 4.90% 5% 5% 5% 5% 7% 8% ; run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.Register now and lock in 2025 pricing—just $495!
Register now
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.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!