Statistics Units #1 - #4 : Midterm

0.0(0)
Studied by 2 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/161

encourage image

There's no tags or description

Looks like no tags are added yet.

162 Terms

1
New cards

Statistics

Set of methods for obtaining, organizing, summarizing, presenting and analyzing data

2
New cards

Where does data come from?

Characteristics measured on individuals or units

  • ex: People, animals, things, etc.


3
New cards

Population

The totality of individuals about which we want information.

4
New cards

Sample

A subset of the units in a population that we actually examine in order to gather information.

5
New cards

Variable

A characteristic or property of an individual

  • ex: Time, distance, color, grade, etc.


6
New cards

Categorical Data

Represent values of categorical variables that place individuals into one of several groups.

7
New cards

What are the two types of categorical data?

Categorical and ordinal & Categorical and nominal

8
New cards

Categorical and ordinal

Ordering that makes sence for the values of a categoircal variable

Some examples:

  • Placing of a race (1st, 2nd, 3rd..)

  • Service rating at a restaurant

  • Letter grade in a course


9
New cards

Categorical and nominal

Categories with no natural order

Some examples:

  • Eye color (blue, green, brown…)

  • Blood type

  • gender


10
New cards

Quantitate Data

Represent values of quantitive variables for which arithmetic operations such as adding and averageing make sence.

11
New cards

The distribution of data tells us what?

What values a variable takes and how often it takes these values

12
New cards
<p>What type of data display is this?</p>

What type of data display is this?

Bar Chart

13
New cards

Bar chart definition

Display categorical variable values on one axis and frequencies on the other.

14
New cards
<p>What type of data displace is this?</p>

What type of data displace is this?

Pie chart

15
New cards

Pie Chart definition

Give a visual representation of the relative frequency of the observed values for a categorical variable.

16
New cards

Frequency Distribution

A count of how many of the data values fall into various predetermined classes or intervals.

17
New cards

What must the frequency distribution contain?

  • The first interval must include the minimal

  • The last interval must include the maximum

  • All intervals should be of equal length

  • Have continuity of data ( making sure there can be a data point in the variables)


18
New cards

What are the types quantitative variables?

Continuous and Discrete variable

19
New cards

Continuous variable

Can take any value within a given range

  • ex: weight, height, age, distance


20
New cards

Discrete variable

Can only take certain values

  • ex: number of children in a family, number of days of rain in a month, etc.


21
New cards

Relative frequency/ Proportions

Are the values between zero and one, inclusive, and are decimal representations of fractions, which convert to percentages.

It can be found by dividing the number of data values in each interval by the total number ofdata values.

22
New cards

Histogram

  • Graph that shows the count or proportion of quantitative data values within different intervals.

  • Used when we need to work with a large amount of data

  • Form of bar graph

  • Vertical axis is the frequency where the horizontal axis is the number


23
New cards

What does the base of each rectangle of the histogram represent?

Represents the length of the interval (all have to be of equal length).

24
New cards

What does the height of each rectangle of the histogram represent?

Represents the frequency of data values falling in the corresponding interval.

25
New cards

Symmetric distribution

If the center divides into two approximate mirror images

26
New cards
<p>Skewed to the right</p>

Skewed to the right

If the right side of the histogram extends much further out than the left side.

27
New cards

What is the long end of the graph called?

(hint its the opposite of the head of the coin)

The tail

28
New cards

The direction of the skewness is the direction of the tail (horizontal)

  • Tail falls on the left side - left skewedness

  • Tail falls on the right side - right skewedness


29
New cards
<p>Skewed to the left</p>

Skewed to the left

If the Left side of the histogram extends much further out than the right side.

30
New cards
<p>For vertical histograms</p>

For vertical histograms

Tail goes high - right skewedness

Tail goes low - left skewedness

31
New cards

Time Plots

  • Used for plotting time series data

  • Time is plotted on the x-axis

  • Variable values are plotted on the y-axis

  • Data values are represented by points, which are connected to better illustrate the pattern or trend


32
New cards

Trend

The overall pattern of a time plot

33
New cards

What two important features of a data set?

Location and variability

34
New cards

Location

Determined by where the center of the data falls.

35
New cards

Mode

Most frequently observed data value (the most common)

36
New cards

Median

The middle value in an ordered data set.

  • resistant to the effect of outliers


37
New cards

Outliers

Extreme values in a data set

