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.4), 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.4.tar.gz (12.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.4-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xifa-0.1.4.tar.gz
  • Upload date:
  • Size: 12.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.4.tar.gz
Algorithm Hash digest
SHA256 c3542cc81e3166dff34904a83059ed9392f5c00d492e44f7a18b898162ffa085
MD5 5ccd80ec6a809911f963c1245a841d81
BLAKE2b-256 aa87201c4a5e783f96136a260eef6a39b8c870a99f67eca52bc22bbb3c0c5c78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xifa-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 15.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 47ecd289054beda1787e69258afda37b374a103b9fc3f0464cb9a19b6ba51303
MD5 ebb11819af270f301a2c70503bad2f0c
BLAKE2b-256 08a9f91d6fd03ebb2c495813a24d2b2f40a15b29a92c43010a47b3353e194337

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