File:Correlation significance.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 360 × 305 pixels, file size: 35 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Plot showing the minimum value of Pearson's sample correlation coefficient that would be significant at the 0.05 level for a given sample size.
Date
Source Own work
Author Skbkekas
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt

N = np.arange(10,250,1)
Z = 1.96/np.sqrt(N-3)
R = (np.exp(2*Z)-1)/(np.exp(2*Z)+1)

plt.clf()
plt.figure(figsize=(4,3.4))
plt.axes([0.15,0.15,0.8,0.8])
plt.grid(True)
plt.plot(N, R, '-', color='orange', lw=3)
plt.xlabel("Sample size", size=18)
plt.ylabel("Pearson correlation", size=18)
plt.savefig("correlation_significance.pdf")
plt.savefig("correlation_significance.svg")

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:48, 15 February 2010Thumbnail for version as of 15:48, 15 February 2010360 × 305 (35 KB)Skbkekas (talk | contribs){{Information |Description={{en|1=Plot showing the minimum value of Pearson's sample correlation coefficient that would be significant at the 0.05 level for a given sample size.}} |Source={{own}} |Author=Skbkekas |Date=2010-02-15 |Permis

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: