BookmarkSubscribeRSS Feed
SeanKing
Calcite | Level 5

Im having trouble reading these two data sets into SAS on demand for Academics.  Can someone assists me in getting the raw data into SAS studio?  My path in excel is

C:\Users\sking\Desktop\SAS exercises\SAS Data

However, my path in SAS studio is /home/seaneking10/xavier/boston.csv  I think my dilemma is these two paths not being the same.  How do I go about changing the path in SAS studio  so it reflects the path file on my C drive?  There is an upload feature in SAS on demand for Academics which allows you to upload from your desk top I've tried that and still got error messages.  So again, I have attached two data sets can someone please assist me with the code to get these two data sets read into SAS on demand for academics?

I believe my code should read:

Data boston;

infile C:\Users\sking\Desktop\SAS exercises\SAS Data\ boston.csv' dlm=',' firstobs =2;

input  var : $ $  : 4.2;

run;

proc print;

Again my path in SAS on demand for academics reads  /home/seaneking10/xavier/boston.csv  How do I change this to reflect the path in the C drive?  I've tried to doing this manually and was unsuccessful

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 1207 views
  • 0 likes
  • 1 in conversation