Learn R Programming

conogive

An R package for the congeneric normal-ogive model.

Overview

The congeneric normal-ogive model (McDonald, R. P., 1997) is a psychometric model for Likert data with one latent factor. This package has functions to estimate such models, calculate their ordinal reliabilities, and make predictions. It implements the concrete ordinal reliabilities of (Moss, 2020).

Installation

From inside R, use one of the following commands:

devtools::install_github("JonasMoss/conogive")

Usage

Estimate a congeneric normal-ogive model with congive, predict the value of the latent factor with predict, and calculate the reliability with ordinal_r.

library("conogive")
extraversion = psychTools::bfi[c("E1", "E2", "E3", "E4", "E5")]
extraversion[, "E1"] = 7 - extraversion[, "E1"] # Reverse-coded item.
extraversion[, "E2"] = 7 - extraversion[, "E2"] # Reverse-coded item.

object = conogive(extraversion)

ordinal_r(object) # Observed reliability
#> [1] 0.7046056
theoretical_ordinal_r(object) # Theoretical reliability
#> [1] 0.8122607

hist(predict(object, extraversion)) # Plot distribution of predictions.

References

McDonald, R. P. (1997). Normal-ogive multidimensional model. In W. J. van der Linden & R. K. Hambleton (Eds.), Handbook of Modern Item Response Theory (pp. 257–269). Springer. https://doi.org/10.1007/978-1-4757-2691-6_15

Moss, J. (2020). Please avoid the standardized alpha and the ordinal alpha. https://psyarxiv.com/nvg5d/

Copy Link

Version

Install

install.packages('conogive')

Monthly Downloads

146

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jonas Moss

Last Published

June 30th, 2020

Functions in conogive (1.0.0)

massage_cuts

Massage Cuts to the Desired Shape
xi_theoretical

Calculate the Theoretical Xi
xi_sample

Calculate Sample Xi
conogive

Estimate a Congeneric Normal-Ogive Model
ordered_y

Transform y Into a Form Where Each Category is An Positive Integer
tr

Trace of matrix
thurstone

Thurstone weights
predict.conogive

Predict Method for Conogive Objects
trim_vector

Remove Infinities from Vector, Append and Prepend -Inf and Inf, and Sort
reliability

Calculate the Ordinal Reliabiltiy
x_hat

Transform Likert data to X_hats.
standardize

Standardize Parameter Vectors