38
New cards

Mean

Also known as the average

  • Is found by adding all of the data values then dividing by n

  • Not resistant to outliers

  • Doesn’t account for outliers; therefore accounting for all data


39
New cards

In a symmetric distribution what are the mean and median?

The mean and median are equal.

40
New cards

In a skewed distribution where is mean ?

The mean is closer to the tail

  • Skewed right - mean is greater than the median

  • Skewed left - the mean is less than the median


41
New cards

Weighted mean

A mean where some data values are given more importance than others

42
New cards

Variablility

How spread out the data values are.


43
New cards

What are the measures of variability?

Range and Interquartile range

44
New cards

Range

The maximum - the minimum of a data set

45
New cards

Interquartile Range

Measures the length of an interval which covers the middle 50% of the ordered observations.. it doesn’t consider outliers

46
New cards

First quartile (Q1)

  • The ordered observation such that at least 25% of the data are small or smaller

  • At least 75% of the values are as large or larger

  • 25th precentile


47
New cards

Third quartile (Q3)

  • The ordered observation such that least 75% of the data values are as small or smaller

  • At least 25% of the values are large or larger

  • 75th precentile


48
New cards

Second quartile (Q2)

The median of a data set

49
New cards

Precentile

Ordered observation that at least p% of the data values are as small or smaller and at least (100-p%) of the values are as large or larger

50
New cards

The Five-Number Summary

  • The minimum, Q1, the median, Q3, and the maximum

  • Divides the data into four equal parts

  • Describes the center, shape, and spread of data


51
New cards
<p>Quantile boxplot</p>

Quantile boxplot

Consists of

  • a line at the median

  • a box that covers the IQR

  • Lines (“Whiskers”) that extend from the box to the minimum and maximum


52
New cards

Side-by-Side Boxplots

  • plotting the same variable for samples representing different populations

  • enable us to compare the distributions with respect to center, shape and spread

  • must be constructed to scale to legitimize the comparison


53
New cards

Outlier boxplots

