0
0
SciPydata~5 mins

Percentiles and quantiles in SciPy - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a percentile in data analysis?
A percentile is a value below which a certain percentage of data falls. For example, the 25th percentile is the value below which 25% of the data lies.
Click to reveal answer
beginner
How do quantiles relate to percentiles?
Quantiles divide data into equal-sized intervals. Percentiles are a type of quantile that divide data into 100 equal parts.
Click to reveal answer
intermediate
Which function in SciPy can you use to calculate percentiles?
You can use scipy.stats.scoreatpercentile or numpy.percentile to calculate percentiles in Python.
Click to reveal answer
beginner
What does the 50th percentile represent?
The 50th percentile is the median of the data. It splits the data into two equal halves.
Click to reveal answer
intermediate
How can quantiles help in understanding data distribution?
Quantiles help by dividing data into equal parts, making it easier to see how data is spread and where values cluster or spread out.
Click to reveal answer
What does the 90th percentile tell you about a dataset?
A90% of data values are above this value
BIt is the average of the top 10% values
C90% of data values are below this value
DIt is the maximum value in the dataset
Which Python library provides the function scoreatpercentile?
Ascipy.stats
Bmatplotlib
Cpandas
Dseaborn
If you want to split data into four equal parts, which quantiles do you use?
AQuartiles
BPercentiles
CDeciles
DMedian
What is the 0th percentile of a dataset?
AMaximum value
BMinimum value
CMedian
DMean
Which function can you use in NumPy to calculate the 75th percentile?
Anumpy.quantile(data, 0.75)
Bnumpy.percentile(data, 75)
Cnumpy.mean(data)
DBoth A and B
Explain what percentiles and quantiles are and how they help in understanding data.
Think about how data is split into parts and what those parts tell us.
You got /4 concepts.
    Describe how to calculate the 25th percentile of a dataset using SciPy.
    Focus on the function and its parameters.
    You got /3 concepts.