Question: *before answering make sure you do this in the SAS program ONLY or use a pencil and paper to show the layout, codes, and commands

*before answering make sure you do this in the SAS program ONLY or use a pencil and paper to show the layout, codes, and commands used in SAS to get the answer.*

The body mass index (BMI) is a measure used as a rough indicator of an individuals body fat. The following program computes BMI using weight (in pounds) and height (in inches).

** Compute Body Mass Index using pounds and inches;

Data bodymass;

Weight = 150;

Height = 68;

BMI = (Weight / height ** 2) * 703;

Run;

Type this program into the editor and submit it.

This program creates a SAS data set named BODYMASS in the work library.

View the data set. Find the value that was calculated for the BMI variable and record this value as a comment in your program.

View the properties for this data set. Find the types and lengths for the variables and record them as comments in your program.

Choose different values for the variables Weight and Height in your program. Add a PROC PRINT to list the data in the BODYMASS data set and submit the revised program.

*this HAS to be done in the SAS program and provided a picture from SAS log not just typed as I struggle with the layout of codes and commands thank you*

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 Accounting Questions!