Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201894

Good way to represent odds ratios and p-values in R or Python

$
0
0

Let's say I have n binary variables, and I want to compare them with n^2/2-n chi-square tests. As a result, I can get for each interaction an odds ratio (OR) and p-value. These can be shown like two separate nxn matrices (one for OR and one for p-value), but I would like to show them on a single informative plot.

A similar idea would be a corrplot in R, but size would be comparable to OR, and p-value to color.

Is there any known package in R or Python that can plot something like this?


Viewing all articles
Browse latest Browse all 201894

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>