Diff for "FAQ/sigdet" - CBU statistics Wiki
location: Diff for "FAQ/sigdet"
Differences between revisions 18 and 19
Revision 18 as of 2007-07-10 12:52:43
Size: 1501
Editor: PeterWatson
Comment:
Revision 19 as of 2007-07-10 12:53:09
Size: 1443
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
A table showing dprime values for true positives and false alarm combinations.[:FAQ/sigdet/effecttab: is available.]A more complete table showing dprime values is available.] A table showing dprime values for true positives and false alarm combinations.[:FAQ/sigdet/effecttab: is available.]

Computing dprimes and betas

Dprimes and Betas may be computed in SPSS using the probit function. The UCLA statistics department give [http://www.linguistics.ucla.edu/faciliti/facilities/statistics/dprime.htm further details.] They suggest values upto 2 are typical dprime values.

A table showing dprime values for true positives and false alarm combinations.[:FAQ/sigdet/effecttab: is available.]

[CUT AND PASTE SPSS SYNTAX BELOW INTO A SYNTAX WINDOW AMENDING DATA AS REQUIRED]

* Computes Dprimes and Betas for signal detection theory
* amend data input as required
SET FORMAT F10.5.
DATA LIST FREE /
HI FN FP CN.

BEGIN DATA
9 1 3 7
6 4 2 8
END DATA.

IF (HI EQ 0) HI = 0.5.
IF (FN EQ 0) FN = 0.5.
IF (FP EQ 0) FP = 0.5.
IF (CN EQ 0) CN = 0.5.

COMPUTE HIP = HI / (HI + FN).
COMPUTE FPP = FP / (FP + CN).

COMPUTE DP = PROBIT(HIP) - PROBIT(FPP).
COMPUTE BETA = EXP(-0.5*(PROBIT(HIP)**(2))) / EXP(-0.5*(PROBIT(FPP)**(2))).
LIST VARIABLES= DP BETA HI FN FP CN.

* Multiple invocations of the macro in the same interactive session will produce the following note:

>The macro name specified on the DEFINE command duplicates the name of a previously defined macro. This instance will take precedence.

This warning does not indicate a problem and may be ignored.

None: FAQ/sigdet (last edited 2015-04-14 15:29:31 by PeterWatson)