statsample-bivariate-extension

DESCRIPTION:

Provides advanced bivariate statistics:

FEATURES/PROBLEMS:

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:

INSTALL:

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

LICENSE:

GPL-2

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.