Skip to main content

Accelerated Item Factor Analysis

Project description

XIFA: Accelerated Item Factor Analysis

xifa is a python package for conducting item factor analysis (IFA), a representative multivariate techniques in psychometrics.

xifa is build on jax, a package for Autograd and XLA. Hence, xifa can run IFA on GPUs and TPUs to speed up the training process. That is why we call it Accelerated IFA.

xifa implements a vectorized Metropolis-Hastings Robbins-Monro (MH-RM) algorithm to calculate a marginal maximum likelihood (MML) estimate. MH-RM is one of the states-of-art algorithms for high dimensional IFA (Cai, 2010). The vectorized version is designed for parallel computing with GPUs of TPUs. The vectorized MH-RM includes two stages. The first stage updates the parameter estimate by a stochastic expectation-maximization (StEM) algorithm. The second stage conducts stochastic approximation (SA) to refine the estimate.

In the current version (0.1.1), xifa supports ordinal data IFA with graded response model (GRM; Semejima, 1969) and generalized partial credit model (GPCM; Muraki, 1992). The analysis can be either exploratory or confirmatory.

For a tutorial, please see IPIP 50 Items Example.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xifa-0.1.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xifa-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file xifa-0.1.1.tar.gz.

File metadata

  • Download URL: xifa-0.1.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

File hashes

Hashes for xifa-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bc454f5e34b82d100a14e9b7e2e9be6f7fe2f56cb897fcdf466c4765ac9339b0
MD5 ee93ad7a5261e20440968fcab5a3a9fe
BLAKE2b-256 6ad75653d4083ff97147e6f768f85133af2b97efdf70fab687a24b43281737c0

See more details on using hashes here.

File details

Details for the file xifa-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: xifa-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

File hashes

Hashes for xifa-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31f2f7296e4d2d626f994aada8f61d7eb08d78217f5aad65d33c55b0112e3d9e
MD5 57a4418e8eac9a4e73caffe9f9f0357a
BLAKE2b-256 9dbaf3335dcd8f299598873a87ebc35232c7cbd19e63c159a172d205435a4791

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page