Appendix B: Sashelp Data Sets

Earthquake Locations in the United States

The Sashelp.Quakes data set provides locations and measurements of earthquakes in the United States. These data are provided courtesy of the United States Geological Service. The following steps display information about the Sashelp.Quakes data set and create FigureĀ 61:

title 'Earthquake Locations in the United States';
proc contents data=sashelp.Quakes varnum;
   ods select position;
run;

title 'The First Five Observations Out of 15,578';
proc print data=sashelp.Quakes(obs=5);
run;

Figure 61: Earthquake Data

Earthquake Locations in the United States

Variables in Creation Order
# Variable Type Len
1 Latitude Num 8
2 Longitude Num 8
3 Depth Num 8
4 Magnitude Num 8
5 dNearestStation Num 8
6 RootMeanSquareTime Num 8
7 Type Char 10

The First Five Observations Out of 15,578

Obs Latitude Longitude Depth Magnitude dNearestStation RootMeanSquareTime Type
1 35.6880 -121.129 6.2500 2.75 0.02121 0.0700 earthquake
2 41.9009 -119.622 0.0000 4.59 0.50700 0.0742 earthquake
3 41.8836 -119.641 0.5329 3.19 0.49300 0.0000 earthquake
4 41.8897 -119.640 0.5077 3.12 0.49400 0.0119 earthquake
5 40.8783 -123.270 33.5700 2.60 0.22160 0.0600 earthquake


Last updated: December 09, 2022