0% found this document useful (0 votes)
31 views

ST445: Introduction To Statistical Computing and Data Management Class Assignment: August 17

The assignment asks students to work with a partner in class to access a virtual teaching lab, open SAS software, save files to a network drive, and complete an assignment analyzing vegetable data. Students are instructed to create specific folders to organize assignment files, open and modify an SAS program to analyze a veggies data set by changing directory paths and formatting code, and explore errors by deleting code components. The assignment must be completed during class with partners and files submitted via email and Moodle.

Uploaded by

Sam Hines
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

ST445: Introduction To Statistical Computing and Data Management Class Assignment: August 17

The assignment asks students to work with a partner in class to access a virtual teaching lab, open SAS software, save files to a network drive, and complete an assignment analyzing vegetable data. Students are instructed to create specific folders to organize assignment files, open and modify an SAS program to analyze a veggies data set by changing directory paths and formatting code, and explore errors by deleting code components. The assignment must be completed during class with partners and files submitted via email and Moodle.

Uploaded by

Sam Hines
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

ST445: Introduction to Statistical Computing and Data Management

Class Assignment: August 17


With a partner, access the Virtual Teaching Lab by following the instructions given on the Moodle site.
Open SAS in the remote desktop. Also create a directory on your network drive that you can use to
save your files. When finished, email your partner the file and both submit the SAS program via Moodle.
Be sure to include you and your partners name on the paper!
You must be present in class to receive credit for this assignment. Submitting from outside
of class or remotely working with a student in class is not allowed.
1. Create a folder called ST445 in a place SAS can access. Create a folder inside this folder called
Class Assignments. Finally, create another folder inside this folder called Assignment 1. You
will need to do this for every in-class assignment and it will help you organize your files.
2. Save the veggies.txt and assignment1.sas program in this folder.
3. Open up the assignment1.sas program in SAS.
4. Modify the code in the following way:
(a) Change the directory in the INFILE statement to the one where the veggies.txt file is located
on your computer (the Assignment 1 folder).
(b) Reformat the code so that it is easier to read by using tabs.
(c) Comment out CostPerSeed=Price/Number so that it is still in the code but is not executed.
(d) Find and fix the one error in the code.
If you have time, try this out:
1. Delete the WORK. part of the data step and run the code. Does it appear that any errors have
changed?
2. Delete the $ after Food and Code and run the code. Open up the data set in Explorer. What
has changed?

You might also like