Title | Lab 4 - Creating Variables, Proc Means Proc Univariate with Class |
---|---|
Author | veryverysmart smart |
Course | Biostatistics I |
Institution | Brock University |
Pages | 7 |
File Size | 580.1 KB |
File Type | |
Total Downloads | 86 |
Total Views | 131 |
lab notes...
2019-02-01
Lab #4 Creating BMI Proc Means & Proc Univariate by class statement HLSC 2P07 Winter 2019
Creating a New Variable: BMI • •
We can use variables already in our dataset to create new variables E.g. We have data on height and weight and so we can use these to calculate/create a new variable: BMI
• Data preparation and review of data cleaning libname stats 'X:\HLSC 2P07\Dataset’; data clean; set stats.pa; if wt=7777 then wt=.; if ht...