1.2 You have collected the following information on some participants in a diet program: Variable Name Description Type Starting Column Ending Column SUBJ Subject number Character HEIGHT Height in inches Numeric WT_INIT WT_FINAL Initial weight (in pounds) Final weight Numeric Numeric 3581 (a) Reading the following data lines, create a SAS data set using column input. Include in this data set three computed variables called BMI INIT (BMI stands for body mass index), BMI FINAL, and BMI DIFF. Computed BMI is a person's weight (in kilo- grams) divided by their height (in meters) squared. To convert pounds to kilograms, di- vide by 2.2; to convert inches to meters, multiply by .0254. BMI DIFF is BMI FINAL minus BMI_INIT. Note: Large values of BMI indicate more overweight individuals. Therefore, if the diet program is working, BMI DIFF should come out negative. (b) Print out a listing of this data set in subject number order. Include in the listing only the variables SUBJ, HEIGHT, BMI_INIT, BMI FINAL, and BMI DIFF. Here is some sample data for you to use: 00768155150 00272250240 00563240200 00170345298

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter10: Statistics
Section: Chapter Questions
Problem 25SGR
Question
1.2 You have collected the following information on some participants in a diet program:
Variable
Name
Description
Type
Starting
Column
Ending
Column
SUBJ
Subject number
Character
HEIGHT
Height in inches
Numeric
WT_INIT
WT_FINAL
Initial weight (in pounds)
Final weight
Numeric
Numeric
3581
(a) Reading the following data lines, create a SAS data set using column input. Include in
this data set three computed variables called BMI INIT (BMI stands for body mass
index), BMI FINAL, and BMI DIFF. Computed BMI is a person's weight (in kilo-
grams) divided by their height (in meters) squared. To convert pounds to kilograms, di-
vide by 2.2; to convert inches to meters, multiply by .0254. BMI DIFF is BMI FINAL
minus BMI_INIT. Note: Large values of BMI indicate more overweight individuals.
Therefore, if the diet program is working, BMI DIFF should come out negative.
(b) Print out a listing of this data set in subject number order. Include in the listing only
the variables SUBJ, HEIGHT, BMI_INIT, BMI FINAL, and BMI DIFF.
Here is some sample data for you to use:
00768155150
00272250240
00563240200
00170345298
Transcribed Image Text:1.2 You have collected the following information on some participants in a diet program: Variable Name Description Type Starting Column Ending Column SUBJ Subject number Character HEIGHT Height in inches Numeric WT_INIT WT_FINAL Initial weight (in pounds) Final weight Numeric Numeric 3581 (a) Reading the following data lines, create a SAS data set using column input. Include in this data set three computed variables called BMI INIT (BMI stands for body mass index), BMI FINAL, and BMI DIFF. Computed BMI is a person's weight (in kilo- grams) divided by their height (in meters) squared. To convert pounds to kilograms, di- vide by 2.2; to convert inches to meters, multiply by .0254. BMI DIFF is BMI FINAL minus BMI_INIT. Note: Large values of BMI indicate more overweight individuals. Therefore, if the diet program is working, BMI DIFF should come out negative. (b) Print out a listing of this data set in subject number order. Include in the listing only the variables SUBJ, HEIGHT, BMI_INIT, BMI FINAL, and BMI DIFF. Here is some sample data for you to use: 00768155150 00272250240 00563240200 00170345298
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL