Learn R Programming

FedIRT (version 0.1.0)

fedirt_gpcm_data: Federated gpcm model

Description

This function is only used to test the accuracy and processing time of this algorithm. It inputs a list of responding matrices and return the federated gpcm parameters. Note: This function can only calculate one combined dataset. To use federated gpcm in distributed datasets, please use fedirt_gpcm().

Usage

fedirt_gpcm_data(inputdata)

Value

A list with the estimated global discrimination a, global difficulty b, person's abilities ability, sites' abilities site, and log-likelihood value loglik.

Arguments

inputdata

A List of all responding matrix.

Details

Input is a List of responding matrices from each school, every responding matrix is one site's data.

Examples

Run this code
# \donttest{
inputdata = list(as.matrix(example_data_graded))
fedresult = fedirt_gpcm_data(inputdata)

inputdata = list(as.matrix(example_data_graded_and_binary))
fedresult = fedirt_gpcm_data(inputdata)
# }

Run the code above in your browser using DataLab