File:Fisher meta.svg
Summary
| Description |
English: P-values from Fisher's meta analysis applied to two tests. |
| Date | |
| Source | Own work |
| Author | Skbkekas |
| SVG development | Category:Valid SVG created with Matplotlib code#Fisher%20meta.svgCategory:SVG images with embedded raster graphics:Diagrams#Fisher%20meta.svg |
| Source code | Python code<source lang='python'>
import matplotlib.pyplot as plt
import numpy as np
import special as sp
r = 0.8
P = np.arange(0.001,0.25,0.001)
Q = np.outer(-2*np.log(P), np.ones(len(P)))
Q = Q + np.transpose(Q)
PV = 1-sp.chdtr(4, Q)
plt.clf()
plt.figure(figsize=(4,3.2))
plt.axes([0.18,0.08,0.76,0.9])
plt.imshow(PV, origin='lower', cmap=plt.cm.gist_rainbow,\
extent=(0,0.25,0,0.25))
plt.colorbar(shrink=0.84)
plt.xlabel("$P_1$")
plt.ylabel("$P_2$")
for a in plt.gca().get_xticklabels():
a.set_size(10)
for a in plt.gca().get_yticklabels():
a.set_size(10)
plt.savefig("fisher_meta.pdf")
plt.savefig("fisher_meta.svg")
|
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.