Question: An analyst wishes to create two macro variables containing the average weight of females for non-smokers and smokers respectively. The data set dis.dislipid contains a
An analyst wishes to create two macro variables containing the average weight of females for non-smokers and smokers respectively. The data set dis.dislipid contains a column male (0=female, 1=male), a column currsmok (0=not a current smoker, 1=current smoker) and a column weight that gives each participants weight in pounds. show sas code that results in the two macro variables: GLOBAL MEAN0 132.4796 GLOBAL MEAN1 141.5624
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
