Skip to content

C++ header only library of statistical tests; Brunner Munzel & Welch t.

License

Notifications You must be signed in to change notification settings

m-YoC/Brunner_Munzel_CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Brunner_Munzel_CPP

C++ header only library of statistical tests; Brunner Munzel & Welch t.
comments of header are written in Japanese, sorry.

Usage

/* 2 datasets */  
std::vector<double> x = { 1,2,1,1,1,1,1,1,1,1,2,4,1,1 };  
std::vector<double> y = { 3,3,4,3,1,2,3,1,1,5,4 };

/* brunner munzel test */  
test::test_base<double>& res1 = test::brunner_munzel<double>(x, y);  
printf("g: %lf, l:%lf, b:%lf\n", res1.pvalue_greater(), res1.pvalue_less(), res1.pvalue_both());

/* welch t test */  
test::test_base<double>& res2 = test::welch_t<double>(x, y);  
printf("g: %lf, l:%lf, b:%lf\n", res2.pvalue_greater(), res2.pvalue_less(), res2.pvalue_both());

About

C++ header only library of statistical tests; Brunner Munzel & Welch t.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages