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 B.18:

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 B.18: Earthquake Data

Earthquake Locations in the United States

Variables in Creation Order
#VariableTypeLen
1LatitudeNum8
2LongitudeNum8
3DepthNum8
4MagnitudeNum8
5dNearestStationNum8
6RootMeanSquareTimeNum8
7TypeChar10

The First Five Observations Out of 15,578

ObsLatitudeLongitudeDepthMagnitudedNearestStationRootMeanSquareTimeType
135.6880-121.1296.25002.750.021210.0700earthquake
241.9009-119.6220.00004.590.507000.0742earthquake
341.8836-119.6410.53293.190.493000.0000earthquake
441.8897-119.6400.50773.120.494000.0119earthquake
540.8783-123.27033.57002.600.221600.0600earthquake