ptbis {pairwise}R Documentation

Point Biserial Correlations

Description

Calculation of the point biserial correlations for dicho- or polytomous item categories with total scale (person parameter).

Usage

ptbis(y, daten = NULL)

Arguments

y

either an object of class "pers", or an numeric vector as an result of any scaling approach (WLE, MLE, Rawscore, etc. ) relating to the Items (columns) in daten.

daten

if argument y is not an object of class "pers", a "data.frame", potentially with missing values, comprising dicho- or polytomous items (columns).

Details

no details in the moment.

Value

An object of class c("data.frame", "ptbis") containing item statistics.

Examples

######################
########
data(sim200x3) # loading reponse data
y <- rowSums(sim200x3)
ptbis(y=y, daten=sim200x3)
#### 
result <- pers(pair(sim200x3))
ptbis(y= result)

[Package pairwise version 0.6.1-0 Index]