File:Sampling distribution.png

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

Summary

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

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.

Captions

Sampling distribution of the sample mean of normally distributed random numbers

Items portrayed in this file

depicts

17 May 2024

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)Biggerj1Uploaded own work with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata