1.  Input and Output Data Sets
The SAS data set company.sales has three variables (product, price, and quantity). A new data set work.sales must be created. The new data set needs to contain two variables (product and total). The variable total is the result of price multiplied by quantity.
Complete the following program based on the previous scenario:
data ;
  set ;
  keep ;
  total = ;
run;
1.  Multiple Data Sets
The SAS data set sashelp.class has five variables (name, sex, age, height, and weight) and 19 observations (9 observations with sex=’F’ and 10 observations with sex=’M’).
Answer the questions based on the previous information and the following program:
data work.female(drop=height)
    work.everyone(keep=name weight height);
  set sashelp.class;
   if sex=’F’ then output work.female;
  output work.everyone;
run;
a.  What is the input data set?
b.  How many output data sets are being created?
c.  How many observations are in work.female?
d.  How many observations are in work.everyone?
e.  What variables are in work.female?

 


What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but you proved you are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 11***| Rating: ⭐⭐⭐⭐⭐
"This company is the best there is. They saved me so many times, I cannot even keep count. Now I recommend it to all my friends, and none of them have complained about it. The writers here are excellent."


"Order a custom Paper on Similar Assignment at essayfount.com! No Plagiarism! Enjoy 20% Discount!"