All Projects → inuyasha2012 → Pypsy

inuyasha2012 / Pypsy

Licence: mit
psychometrics package, including MIRT(multidimension item response theory), IRT(item response theory),GRM(grade response theory),CAT(computerized adaptive testing), CDM(cognitive diagnostic model), FA(factor analysis), SEM(Structural Equation Modeling) .

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pypsy

W3 Goto World
🍅 Git/AWS/Google 镜像 ,SS/SSR/VMESS节点,WireGuard,IPFS, DeepWeb,Capitalism 、行业研究报告的知识储备库
Stars: ✭ 7,886 (+6311.38%)
Mutual labels:  education, psychology
Godot tutorials
Code and examples for KidsCanCode Godot Tutorials.
Stars: ✭ 119 (-3.25%)
Mutual labels:  education
Freecodecamp.cn
FCC China open source codebase and curriculum. Learn to code and help nonprofits.
Stars: ✭ 36,576 (+29636.59%)
Mutual labels:  education
Powerup Android
PowerUp is an educational choose-your-own-adventure game that utilizes a users uploaded curriculum to empower pre-adolescents to take charge of their reproductive health. This is the Android version of the game.
Stars: ✭ 114 (-7.32%)
Mutual labels:  education
Pluralsight Scraper
Pluralsight video downloader
Stars: ✭ 109 (-11.38%)
Mutual labels:  education
Bird Recognition Review
A list of useful resources in the bird sound (song and calls) recognition, such as datasets, papers, links to open source projects and competitions
Stars: ✭ 116 (-5.69%)
Mutual labels:  survey
What The Splash
Tutorial for building an unsplash image gallery with redux saga :atom:
Stars: ✭ 107 (-13.01%)
Mutual labels:  education
Robertalab
IMPORTANT: this repository statys for HISTORICAL reasons only. The actively supported repository is "openroberta-lab". In the "develop" branch of this repository please read the files "IMPORTANT_CHANGE.md" and "README.md". Thank you very much.
Stars: ✭ 121 (-1.63%)
Mutual labels:  education
O365 Moodle
Office 365 and Azure Active Directory plugins for Moodle
Stars: ✭ 117 (-4.88%)
Mutual labels:  education
Seai
CMU Lecture: Machine Learning In Production / AI Engineering / Software Engineering for AI-Enabled Systems (SE4AI)
Stars: ✭ 114 (-7.32%)
Mutual labels:  education
Spb
⚓️ Saint Petersburg, Russia
Stars: ✭ 113 (-8.13%)
Mutual labels:  education
Quick Survey
A tool for quick surveys, try it out. (No longer maintained).
Stars: ✭ 109 (-11.38%)
Mutual labels:  survey
Raspberry Pi Os
Learning operating system development using Linux kernel and Raspberry Pi
Stars: ✭ 11,000 (+8843.09%)
Mutual labels:  education
Venus
RISC-V instruction set simulator built for education
Stars: ✭ 109 (-11.38%)
Mutual labels:  education
W3develops
The w3develops.org open source codebase - Learn, build, and meetup with other developers on DISCORD https://discord.gg/WphGvTT and YOUTUBE http://bit.ly/codingyt
Stars: ✭ 120 (-2.44%)
Mutual labels:  education
Snap4arduino
Binding Snap! and Arduino together
Stars: ✭ 107 (-13.01%)
Mutual labels:  education
Psycho.r
An R package for experimental psychologists
Stars: ✭ 113 (-8.13%)
Mutual labels:  psychology
Pointless
Pointless: a scripting language for learning and fun
Stars: ✭ 116 (-5.69%)
Mutual labels:  education
Onramp
Easing the onramp for new or non-PHP developers to become Laravel devs.
Stars: ✭ 123 (+0%)
Mutual labels:  education
Studentinsights
We work within school communities to make open, secure, student-centered data systems. Say [email protected]!
Stars: ✭ 121 (-1.63%)
Mutual labels:  education

.. image:: https://img.shields.io/travis/inuyasha2012/pypsy.svg :target: https://travis-ci.org/inuyasha2012/pypsy

