pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ROC


From: John Darrington
Subject: ROC
Date: Fri, 29 May 2009 09:21:37 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

I'm looking at implementing the ROC command, but I'm unsure of some of
the details of how the output should be presented.

If anyone has access to a recent SPSS, could they please try the
following syntax and send me the resulting pdf.

Thanks


data list list /p * x * w * a *.
begin data.
. 1 2  1
. 1 28 0
. 2 4  1
. 2 14 0
. 3 10 1
. 3 5  0
. 4 14 1
. 4 2  0
. 5 20 1
. 5 1  0
1 . 23 0
1 . 3  1
2 . 20 0
2 . 5  1
3 . 18 0
3 . 9  1
4 . 12 0
4 . 13 1
5 . 9  0
5 . 17 1
end data.

weight by w.

echo 'Test 1'.
roc x p by a (1)
        /plot = curve(reference)
        /print = se coordinates
        /criteria = cutoff(include)
                testpos(large)
                distribution(free)
                ci(95)
        /missing = exclude.

echo 'Test 2'.
roc x p by a (1)
        /plot = curve(reference)
        /print = se coordinates
        /criteria = cutoff(include)
                testpos(small)
                distribution(negexpo)
                ci(99)
        /missing = exclude.


-- 
Pgp Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]