YTSMPIR ;SLC/KCM - Score MMPI-2-RF ; 10/24/2015
Source file <YTSMPIR.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
SCORE(RSLT,ADMIN) | ; Score instrument
; build tables if necessary ; build responses ; scan for overall results ; compute raw score for each scale ; compute adjusted scores, if necessary ; get T-scores for each scale |
|
SCAN(CNT,RSP) | ; scan for overall statistics
|
|
SCORE1(RSLT,SCALE,RSP) | ; set .RSLT subscripts for SCALE
; expects T (scoring tables) ; .RSLT: subscripts - raw,adjusted,count,percent,tscore ; SCALE: scale to calculate ; .RSP: set of responses -- RSP(q#)=answer |
|
VRIN(RSLT,RSP) | ; VRIN-r raw,count,percent,t-score
|
|
TRIN(RSLT,RSP) | ; TRIN-r raw,count,percent,t-score
|
|
TSCORE(RSLT,SCALE) | ; add T-Score to .RSLT
|
|
VRINADJ(RSLT,RSP) | ; VRIN-r adjusted raw score
|
|
TRINADJ(RSLT,RSP) | ; TRIN-r adjusted raw score
|
|
RAWADJ(RSLT,SCALE,RSP) | ; general case adjusted raw score
|
|
PERCENT(RSLT,SCALE) | ; compute percent and put back in .RSLT
; expects T (scoring tables) |
|
INC(SCALE,SUB,VAL) | ; increment (or decrement) subscript SUB by value VAL
|
|
SETSCORE(SCR,RSLT,SCALE) | ;
|