Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How can I Print observations 11 to 20., Sum the saleprice variable in the report. Then, break this total sum up by store (YES, Yes
How can I Print observations 11 to 20., Sum the saleprice variable in the report. Then, break this total sum up by store ("YES", "Yes" or "Y" as "online" and "NO", "No" or "N" for "in store")? The data set that is created from this datafile is named as "stones".
My code is
Proc Print Data =
Sum saleprice;
By Store;
Pageby Store;
Run;
/*But this did not work. DO I need to assign "YES" "Yes" "Y" from the variable Store to the new value of "In store" ?*/
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started