0

Problem Statement : Given a sample of size n = 60 taken from a continuous population distribution with mean 56 and standard deviation 25, find the variance of the sample mean.

I tried the below code but as expected, there is no fixed answer. And my answer is shown incorrect.

dist = scipy.stats.norm(loc=56, scale=25)
sample = dist.rvs(60)
x = np.var(sample)

1 Answers1

1
Err = math.sqrt(25/60)
dist = scipy.stats.norm(loc=56, scale=Err)
Variance = np.variance(dist)

Its something around 10.52

Sven Eberth
  • 3,057
  • 12
  • 24
  • 29