Question: table [ [ table [ [ Variable ] , [ Name ] ] , Description,Type, table [ [ Starting ] , [

\table[[\table[[Variable],[Name]],Description,Type,\table[[Starting],[Column]],\table[[Ending],[Column]]],[SUBJ,Subject number,Character,1,3],[HEIGHT,Height in inches,Numeric,4,5],[WT_INIT,Initial weight (in pounds),Numeric,6,8],[WT_FINAL,Final weight,Numeric,9,11]]
(a) Reading the following data lines, create a SAS data set using column input. Include it this data set three computed variables called BMI_INIT (BMI stands for body 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 if vide by 2.2; to convert inches to meters, multiply by .0254. BMI_DIFF is BMI_FINL minus BMI_INIT. Note: Large values of BMI indicate more overweight individuls 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 onty the variables SUBJ, HEIGHT, BMI_INIT, BMI_FINAL, and BMI_DIFF. Here is some sample data for you to use:
00768155150
00272250240
00563240200
00170345200
 \table[[\table[[Variable],[Name]],Description,Type,\table[[Starting],[Column]],\table[[Ending],[Column]]],[SUBJ,Subject number,Character,1,3],[HEIGHT,Height in inches,Numeric,4,5],[WT_INIT,Initial weight (in pounds),Numeric,6,8],[WT_FINAL,Final weight,Numeric,9,11]] (a) Reading the

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!