File:Sampling distribution.png

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

Sampling_distribution.png(570 × 488 pixels, file size: 40 KB, MIME type: image/png)

Captions

Captions

Sampling distribution of the sample mean of normally distributed random numbers

Summary

[edit]
Description
English: Sampling distribution of the sample mean of normally distributed random numbers
Date
Source Own work
Author Biggerj1
import matplotlib.pyplot as plt
import numpy as np
xs=np.linspace(-1,1, num=1000)
from scipy.stats import norm
sigma=1
n=16
cdf_16 = norm.pdf(xs, loc=0, scale=sigma/np.sqrt(n))
plt.plot(xs, cdf_16, label=f"n ={n}")
n=32
cdf_32 = norm.pdf(xs, loc=0, scale=sigma/np.sqrt(n))
plt.plot(xs, cdf_32, label=f"n ={n}")
n=64
cdf_64 = norm.pdf(xs, loc=0, scale=sigma/np.sqrt(n))
plt.plot(xs, cdf_64, label=f"n ={n}")

plt.axvline(0, label=r"$\mu=0$", color="red")
plt.ylabel("pdf")
plt.legend()
plt.xlabel(r"$\overline{X}_{n}$")
plt.title(r"Sampling distribution of $\overline{X}_{n}=\frac{1}{n} \sum_{i=1}^n X_i$, with $X_{i}\sim \mathcal{N}(\mu=0, \sigma = 1)$");


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 4.0 International 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
current14:03, 17 May 2024Thumbnail for version as of 14:03, 17 May 2024570 × 488 (40 KB)Biggerj1 (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata