Hi I was wondering how do I get the 90th percentile record? I want to know which patient ID contains the 90th percentile.
I don't have the code with me right now the one I use for 90th percentile but here is sample of my data
ID Diff_time
11 8
12 3
13 7
14 3
15 6
Basically the 90th percentile would be 7 let's just say. I want to produce an output that gives me the ID so I know which record is the 90th percentile which would be ID number 13.
I just need a sample code. I couldn't find one on the internet so I was hoping someone have one already on their own computer and can point me to the right direction.
I don't have the code with me right now the one I use for 90th percentile but here is sample of my data
ID Diff_time
11 8
12 3
13 7
14 3
15 6
Basically the 90th percentile would be 7 let's just say. I want to produce an output that gives me the ID so I know which record is the 90th percentile which would be ID number 13.
I just need a sample code. I couldn't find one on the internet so I was hoping someone have one already on their own computer and can point me to the right direction.