CS325 Topic 5, Lectures 1,2,3,4,5,6

73 flashcardsby Clement
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
What is statistics?
A way of reasoning and a collection of tools and methods to understand the world and data.
2
What are statistics?
Quantities calculated or derived from raw data, like facts, figures, and measurements.
3
What role does statistics play?
It helps make sense of our complex world, especially when dealing with big data.
4
What is a dataset?
A table consisting of variables and data elements used for analysis.
5
How do you manually create a histogram?
Sort the raw dataset, create equal-length bins, count occurrences, and tally them under a 'Frequency' column.
6
What is the purpose of a histogram?
To show the distribution of a quantitative variable using bars that represent the frequency of values in intervals.
7
What is the range in statistics?
The difference between the maximum and minimum values in a dataset.
8
What does a normal distribution of grades look like?
A bell-shaped curve where most students are in the middle quartiles (Q2 and Q3).
9
What does correlation measure?
The strength of the linear association between two quantitative variables.
10
What is the range of correlation values?
Correlation lies between -1 (perfect negative correlation) and 1 (perfect positive correlation).
11
What is meant by "correlation is not causation"?
Even if two variables are strongly correlated, it doesn’t imply one causes the other; there could be a third variable affecting both.
12
What is the mean in statistics?
The average value, calculated by dividing the sum of all data points by their count.
13
What is the median in statistics?
The middle value in a dataset, or the average of the two middle values if the dataset has an even number of data points.
14
What is the quartile?
A distribution divided into four equal parts, with each quartile representing 25% of the data.
15
What is standard deviation?
The average spread of data points from the mean, showing how spread out the values are.
16
What is covariance?
It measures how two variables deviate from their respective means.
17
What is the interquartile range?
The range where 50% of the data lies, usually between the second and third quartiles.
18
What is an outlier in a histogram?
A data point that significantly deviates from the other values in the dataset.
19
What is a lurking variable?
A hidden variable that may affect the two variables being studied, leading to misleading correlations.
20
What is the effect of study time on exam scores?
Research shows a strong positive association, with more study time leading to higher exam scores.
21
What is the effect of leisure time on exam scores?
Research shows a strong negative association, with more leisure time leading to lower exam scores.
22
What is Pandas?
A Python library used for working with datasets, derived from "Panel Data" and "Python Data Analysis." What is a DataFrame in Pandas?
23
Each flashcard question and answer is separated by "
" and each card is separated by a new line as requested.
24
What is probability?
Probability is the measure of the likelihood that an event will occur.
25
What does a probability of 0 indicate?
A probability of 0 indicates impossibility.
26
What does a probability of 1 indicate?
A probability of 1 indicates certainty.
27
What is a trial?
A trial is the process of performing a random experiment or selection.
28
What is an outcome?
An outcome is the value measured, observed, or reported in an experiment.
29
What is an event?
An event is a set of outcomes from an experiment.
30
What is the probability of flipping heads or tails in a fair coin toss?
The probability of flipping heads or tails is 1/2 or 0.5.
31
What are independent events?
Independent events are events where the outcome of one event does not influence the outcome of the other.
32
What are dependent events?
Dependent events are events where knowing the outcome of one event gives information about the other.
33
What is conditional probability?
Conditional probability is the probability of an event occurring given that another event has already occurred.
34
How is conditional probability expressed?
Conditional probability is expressed as P(B|A), meaning the probability of event B given event A.
35
How do you calculate P(E|F) when E and F are independent?
P(E|F) is calculated as P(E) * P(F) when E and F are independent.
36
What is Bayes' theorem used for?
Bayes' theorem is used to calculate conditional probabilities.
37
What is the formula for P(A|B)?
The formula for P(A|B) is P(A and B) / P(B).
38
What is an example of independent events?
Rolling a die and flipping a coin are independent events because the outcome of one does not affect the other.
39
What is the Central Limit Theorem?
The mean of a random sample has a sampling distribution that can be approximated by a Normal model, especially when the sample size is large enough.
40
What is considered a sufficient sample size for the Central Limit Theorem to apply?
A minimum sample size of 30 is considered sufficient.
41
What does the distribution curve describe in the Central Limit Theorem?
It describes the population mean (µ), standard deviation (σ), and sample mean (ӯ).
42
What happens to the sampling mean as the sample size increases?
The sample mean becomes more and more similar to the true population mean.
43
What type of curve is associated with a Normal distribution?
A continuous probability distribution that is symmetrical on both sides of the mean, often called a bell-shaped curve.
44
What is the effect of averaging more dice in a sampling simulation?
The distribution becomes more centered around the mean (3.5), with a shape that tightens and approaches a bell-shaped curve.
45
Why is the Central Limit Theorem important in data science?
It allows drawing conclusions and estimations about the entire population based on data samples.
46
What example of CLT application is provided using dice?
When averaging the results of multiple dice tosses, the distribution of sampling means tends to be centered around the expected mean, forming a normal curve as sample size increases.
47
How does the Central Limit Theorem help in estimating average annual income?
It allows estimating the average annual income of a town’s population by using sample data from a group of individuals.
48
What is the importance of randomness in applying the Central Limit Theorem?
The sample must be random and large enough to accurately reflect the population’s characteristics.
49
What is statistical inference?
It is the use of data analysis and statistics to make conclusions about a population.
50
What are the two main types of statistical inferences?
Estimation and Hypothesis testing.
51
What is estimation in statistical inference?
Estimation is concerned with inference about the numerical value of unknown population values from incomplete data.
52
What is hypothesis testing?
Hypothesis testing is a method to check if a claim about a population is true or not, based on sample data.
53
What is a null hypothesis (H0)?
The null hypothesis is the default position or value for a parameter, assuming no change, effect, difference, or relationship.
54
What is an alternative hypothesis (H1)?
The alternative hypothesis is what we are trying to test, suggesting a change, effect, difference, or relationship.
55
What are the possible outcomes of hypothesis testing?
Reject the null hypothesis (Ho) or fail to reject the null hypothesis (Ho).
56
What is a p-value?
A p-value measures the probability that an observed difference occurred by random chance.
57
What is the significance of a p-value < 0.05?
It means the observed difference is statistically significant, and we can reject Ho and accept H1.
58
What does a p-value > 0.05 indicate?
It indicates that the observed difference is not statistically significant, and we cannot reject Ho.
59
What is a confidence interval (CI)?
A confidence interval displays the probability that an estimate will fall between a pair of values around the mean.
60
What does a 95% confidence level mean?
It means that 95% of the time, the estimate will fall between the upper and lower values of the confidence interval.
61
What is p-hacking?
P-hacking is the misuse of data analysis to find patterns that can be presented as statistically significant when they are not.
62
How does p-hacking affect data science and machine learning?
P-hacking leads to biased reporting, misleading statistical inferences, and incorrect data used in machine learning models, resulting in inaccurate predictions.
63
What is SciPy?
SciPy is a Python library built on top of NumPy arrays, used for scientific and technical computing applications.
64
What does SciPy provide?
SciPy provides optimized and integrated functionalities with NumPy and Matplotlib for data analysis and visualization.
65
What is sparse data?
Sparse data refers to datasets where most features contain zero values, with only a few attributes containing useful data.
66
What is a CSR matrix?
A CSR (Compressed Sparse Row) matrix is used for faster access and slicing on row-wise sparse data.
67
What is a CSC matrix?
A CSC (Compressed Sparse Column) matrix is used for faster access and slicing on column-wise sparse data.
68
What is Euclidean distance?
Euclidean distance measures the shortest line between two points in any dimension.
69
What is a t-test?
A t-test determines whether there is a significant difference between the means of two variables.
70
What is a p-value?
A p-value is the probability that the results from the sample data occurred by chance, typically ranging from 0.0 to 1.0.
71
When is a p-value considered statistically significant?
A p-value is considered statistically significant when it is less than 0.05.
72
What does a p-value greater than 0.05 indicate?
A p-value greater than 0.05 indicates that the observed difference occurred by chance and is not statistically significant.
73
What does a p-value less than 0.05 indicate?
A p-value less than 0.05 indicates that the observed difference is genuine and statistically significant.
Study all 73 cards for free