Statistical Analysis and Hypothesis Testing Flashcards
6 cards from real Data Science with Python Certification practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 Statistical Analysis and Hypothesis Testing flashcards as text
What is the interquartile range (IQR) commonly used for in data science?
Answer: Measuring the spread of the middle 50% of data
IQR is the difference between Q3 and Q1, capturing the spread of the central 50% of data and is used for outlier detection.
Which Python function performs a one-sample t-test?
Answer: scipy.stats.ttest_1samp()
`scipy.stats.ttest_1samp()` tests whether the mean of a single sample differs significantly from a specified population mean.
What is statistical power in hypothesis testing?
Answer: The probability of correctly rejecting a false null hypothesis
Statistical power (1 - β) is the probability that a test correctly detects a real effect when one exists.
In a normal distribution, approximately what percentage of data falls within one standard deviation of the mean?
Answer: 68%
In a normal distribution approximately 68% of data falls within ±1 standard deviation of the mean per the empirical rule.
What does `scipy.stats.levene()` test in Python?
Answer: Equality of variances across groups
Levene's test checks whether multiple groups have equal variances, which is a key assumption before performing ANOVA.
Which statistical method measures the linear relationship strength between two continuous variables?
Answer: Pearson correlation coefficient
Pearson correlation coefficient (r) measures the strength and direction of the linear relationship between two continuous variables.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy