(A review on SAS data management) The following is a data set of 12 individuals. And...

80.2K

Verified Solution

Question

Basic Math

(A review on SAS data management) The following is a data set of12 individuals. And we want to relate the heart rate at rest (Y) tokilograms body weight (X). X Y 90 62 87 41 87 63 73 46 73 53 86 55100 70 75 47 76 49 87 69 79 41 78 48 Write a program in SAS whichread the given data set into SAS library. In your program, create anew data set which is a copy of the first, with the addition of anew variable which represents the weight in pounds (1 kilogram≈2.2pounds). Use “proc print” to view the data for all three variables.(c) Create a new variable called weight_group which divides thedata set into four groups based on the estimated quartiles for thevariable weight. The estimated quartiles may be requested using thekeywords q1, median, and q3, in the “proc means” statement. (d) Use“proc freq” to summarize the frequency of subjects in each of thefour groups. (e) Obtain the mean and standard deviation for theheart rate at rest for each of the four groups. Comment on theresults. (f) Produce a scatterplot of the heart rate at rest versusbody weight in kilograms. Describe what you see. (g)Fit a straightline model for heart rate at rest versus body weight in kilograms.Comment on the fit of the line.

Answer & Explanation Solved by verified expert
4.3 Ratings (719 Votes)
code data mydata input x y datalines 90 62 87 41 87 63 73 46 73 53 86 55 100 70 75 47 76 49 87 69 79 41 78 48 run proc print datamydata run data newdata set mydata weightpoundx22 run proc print datanewdata run c proc means datanewdata q1 q3 median run d proc freq datanewdata    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students