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 technique in psychometrics.

xifa is build on jax, a package for Autograd and XLA (accelerated linear algebra). Hence, xifa can run IFA on GPUs and TPUs to hugely 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.3), 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 the 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.3.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.3-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xifa-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 cd9682d30dc46a3c2d1b0dc48755e1dcf25577b3a693ae1bf36b6ddb24b617b5
MD5 ba14c142c09f8ba83e0fec3551b7d50d
BLAKE2b-256 ec43267127e7b8fe864089d49b5a2e02c9240f02b7af265619e33656752461f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xifa-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b02aeffd01ae55249d5d57cda6faf8b29a74cea112567d889a7eb612c1fce10b
MD5 ad54ae3833c2c85b887ccb521b5dc371
BLAKE2b-256 7b3901a67d86c3d8add91c2c88c690ac14711d2cbe9a2d191a0a4ad473e0b39d

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