Skip to content

SciRuby/statsample-bivariate-extension

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 12 commits ahead of clbustos:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

statsample-bivariate-extension

Build Status

DESCRIPTION:

Provides advanced bivariate statistics:

  • Tetrachoric correlation
  • Polychoric correlation

FEATURES/PROBLEMS:

  • Statsample::Bivariate::Polychoric class provides polychoric correlation
  • Statsample::Bivariate::Tetrachoric class provides tetrachoric correlation

SYNOPSIS:

Tetrachoric correlation

require 'statsample'
a=40
b=10
c=20
d=30
tetra=Statsample::Bivariate::Tetrachoric.new(a,b,c,d)
puts tetra.summary

Polychoric correlation

require 'statsample'
ct=Matrix[[58,52,1],[26,58,3],[8,12,9]]

poly=Statsample::Bivariate::Polychoric.new(ct)
puts poly.summary

REQUIREMENTS:

  • Statsample

INSTALL:

This gem is a statsample dependency. If you want to install it separatly

  • gem install statsample-bivariate-extension

LICENSE:

BSD 2-Clause (see LICENSE.txt)

About

Polychoric and Tetrachoric support for statsample

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 99.5%
  • Shell 0.5%