The UnitedStatesGeologicalSurveyprovidesdataon earthquakes of historical interest. The SAS data set called EARTHQUAKES contains data about earthquakes with a magnitude greater than 2.5 in the United States and its territories. The variables are year, month, day, state, and magnitude. You assign a new employee the task of writing a program to create a data set with just the earthquakes from Alaska and then print the eruption date and magnitude for Alaskan earthquakes occurring in 2005 or later. The following is the program the new employee gives you. a. Examine the SAS data set including the variable labels and attributes. Identify and correct any bugs in the preceding code so that this program will run correctly. b. Add comments to your revised program for each fix so that the new employee can understand her mistake
2.
The UnitedStatesGeologicalSurveyprovidesdataon earthquakes of historical interest. The
SAS data set called EARTHQUAKES contains data about earthquakes with a magnitude greater than
2.5 in the United States and its territories. The variables are year, month, day, state, and magnitude.
You assign a new employee the task of writing a
from Alaska and then print the eruption date and magnitude for Alaskan earthquakes occurring in 2005
or later. The following is the program the new employee gives you.
a. Examine the SAS data set including the variable labels and attributes. Identify and correct any bugs
in the preceding code so that this program will run correctly. b. Add comments to your revised program
for each fix so that the new employee can understand her mistakes.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images