Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

*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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Applied Statistics And Probability For Engineers

Authors: Douglas C. Montgomery, George C. Runger

6th Edition

1118539710, 978-1118539712

More Books

Students also viewed these Accounting questions