How to select the observations randomly from a SAS dataset
Answer Posted / chowdary vamsi
using rununni function generate random sample observations
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain data step in SAS
I need level 2 to 5 sas using companies in india
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
What is the length assigned to the target variable by the scan function?
which features do you use to check the data validations and errors? : Sas-administrator
how would you create multiple observations from a single observation? : Sas programming
what is information maps?
how do you test for missing values? : Sas programming
What is factor analysis?
What is the use of function Proc summary?
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
Describe the function and untility of the most difficult SAS macro that you have written.
Explain the purpose of retain statement.
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?