Question: SAS On Demand In this assignment, you will analyze USPresident.csv file, (snippet shown below) Your script should use a PROC FREQ statement. Your script should
SAS On Demand
In this assignment, you will analyze USPresident.csv file, (snippet shown below)
Your script should use a PROC FREQ statement. Your script should generate following output columns.
1. State
2. Number of presidents
3. Percent
4. Cumulative frequency
5. Cumulative percent
| Presidency | President | Tookoffice | Leftoffice | Party | HomeState |
| 1 | George Washington | 12/10/1789 | 04/03/1797 | Independent | Virginia |
| 2 | John Adams | 24/03/1797 | 14/03/1801 | Federalist | Massachusetts |
| 3 | Thomas Jefferson | 14/03/1801 | 14/03/1809 | Democratic-Republican | Virginia |
| 4 | James Madison | 13/03/1809 | 04/03/1817 | Democratic-Republican | Virginia |
| 5 | James Monroe | 04/03/1817 | 04/03/1825 | Democratic-Republican | Virginia |
| 6 | John Quincy Adams | 04/03/1825 | 04/03/1829 | Democratic-Republican/National Republican | Massachusetts |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
