New York University Statistics & Databases Worksheet
Description
When completed 5pload in Canvas under Assignments No. 2
Homework Assignment no. 2:
To read in DATA:
INPUT INFILE Statement or PROC IMPORT (whichever allows for reading
- in of the data into the SAS software).
- Conduct: T-test
- Use PROC MEANS code from Nov. 1, 2022 lecture notes (week 2)
- For population mean: Either calculate mean from original data set or use reference value from the previous year or in the scientific literature
Recode Variables: Modify Variables or Recode Two Variables (2) into Discrete Classes or Relative Frequency
Copy data to create NEW DATA SET to modify variables
- Use IF EN LSE Statement to convert from continuous to discrete i.e. RECODE each variable into discrete categories or intervals or classes;
RENAME RECODED Variables
See Lecture Notes; Nov. 1, 2022
Create: Cross-Tabulations
- Use PROC FREQ and the * code from Nov. 1, 2022 lecture notes (week 2).
- Calculate Correlation: Pearson
- Use PROC CORR
- Note: PROC CORR Default is Pearson
- Copy all SAS programming code and output (results) into a single Word or PDF file.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."