How the date 04oct1994 is stored in SAS,not only give the
answer explain in brief?
Answers were Sorted based on User's Feedback
Answer / vineeta
The date will be stored as the number of days since January
1,1960. Internally SAS stores dates as no. of days hence it
becomes a numeric value on which computations can be done.
Use a date informat to read the date eg. DATE9. and u will
get the number of days in the output dataset.
Is This Answer Correct ? | 23 Yes | 0 No |
Answer / sree
In sas the date will be stored as the number of days since
January
1,1960. SAS stores dates as number of days hence it
becomes a numeric value .
Use a date informat to read the date eg. DATE9. ,MMDDYY10.
etc..and u will
get the number of days in the output dataset in a format
you specify or date9.only
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / pnprasad
There are four informats are there in SAS to read the date
values, i.e MMDDYY8. (mm/dd/yy), MMDDYY10. (mm/dd/yyyy)
date7. (ddMMMyy) date9. (ddMMMyyyy), so Ans is date9. Note:
each format ends with period.
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / sas
guys please read the question carefully and then proceed
with writing answers.....invalid answers mislead to sas new
comers....
Is This Answer Correct ? | 1 Yes | 0 No |
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
calculate the sum of value using only DATA STEP. data count_; input year name $ value; cards; 2006 xxx 10 2007 yyy 12 2006 xxx 20 2008 yyy 15 2007 xxx 15 ; out put should be like this year name T_value ----------------------- 2006 xxx 30 2007 xxx 15 2007 yyy 12 2008 xxx 15
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
what is p-value
3 Answers Accenture, Quintiles, Sristek,
How many missing values are available? When might you use them?
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 difference between %local and %global?
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
What is the difference between a PROC step and a DATA step?
how to import HTML files into SAS datasets?
how to generate means for every subject;
tell me about use of arrays in sas