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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 2 replies
  • 538 views
  • 1 like
  • 3 in conversation