BookmarkSubscribeRSS Feed
mmea
Quartz | Level 8

Hi I h

 

 

1 REPLY 1
ballardw
Super User

Please when posting data code make sure that the code will run and create the data you expect us to use.

Your data step Input statement 1) has incorrect format for Region, 2) a variable not present at all: Analysebeskrivelse and the informat is missing the "." character, 3) is not ended with a semicolon.

 

Which exact values of Tested make up which group within each region?

 

For the percentages to you mean display the value such as currently in the data as 0.02 to be 2.0%? Or are you expecting the procedure to calculate percentages as some statistic from multiple records?

If the existing value then using a Format such as Percent8.2 should work for the variable.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 402 views
  • 0 likes
  • 2 in conversation