oops press submit too early, sory:
Hi Dave,
Thanks for the reply.
As you mentioned the difficult part is " The part that makes more difficult is the need to have zero's when there isn't a match. For example, the number of CT's in 0.A count for that wouldn't show up in the Proc Freq because that...
Hello;
I have been stuck with this problem for a while.
I have data like this:
id1 marker1 marker2 response
1 CC AG 0
2 CT AA 1
3 CC GG 0
4 TT AA 1
....
the desired output is:
M a b c d e f
marke1 2 0 0 0 1 1
marker2 0 1 1 2 0 0
M is the name if the markers
for marker1
a = number of...
Hi Chris,
Thanks for your reply,
Yes I am working with variable numbers up to 500 000.
So I tried your prog and it works but I need the variable names. So is there a way of asking the input step to get variable names from first row of the file.
Something like the GETNAME = YES in the input...
Hello there,
Thanks for your replies,
Here is the log I get.
Number of names found is less than number of variables found.
Number of names found is less than number of variables found.
784 /**********************************************************************
785 * PRODUCT: SAS
786...
The problem is that mydata has only 100001, when I know there are more.
I import from txt tab delimited file.
here is what appears in the log:
"...
NOTE: The data set LIB.mydata has 112 observations and 10001 variables.
...
"
Thanks
Z
Hi all,
New to SAS.
I would like to know how to work with large datasets.
that is importing txt files with more than 10 000 variables.
Thanks for your help
Z
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.