Learn R Programming

⚠️There's a newer version (1.0.14) of this package.Take me there.

rpf (version 0.45)

Response Probability Functions

Description

The purpose of this package is to factor out logic and math common to Item Factor Analysis fitting, diagnostics, and analysis. It is envisioned as core support code suitable for more specialized IRT packages to build upon. Complete access to optimized C functions are made available with R_RegisterCCallable.

Copy Link

Version

Install

install.packages('rpf')

Monthly Downloads

20,661

Version

0.45

License

GPL (>= 3)

Maintainer

Joshua Pritikin

Last Published

May 26th, 2015

Functions in rpf (0.45)

Class rpf.1dim.grm

The unidimensional graded response item model.
read.flexmirt

Read a flexMIRT PRM file
LSAT6

Description of LSAT6 data
rpf.sample

Randomly sample response patterns given a list of items
ordinal.gamma

Compute the ordinal gamma association statistic
itemOutcomeBySumScore

Produce an item outcome by observed sum-score table
rpf.dLL

Item parameter derivatives
rpf.modify

Create a similar item specification with the given number of factors
rpf.rparam

Generates item parameters
rpf.drm

Create a dichotomous response model
rpf.id_of

Convert an rpf item model name to an ID
stripData

Strip data and scores from an IFA group
fromFactorLoading

Convert factor loadings to response function slopes
Class rpf.mdim.mcm

The multiple-choice response item model (both unidimensional and multidimensional models have the same parameterization).
bestToOmit

Identify the columns with most missing data
Class rpf.mdim.nrm

The nominal response item model (both unidimensional and multidimensional models have the same parameterization).
Class rpf.1dim.drm

Unidimensional dichotomous item models (1PL, 2PL, and 3PL).
rpf.rescale

Rescale item parameters
rpf.mean.info1

Find the point where an item provides mean maximum information
Class rpf.1dim.graded

The base class for 1 dimensional graded response probability functions.
rpf.numSpec

Length of the item model vector
rpf.numParam

Length of the item parameter vector
SitemFit

Compute the S fit statistic for a set of items
kct

Knox Cube Test dataset
Class rpf.base

The base class for response probability functions.
fromFactorThreshold

Convert factor thresholds to response function intercepts
toFactorLoading

Convert response function slopes to factor loadings
rpf.ogive

The ogive constant
sumScoreEAP

Compute the sum-score EAP table
omitItems

Omit the given items
rpf.1dim.stdresidual

Calculate standardized residuals
rpf.nrm

Create a nominal response model
rpf.1dim.fit

Calculate item and person Rasch fit statistics
rpf.mean.info

Find the point where an item provides mean maximum information
omitMostMissing

Omit items with the most missing data
rpf.grm

Create a graded response model
rpf.mcm

Create a multiple-choice response model
Class rpf.mdim.drm

Multidimensional dichotomous item models (M1PL, M2PL, and M3PL).
rpf.paramInfo

Retrieve a description of the given parameter
SitemFit1

Compute the S fit statistic for 1 item
crosstabTest

Monte-Carlo test for cross-tabulation tables
Class rpf.1dim

The base class for 1 dimensional response probability functions.
orderCompletely

Order a data.frame by missingness and all columns
observedSumScore

Compute the observed sum-score
Class rpf.mdim

The base class for multi-dimensional response probability functions.
LSAT7

Description of LSAT7 data
write.flexmirt

Write a flexMIRT PRM file
ChenThissen1997

Computes local dependence indices for all pairs of items
compressDataFrame

Compress a data frame into unique rows and frequencies
rpf.1dim.residual

Calculate residuals
ptw2011.gof.test

Compute the P value that the observed and expected tables come from the same distribution
sumScoreEAPTest

Conduct the sum-score EAP distribution test
An introduction

rpf - Response Probability Functions
tabulateRows

Tabulate data.frame rows
Class rpf.mdim.grm

The multidimensional graded response item model.
science

Liking for Science dataset
rpf.1dim.moment

Calculate cell central moments
rpf.logprob

Map an item model, item parameters, and person trait score into a probability vector
Class rpf.mdim.graded

The base class for multi-dimensional graded response probability functions.
toFactorThreshold

Convert response function intercepts to factor thresholds
EAPscores

Compute EAP scores
rpf.info

Map an item model, item parameters, and person trait score into a information vector
rpf.dTheta

Item derivatives with respect to the location in the latent space
logit

Transform from [0,1] to the reals
expandDataFrame

Expand summary table of patterns and frequencies
rpf.prob

Map an item model, item parameters, and person trait score into a probability vector
multinomialFit

Multinomial fit test
as.IFAgroup

Convert an OpenMx MxModel object into an IFA group