how to read raw data in sas. Do it manually and throw the
programming.
Answer / singh.naveen409
Process-1
FIle-Import Data-Next-Browse-ok-finish
Process-2
filename myfile "file location path.extension";
data qqq;
infile myfile;
input ......................;
run;
In the place of this .............just right down variable
name;
If you have csv file then;
process:-
proc inport out=work.auto1 filename " path of file which you
want to read.csv"
dbms=csv replace;
getnames=yes;
run;
| Is This Answer Correct ? | 7 Yes | 0 No |
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
There is a field containing a date. It needs to be displayed in the format “ddmonyy” if it’s before 1975,”dd mon ccyy” if it’s after 1985, and as ‘disco years’ if its between 1975 and 1985. How would you accomplish this in data step code? Using only PROC FORMAT.
How would you remove a format that has been permanently associated with a variable? ________________
Given an unsorted data set, how to read the last observation to a new data set?
Name statements that are recognized at compile time only?
What is by-group processing?
data study; input Subj : $3. Group : $1. Dose : $4. Weight : $8. Subgroup; x= input(Weight,5.1); datalines; 001 A Low 220 2 002 A High 90 1 003 B Low 193.6 1 004 B High 165 2 005 A Low 123.4 1 ; Why does X get truncated? X shows up as 22 instead of 220,9 instead of 90 and 19.8 instead of 198? This problem doesnt happen with the values 193.6 and 123.4. This does not happen if x is read on the 5. informat instead of the 5.1 informat
what is the frontend and backend of sas? Is sas is a progaming langauge or tool? on which langauge sas depends?
what is validvarname and varnum? why we are using this options; explain with a syntax for this options?
What function CATX syntax does?
How to get top scorer student from a class-table having different sections A,B, C & D? Each section having same number of students.
if x=round(26.3,10)-1 then x= how much and how explain?