raw2std: Conversion of Raw Scores from a Norm Table

View source: R/scoring.R

raw2stdR Documentation

Conversion of Raw Scores from a Norm Table

Description

Scoring of a vector of observed raw scores leaning on a norm table.

Usage

raw2std(x, std.norm, raw.norm, sep="-")

Arguments

x

Vector or observed raw scores.

raw.norm

Raw scores corresponding to each standard score of the vector std.norm.

std.norm

Standard scores corresponding to each raw score of the vector raw.norm.

sep

Symbol used to separate the extremes of an interval.

Details

The vectors raw.norm and std.norm come from a norm table and provide the correspondence between raw scores and standard scores.

See Also

std_score, score_explode

Examples

norms <- data.frame(
    std = 19:1,
    raw = c("25-30","24","22-23","21","19-20","18","16-17","15",
    "13-14","12","10-11","9" ,"7-8","6","4-5","2-3","1",NA,"0")
)
raw.observed <- c(27,17,12,22,28,3,18,29,9,4,10,21,24,21,9,26,2,16,23,8)
raw2std(raw.observed, norms$std, norms$raw)

DavideMassidda/testing documentation built on Oct. 12, 2023, 4:32 p.m.