Question: go to Colab Google or use your local Python environment to execute the following script and generate your unique dataset. import numpy as np from
go to Colab Google
or use your local Python environment to execute the following script and
generate your unique dataset.
import numpy as np
from scipy import stats
sid
samplesize
rng nprandom.defaultrngsid
numbers rngnormalsizesamplesize
printThese are the random samples we generate'
printnumbers
printSample mean'
printnumbersmean
printSample standard deviation'
printnumbersstd
Step Execute the code to obtain the samples, and sample mean, and
sample standard deviation of your random samples.
Report the sample mean and sample standard deviation below.
For the next two steps, assuming that we only know the sample
standard deviation instead of the population standard deviation.
Step Calculate the confidence interval of your sample mean
estimate. The calculation could be Excel, calculator, or Python based.
Report the CI below.
Step Based on the samples, conduct a Hypothesis Testing on
whether the population mean equals to zero, with a significance level
It could be Excel, calculator, or Python based.
Do you believe the population mean is equal to zero? Why
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
