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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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