Dear SAS/IML support team, I am using SAS 9.3. I am conducting simulations to compare methods for cutoff estimation. One is kernel density estimation where I use the intersection of 2 pdfs as a cutoff. For these I want to estimate sensitivity and specificity or area under the curve. I am unable to make the code run over e.g. a 1000 simulations. Thus, I need to construct some kind of loop or by statement around it, so it gives me the output "by sampledID". The second issue I am facing is that each sample has a different cutoff, therefore I have a second data set with the cutoffs by sampleID, which at the moment I need to enter manually. To sum it up, I have 2 data sets, 1 with sampleID 1 to x, the values and densities for each sample from the proc kde output, and a 2. data set with the cutoffs and sampleID. Is there any possibility to manage that with SAS? I would like to create an output data set with sensitivity/specificity by sampleID. I would appreciate any hint you can give me or whether you think it is even possible to conduct. Kind regards, Tim
... View more