fedirt_gpcm_data {FedIRT}R Documentation

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)

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.

Value

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

Examples


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)


[Package FedIRT version 0.1.0 Index]