Question: SAS Programming this file name is MoreCoal.txt East North Thick 49.4 40.4 36.4 83.5 26.6 42.4 50.1 24.7 38.3 4.8 24.6 38.8 85.8 98.8 44.1

SAS Programming this file name is MoreCoal.txt  East North Thick 49.4 40.4 36.4 83.5 26.6 42.4 50.1 24.7 38.3 4.8 24.6 38.8 85.8 98.8 44.1 38.5 2.8 36.3 19.9 95.1 41.8 39.9 77.7 44.2 89.2 71.6 43.4 72.5 77 39.2 21.9 88.3 44.1 44.2 16.1 41.1 7.9 83.1 38.8 96.3 24.7 45 56.3 43.6 38 61.7 56.7 37.5 17.7 7.6 41.2 24 38.7 39.6 39 97.5 39.2 24 27 35.3 89.8 51.3 44.5 47.9 93.3 40.4 77.1 97.4 39.8 52.6 57.8 44 29.9 17.1 40.6

The data set MoreCoal.txt is a space delimited data set containing 25 more simulated coal seam thickness measurements. Load this data set into SAS. Create a new SAS data set called Coal by stacking the Sashelp.Thick data set onto the data set you create using MoreCoal.txt. (b) In the Coal data set, create a new variable called OriginDistance that is the distance (in 1,000 feet) of the coal seam thicknesss measurement location from the southwest corner of the measurement area (i.e., where East = 0 and North = 0). To do this, use the formula for calculating distance in a plane. Let the east variable represent the x-axis and the north variable represent the y-axis. (c) Sort the Coal data set by the OriginDistance variable in ascending order. Print the sorted Coal data set and report the output. (d) Use subsetting to create a data set consisting only of observations with coal seam thickness greater than 42. Print the resulting data set and report the output.

(a) The data set MoreCoal.txt is a space delimited data set containing 25 more simulated coal seam thickness measurements. Load this data set into SAS. Create a new SAS data set called Coal by stacking the Sashelp.Thick data set onto the data set you create using MoreCoal.txt.

(b) In the Coal data set, create a new variable called OriginDistance that is the distance (in 1,000 feet) of the coal seam thicknesss measurement location from the southwest corner of the measurement area (i.e., where East = 0 and North = 0). To do this, use the formula for calculating distance in a plane. Let the east variable represent the x-axis and the north variable represent the y-axis.

(c) Sort the Coal data set by the OriginDistance variable in ascending order. Print the sorted Coal data set and report the output.

(d) Use subsetting to create a data set consisting only of observations with coal seam thickness greater than 42. Print the resulting data set and report the output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!