.. image:: https://coveralls.io/repos/github/inuyasha2012/pypsy/badge.svg?branch=master :target: https://coveralls.io/github/inuyasha2012/pypsy?branch=master

.. image:: https://img.shields.io/pypi/v/psy.svg :target: https://pypi.python.org/pypi/psy

.. image:: https://readthedocs.org/projects/python-psychometrics/badge/?version=latest :target: https://python-psychometrics.readthedocs.io/en/latest/?badge=latest

pypsy

中文 <./README_ZH.rst>_

psychometrics package, including structural equation model, confirmatory factor analysis, unidimensional item response theory, multidimensional item response theory, cognitive diagnosis model, factor analysis and adaptive testing. The package is still a doll. will be finished in future.

unidimensional item response theory

models


-  binary response data IRT (two parameters, three parameters).

-  grade respone data IRT (GRM model)

Parameter estimation algorithm
------------------------------

-  EM algorithm (2PL, GRM)

-  MCMC algorithm (3PL)

--------------

Multidimensional item response theory (full information item factor analysis)
-----------------------------------------------------------------------------

Parameter estimation algorithm

The initial value ^^^^^^^^^^^^^^^^^

The approximate polychoric correlation is calculated, and the slope initial value is obtained by factor analysis of the polychoric correlation matrix.

EM algorithm ^^^^^^^^^^^^

  • E step uses GH integral.

  • M step uses Newton algorithm (sparse matrix is divided into non sparse matrix).

Factor rotation ^^^^^^^^^^^^^^^

Gradient projection algorithm

The shortcomings


GH integrals can only estimate low dimensional parameters.

--------------

Cognitive diagnosis model
-------------------------

models
~~~~~~

-  Dina

-  ho-dina

parameter estimation algorithms
  • EM algorithm

  • MCMC algorithm

  • maximum likelihood estimation (only for estimating skill parameters of subjects)


Structural equation model

  • contains three parameter estimation methods(ULS, ML and GLS).

  • based on gradient descent


Confirmatory factor analysis

  • can be used for continuous data, binary data and ordered data.

  • based on gradient descent

  • binary and ordered data based on Polychoric correlation matrix.


Factor analysis

For the time being, only for the calculation of full information item factor analysis, it is very simple.

The algorithm


principal component analysis

The rotation algorithm

gradient projection


Adaptive test

model


Thurston IRT model (multidimensional item response theory model for
personality test)

Algorithm

Maximum information method for multidimensional item response theory


Require

  • numpy

  • progressbar2


How to use it

install

::

    pip install psy

See demo

TODO LIST
---------

-  theta parameterization of CCFA

-  parameter estimation of structural equation models for multivariate
   data

-  Bayesin knowledge tracing (Bayesian knowledge tracking)

-  multidimensional item response theory (full information item factor
   analysis)

-  high dimensional computing algorithm (adaptive integral, etc.)

-  various item response models

-  cognitive diagnosis model

-  G-DINA model

-  Q matrix correlation algorithm

-  Factor analysis

-  maximum likelihood estimation

-  various factor rotation algorithms

-  adaptive

-  adaptive cognitive diagnosis

-  other adaption model

-  standard error and P value

-  code annotation, testing and documentation.

Reference
---------

-  `DINA Model and Parameter Estimation: A
   Didactic <http://www.stat.cmu.edu/~brian/PIER-methods/For%202013-03-04/Readings/de%20la%20Torre-dina-est-115-30-jebs.pdf>`__
-  `Higher-order latent trait models for cognitive
   diagnosis <http://www.aliquote.org/pub/delatorre2004.pdf>`__
-  `Full-Information Item Factor
   Analysis. <http://conservancy.umn.edu/bitstream/11299/104282/1/v12n3p261.pdf>`__
-  `Multidimensional adaptive
   testing <http://media.metrik.de/uploads/incoming/pub/Literatur/1996_Multidimensional%20adaptive%20testing.pdf>`__
-  `Derivative free gradient projection algorithms for rotation <https://cloudfront.escholarship.org/dist/prd/content/qt9938p4wc/qt9938p4wc.pdf>`__
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].