* -------------------------------------------------------------------; * Online Stats Training; * SAS: how to get started; * By Lion Behrens and Rens van de Schoot, Utrecht University * -------------------------------------------------------------------; * Load in data; proc import out= popular.data datafile= "C:\your working directory\popular_regr_1.xlsx" dbms=excel replace; getnames=yes; datarow=2; run; * Exercise 1a; proc corr data=data; var sd overt covert; run; * Exercise 1b; proc reg data=data; model sd = overt covert; run;