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.2), 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.2.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.2-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xifa-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 256af3085d78b54b8c17df596656a3c5e3ce16b6701707b33d875e0c5858e831
MD5 29492acdf0bb2a144b1d3f3ee5a92ccf
BLAKE2b-256 7026f8a218c02b4afa06cb913f0f434cbc227e082b5473e78349590cf0c14c96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xifa-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c13fd35cb83554bd04e578690ccb24fd910f9187f0debe3d8d4ad36d2de3cc42
MD5 397241a492358b9698ede1caa46ec4c9
BLAKE2b-256 2c3d665d8ac64f73bdac413684088f3f5aecbca17c293d303ef9bb2d4cae77d8

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