Thank you Dave. I am aware of proc surveyselect but I really do need to use the sampling method as I have described (one of the reasons is that C is related to l). Any thoughts anyone?
I need some sas code for the following urgently.
I have 2 variables id and C that might look like
id C
1 1
2 2
3 3.2
4 4.6
5 5.8
6 6.9
7 8.4
. .
. .
n 546.4
First, I need to generate a random start R, between O and l.
I then need to select case ids from the list where C...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.