Learn R Programming

pairwise (version 0.2.2)

ptbis: 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).

Value

  • An object of class "data.frame" and "ptbis" containing item statistics.

Details

to come ...

Examples

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

Run the code above in your browser using DataLab