jasp-issues icon indicating copy to clipboard operation
jasp-issues copied to clipboard

[Feature Request]: Adding visualization and post hoc tests in JASP Chi-square test

Open PerPalmgren opened this issue 1 year ago • 1 comments

Description

It would be a great if JASP could implement an attractive and easy visualization when performing a chis-square test between two categorical variables. I think this could enhance clarity for users when running such an analysis. It would further be great if JASP also could include a proportion test. Furthermore, if would be wonderful (and less cumbersome) to also include pairwise (post-hoc tests) when detecting a significant association, when having more than two categories in the variables. Preferably these pairwise proportion tests should display both normal and adjusted (for multiple comparisons) p-values.

Purpose

Enhancing Chi-square analysis

Use-case

No response

Is your feature request related to a problem?

No

Is your feature request related to a JASP module?

Frequencies

Describe the solution you would like

  1. The plot and the proportion test is available in R through gt stats plot package and use of gg bar stats function.
  2. Pairwise post-hoc tests could be done through rstatix function and to use "pairwise prop test function".

Describe alternatives that you have considered

No response

Additional context

This is presented and explained here: https://www.youtube.com/watch?v=8Tj0-yMPO64

PerPalmgren avatar Aug 03 '24 13:08 PerPalmgren

@PerPalmgren Thx for the wonderful request. I like the visualisation shown in the video. And just for your information. You can visualize chi-square tests kind of via flexplot. But yeah, would be cool to have some visualisation directly within the module.

tomtomme avatar Sep 12 '24 06:09 tomtomme