BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Leo5
Calcite | Level 5

The pg1.np_species table provides a detailed species list for selected national parks. Use this table to analyze the categories of reported species. If necessary, start SAS Studio before you begin.

Reminder: If you restarted your SAS session, you must run the libname.sas program created in Activity 2.04.

Write a PROC FREQ step to analyze rows from pg1.np_species as follows:

  1. Use the TABLES statement to generate a frequency table for Category.

  2. Use the NOCUM option to suppress the cumulative columns.

  3. Use the ORDER=FREQ option in the PROC FREQ statement to sort the results by descending frequency.

  4. Use Categories of Reported Species as the report title.

  5. Submit the program and review the results.

What percent of the species are Fungi?

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ
Hi: If your question is about the LIBNAME.SAS program, there is an activity in Lesson 2 that has you make a LIBNAME.SAS program that will point to the location of your EPG1V2 folder and the data subfolder for class. As the instructions explain, you must run the LIBNAME.SAS program before you start this practice. In addition, in the very beginning of the course, in the Course Overview and Data Setup section of the class, you needed to follow the instructions in order to MAKE the data used in class. You will NOT have the PG1.NP_SPECIES data table until AFTER you run a program to make the data used in this class.
Cynthia

View solution in original post

2 REPLIES 2
Patrick
Opal | Level 21

What's the value of just copy/pasting an assignment without showing us what you've already tried? And in case you haven't tried what would be the value of just providing a solution?

 

Here what chatGPT returned after just copy/pasting your assignment.

 

Patrick_0-1678605671442.png

 

Cynthia_sas
SAS Super FREQ
Hi: If your question is about the LIBNAME.SAS program, there is an activity in Lesson 2 that has you make a LIBNAME.SAS program that will point to the location of your EPG1V2 folder and the data subfolder for class. As the instructions explain, you must run the LIBNAME.SAS program before you start this practice. In addition, in the very beginning of the course, in the Course Overview and Data Setup section of the class, you needed to follow the instructions in order to MAKE the data used in class. You will NOT have the PG1.NP_SPECIES data table until AFTER you run a program to make the data used in this class.
Cynthia

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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
  • 2 replies
  • 834 views
  • 1 like
  • 3 in conversation