A modified boxplot that takes extreme observations into account

  • The five lines correspond to the values in the five-number summary

  • the middle three lines (the box are the same for a regular boxplot

  • The lines coming out from the box (whiskers) don’t extend out to the minimum and maximum values

  • anything beyond the fences is an outlier (the “new” max and min values)


54
New cards

Sample variability

Loosely thought of the “average squared deviation” from the mean

55
New cards

Standard Deviation

The positive square root of the variance

  • The units are the same as the units for individual observations

    • easy to interpret

  • It is NOT the average deviation from the mean


56
New cards

When we are interested in in examining relationships the relationship between two variables, what two situations might we find ourselves?

  • Might be interested in the nature of the relationship

  • One of the variables may be thought to explain or predict the other


57
New cards

Response variable

  • Takes values representing the outcome of the study

  • Denoted by y


58
New cards

Explanatory variable

  • Helps explain the outcome of the study

  • denoted by x


59
New cards

Scatterplot

  • Display the values of two different quantitate variables measured on the same variables

  • The data for each individual appear as a single point


60
New cards

What is the best way to display the relationship between two quantitative variables?

With a scatterplot

61
New cards

Four things to look at when examining a scatterplot:

  • Direction

  • Form

  • Strength → Strength (count's)

  • Outliers


62
New cards

Direction of a scatterplot

  • Positive association → dots generally go from left to right.

    • as one variable increases, the other does too

  • Negative association → dots generally go down from left to right


63
New cards

Form of a scatterplot

  • Linear line would show the relationship between the variables

    • the more linear, the stronger the relationship


64
New cards

Strength of a scatterplot

  • Determined by how close the points lie to a simple form such as a straight line

  • The closer the points fall to the line, the stronger the relationship


65
New cards

Outliers of a scatterplot

  • Dots that stand appart or dont fit witithin a pattern

  • In the x direction → the dot is unusually far left or right

  • In the y direction → the dot is unusually high or low

  • General direction → the dot doent follow the patter of the other dots, even if the x and y values aren’t unusualy high or low


66
New cards

Correlation

A numerical measure that will give a concrete description of the strength of a linear relationship between two quantitative variables

  • A function of several measures that are affected by outliers → r is strongly affected by outliers


67
New cards

Correlation coefficient

r measures the direction and strength of a linear relationship between two quantitative values

68
New cards

Association does______ imply causation!!!

NOT

69
New cards

Lurking variable

A variable that helps explain the relationship between variables in a study, but is not itself included in the study.

70
New cards

Properties of correlation

  • Positive values of r = positive association

  • Negative values of r = negative association

  • r falls between -1 and 1 → inclusive

  • r close to -1 or 1 → strong linear association

  • r close to 0 → weak linear relationship


71
New cards

Does r (correlation) have units?

No it does not, it is just a number

  • changing the units has no effect on it


72
New cards

What does r (correlation) measure?

It measures only the strength of a linear relationship

73
New cards

Regression line

A straight line that describes how a response variable Y changes as an explanatory variable X changes.

  • Used to predict values of Y for given values of X. The line should lie as close to the points as possible in the vertical direction


74
New cards

What do we always have in regression?

An explanatory vairable X and a response variable Y

75
New cards
<p>What is this?</p>

What is this?

The predicted value of Y for a given value of X

76
New cards

b0

The intercept of the line and b1 is the slope

77
New cards

Least squares regression line

Minimizes the sum of squared deviations in the vertical direction

78
New cards

The slop of a regression line (b1)

The predicted change in y when x increases by one unit

79
New cards

The intercept of the regression line (b0)

The predicted value of y when x = 0

80
New cards

Coefficient of determination r2

It is the fraction of variation in Y that is accounted for by its regression on X → a precentage

  • is between 0 and 1

  • if r = -1 or 1 → r2 = 1

  • if r = 0 → r2 = 0


81
New cards

r2 can also be called…

Fraction of variation or precent variation

82
New cards
<p>The predicted value of Y</p>

The predicted value of Y

Is the prediction using the line and equation to uptrain a predicted value

83
New cards

Residuals

The sum of squared residuals that is minimized in calculation the least squares regression line

For an observation reflects the error of our prediction

= actual value of y - predicted value of y

  • Positive → a point falls above the regression line

  • Negative → a point falls below the regression line


84
New cards

Extrapolation

The process of predicting a value of y for a value of x outside the range of data

85
New cards

Outliers affect on the regression line

  • In the y-direction → don’t typically have a strong effect

  • Not an outlier in either the x or y-direction but falls outside the pattern of points → typically don’t have a strong effect - a bivariate outlier

  • In the x-direction → strong effect


86
New cards

Influential observations

It is if removing it from the data set would dramatically alter the position of the regression line and the value of r2

87
New cards

What is the best way to avoid lurking variables?

To preform a randomized experiment rather than an observational study

88
New cards
<p>Categorical variables on a scatterplot</p>

Categorical variables on a scatterplot

Though data plotted on the scatterplot is not linear, but groups can be made from it

  • ex male and female golfers


89
New cards

Sampling

The process of collecting data form a sample to draw conclusions about a problem

90
New cards

Voluntary response sample

Sampling method used where individuals choose to participate in a study

  • ex: An anchorman on the 6:00 news asks a question that individuals can answer via Facebook


91
New cards

Are voluntary response samples reliable?

No! They are almost always unreliable and should be avoided if possible.

92
New cards

Convenience sample

Type of sample chooses individuals whoever is easiest to reach

  • ex: interviewer asking questions in a mall


93
New cards

both voluntary response samples and convenience samples are

Biased

94
New cards

The design of a study is biased if it…

Systematically favors certain outcomes over others or the methodology used systematically favors certain outcomes

95
New cards

Simple random sampling (SRS)

Size n consists of n individuals from a population chosen in such a way that every group of n individuals has an equal chance of being the sample actually selected

  • Each individual has an equal chance of being selected into the sample

  • Choosing a sample to “put names into a hat” and choose a n of them

  • Without replacement is one where we don’t put someone’s name back into the hat after each draw


96
New cards

A process is called random if…

If it has two or more possible outcomes with a known probability of being observed

97
New cards

A computer software is used to randomly select a sample if and when what?

A population is very large → not being realistic to put everone’’s name in a hat

98
New cards

Stratum

A group of individuals who are similar i ways expected to affect their response

  • Within each of the strata, we take an SRS of size ni


99
New cards

Stratification

  • Ensure we get diversification but also select how many individuals are wanted from each group

    • We need to select some individuals from each stratum → not required to select the same sample size from each stratum


100
New cards

Stratified random sampling

The population is divided into strata, and a random sample is taken from each group, often in proportion to the group’s size