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

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