| Other SAS Interview Questions |
|| Asked @
|Can you use a macro within another macro? If so how would
SAS know where the current acro ended and the new one
input Subj : $3.
Group : $1.
Dose : $4.
Weight : $8.
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
|You need to create an In List that it is to be later used in
a Where Clause that includes all the Regions that begin with
the letter A from the sashelp.shoes table. Using PROC SQL
with an into clause create the following string from the
sashelp.shoes table using the variable region
|I need help in merging two different datasets. I am merging
by date and I want to propagate observations from one
dataset to the corresponding dates. One dataset has a
unique date for each day of the month, while the other
dataset has same date for different patient visits. For
example I want to spread an observation on the 31DEC2008
from one dataset to several observations with the same date
on a second dataset for all the patients who visited on
that date. I have tried to merge the two and the result is
not what I wanted. Instead I get a dataset whereby all the
dates have missing values where observations from the first
datset should have spread.
input x y ;
Proc Freq data=abc;
tables x*y / chisq nopercent nocol norow PLCORR;
If we run the code, we have Polychoric Correlation = 0.9054
in the last table.
I want to extract this particular entry with the value.
Means I will create one dataset in which this value will be
I need your help in coding this. Please help me out.
|Explain the message 'Merge has one or more datasets with
repeats of by variables'.
|how to handle in stream data containing semicolon in it?
|In the flow of DATA step processing, what is the first
action in a typical DATA Step?
|Name the option to produce a frequency line items rather
that a table.
|What is the purpose of the trailing and How would you use them?
|what is lifetest
|SAS using companies in chennai
|For more SAS Interview Questions Click Here |