0
0
SciPydata~5 mins

Normal distribution in SciPy - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a normal distribution?
A normal distribution is a bell-shaped curve that shows how data points are spread around the mean. Most values are near the mean, and fewer are far away.
Click to reveal answer
beginner
What do the mean and standard deviation represent in a normal distribution?
The mean is the center of the distribution. The standard deviation shows how spread out the data is around the mean.
Click to reveal answer
intermediate
How do you generate random numbers from a normal distribution using scipy?
Use scipy.stats.norm.rvs(loc=mean, scale=std, size=n) to get n random numbers from a normal distribution with given mean and standard deviation.
Click to reveal answer
intermediate
What does the probability density function (PDF) of a normal distribution tell us?
The PDF shows the relative likelihood of different values. Higher PDF means the value is more likely to occur.
Click to reveal answer
intermediate
How can you calculate the cumulative probability up to a value x in a normal distribution?
Use scipy.stats.norm.cdf(x, loc=mean, scale=std) to find the probability that a value is less than or equal to x.
Click to reveal answer
What shape does a normal distribution have?
AStep function
BUniform line
CExponential curve
DBell-shaped curve
Which scipy function generates random samples from a normal distribution?
Ascipy.stats.norm.rvs()
Bscipy.stats.norm.pdf()
Cscipy.stats.norm.cdf()
Dscipy.stats.norm.mean()
What does the standard deviation control in a normal distribution?
ASpread or width of the distribution
BHeight of the peak
CSkewness of the distribution
DCenter of the distribution
Which function gives the probability that a value is less than or equal to x in a normal distribution?
Anorm.pdf()
Bnorm.rvs()
Cnorm.cdf()
Dnorm.ppf()
If the mean is 0 and standard deviation is 1, what is this normal distribution called?
AExponential distribution
BStandard normal distribution
CUniform distribution
DBinomial distribution
Explain how to use scipy to find the probability that a value falls below a certain point in a normal distribution.
Think about the function that accumulates probability up to a value.
You got /4 concepts.
    Describe the role of mean and standard deviation in shaping a normal distribution curve.
    Consider how the curve moves and stretches.
    You got /4 concepts.