DeliberativeAnalysis / DeliberateQ

Q-methodology analysis tool
3 stars 1 forks source link

Use Lin's Concordance Correlation Coefficient instead of Pearsons #3

Closed davidmoten closed 6 years ago

davidmoten commented 6 years ago

As requested by @simonniemeyer, have defaulted to using the Lin Concordance Correlation Coefficient wherever Pearsons was used.

Will add unit tests for concordance calculation soon.

codecov-io commented 6 years ago

Codecov Report

Merging #3 into master will increase coverage by 0.22%. The diff coverage is 41.4%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master       #3      +/-   ##
============================================
+ Coverage     17.54%   17.76%   +0.22%     
- Complexity      429      438       +9     
============================================
  Files            97       98       +1     
  Lines          6829     6857      +28     
  Branches        884      884              
============================================
+ Hits           1198     1218      +20     
- Misses         5520     5528       +8     
  Partials        111      111
Impacted Files Coverage Δ Complexity Δ
...github/deliberateq/qsort/gui/PreferencesPanel.java 0% <ø> (ø) 0 <0> (ø) :arrow_down:
...in/java/com/github/deliberateq/qsort/Analysis.java 53.84% <ø> (ø) 2 <0> (ø) :arrow_down:
...va/com/github/deliberateq/qsort/gui/MainFrame.java 0% <ø> (ø) 0 <0> (ø) :arrow_down:
...c/main/java/com/github/deliberateq/qsort/Data.java 36.13% <0%> (-0.09%) 49 <0> (ø)
...m/github/deliberateq/qsort/gui/DataGraphPanel.java 0% <0%> (ø) 0 <0> (ø) :arrow_down:
...va/com/github/deliberateq/qsort/gui/DataFrame.java 0% <0%> (ø) 0 <0> (ø) :arrow_down:
.../deliberateq/qsort/gui/loadings/LoadingsPanel.java 0% <0%> (ø) 0 <0> (ø) :arrow_down:
...va/com/github/deliberateq/qsort/gui/DataPanel.java 0% <0%> (ø) 0 <0> (ø) :arrow_down:
...ateq/util/math/gp/ReferenceQuartimaxCriterion.java 0% <0%> (ø) 0 <0> (ø) :arrow_down:
.../deliberateq/qsort/gui/DataGraphExtendedPanel.java 0% <0%> (ø) 0 <0> (ø) :arrow_down:
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 49bafbe...1c5a715. Read the comment docs.

davidmoten commented 6 years ago

Ready to merge this. Default is now Lin's Concordance Correlation Coefficient but can be changed globally by specifying a parameter -Dcc=PEARSONS on the command line when running DeliberateQ.