Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

What is the business opportunity in the creation of virtual humans?

Answered: 1 week ago

Question

Describe the seven standard parts of a letter.

Answered: 1 week ago

Question

Explain how to develop effective Internet-based messages.

Answered: 1 week ago

Question

Identify the advantages and disadvantages of written messages.

Answered: 1 week ago