Question: Could you help me understand what I ' m doing wrongly? My SAS codes are: * Reading data in; Proc import datafile = ' /
Could you help me understand what Im doing wrongly?
My SAS codes are:
Reading data in;
Proc import datafile homeuProjectProjectADcsv
outmydata dbmscsv replace;
getnamesno;
run;
print the data to the screen to see if they are okay;
proc print data mydata;
run;
THIS PART WORKS PERFECTLY
Next codes don't work
proc corr data mydata;
by State;
var Cancer; run;
SAS said that ERROR: Variable CANCER not found.
But my variable name is exactly Cancer.
What I forgot to put in codes? Maybe INPUT with variables names?
Thanks.
How my data set looks like
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
