STATS 302- Chp 7 and 8 review

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

1/68

flashcard set

Earn XP

Description and Tags

fuck fuck fuck

69 Terms

1
New cards

Sample Proportions CLT check:

pn ≥ 10

n(1-p) ≥ 10

2
New cards

Sample mean CLT check:

n ≥ 30

3
New cards

z score that indicates unusual data

-2 ≤ z ≤ 2

4
New cards

(6.1) One sample

z-test

5
New cards

(6.2) p1 vs p2, make inference about two populations

two sample z-test

6
New cards

(7.1) one population mean

one sample t-test

7
New cards

(7.2) u1 vs u2, two population means

two sample t-test

8
New cards

T-test Conditions/Assumptions:

  • Continuous data (height, scored, time)

  • Independence (random sampling i.e no groups or clusters and if sampling without replacement keep sample size under 10% of pop.)

  • Normality (data needs to be roughly normally distributed i.e CLT)


9
New cards

Two sample T-test Conditions/Assumptions:

  • Includes T-test C/A’s

  • Equal Variance (both groups should have roughly equal spread/variances)

  • Continuous measurement (grouping variable should have two distinct categories)


10
New cards

Steps of a T-test

  1. Check C/A’s

  2. State the null hypothesis (Ho) and the alternative Hypothesis (Ha)

  3. Specify (set) the significance level a (if not provided use .05)

  4. Calculate the test statistic (TS = t = (xbar- u)/ (s/ sqrtn)), from the sampled data

  5. Calculate the p-value assuming the null hypothesis is true

  6. Make a decision to reject or fail to reject Ho by comparing p-value with a:

    1. if p-value


11
New cards

What must you calculate when performing ANY t-test

the degrees of freedom, df= n-1 (for one-sample population)

12
New cards

What is alpha (a)

The significance level of your data

13
New cards

What is xbar relative to u

the mean relative to the average

14
New cards

When it comes to the T-test, does the sample size matter?

NO. (Sample can even be n=15)

15
New cards

when p ≤ a do you reject or fail to reject null hypothesis

reject H0

16
New cards

when p ≥ a do you reject or fail to reject the null hypothesis

fail to reject the null hypothesis

17
New cards

Left-tailed (one-sided) testing

Ha predicts a DECREASE/value less than a benchmark

p-value measures tail area left of your statistic

18
New cards

Right-tailed (one-sided) testing

Ha predicts a INCREASE/value greater than a benchmark

p-value measures tail area right of your statistic

19
New cards

Two-sided test

Ha predicts a difference in EITHER direction

The p-value looks at extreme values in both tails

20
New cards

What is the value of a one-tailed p value compated to a two-tailed p-value?

The one-tail p-value is HALF the two-tailed p-value

21
New cards

less than, lower, fewer, decrease, drop, reduce, shrink, shorter, under, below

Left-Tailed (One-sided)

22
New cards

greater than, higher, more, increase, rise, improve, grow, longer, exceed, over, above

Right-Tailed (One-sided)

23
New cards

different from, changed, differs, not the same, affect, impact, whether there is a difference

Two-Tailed (Two-sided)

24
New cards

before/after, pre/post intervention, etc.

Paired observations (t-test)

(Will have two average values, u1 and u2)

25
New cards

For paired t-test, how do you set up Ho?

Ho: udiff = 0

or

Ho: udiff = do (where do is a specified value)

Want to make an inference on the average of the difference

26
New cards

How to calc sdiff from n and xdiff

sdiff = √(∑(x1-xbar)²+(x2-xbar)²+(x3-xbar)²…/(n-1))

27
New cards

How to calc xbar/diff from many samples, n

xbar/diff= the mean

x bar/diff= (∑xdiff1 + xdiff2 +xdiff3…)/n)

28
New cards

ANOVA test

When there are MORE than two groups (populations)…

sample means/overall (grand) mean


F = variability between groups/ variability within groups

29
New cards

ANOVA conditions

  1. Observations should be independent within and between groups

    • If the data comes from a simple random sample representing less than 10% of the population, this condition is satisfied.

    • Ensure there is no pairing or dependence among observations

  2. Normality

    • outcome variable should be approximately normally distributed within each group

    • Important for small sample sizes

    • Check with: Historgrams, Q-Q plots

  3. Homogeneity of variance

    • variability of observations must be similar across groups

    • Important for when sample sizes differ between groups

    • Compare standard deviations across groups or use Levenes’ or Bartlett’s test


30
New cards

What do X² and ANOVA tests have in common?

Bigger X², stronger evidence for alternative hypothesis

Bigger F, stronger evidence for alternative hypothesis

31
New cards

What do X² and ANOVA tests NOT have common?

X² can find p-value with one degree of freedom

F Distribution can only find p-value with two degrees of freedom

32
New cards

SSG

Variability between groups

33
New cards

SSE

Variability within groups

34
New cards

When is a q-q plot indicative of NOT being approximately normal for ANOVA testing and linear regression

When the plots are CURVED when compared to a linear regression. It indicated SKEWED statistics

35
New cards

When does the constant variance of box plots FAIL ANOVA testing and linear regression

s (standard deviation) maximum < 2*s minimum

36
New cards

Bonferroni correction, why is it done

a* = a/K

we modify the significance level to control Type 1 error

37
New cards

K (all possible pairs within k groups)

K = k(k-1)/2

38
New cards

Type I error

False positive

Reject a true null hypothesis

39
New cards

Type II error

False negative

Failing to reject a false null hypothesis

40
New cards

TS when given Tdfe (two sample) from MSE (ANOVA)

(xbar1-xbar2)/ (√(MSE/n1) + √(MSE/n2))

41
New cards

ANOVA test

infinitely many samples, 3+ groups: categorical, numerical

42
New cards

t-test

infinitely meany samples, 2+ groups: categorical data

43
New cards

Response variable

Y-axis, dependent variable, outcome, numerical

44
New cards

Explanatory variable

X-axis, independent variable, predictor, numerical

45
New cards

Examples of numerical, dependent variables (y)

price of car, price of house, weight, yield of corn, investment, depression, sales, birth weight, grade, grade, groove depth

46
New cards

Examples of numerical, independent variables (x)

mileage, size of the house, height, fertilizer application, income, stress, advertising, gestational age, hours of watching TV, hours of study, milage

47
New cards

what is true model of y=mx+b in this course

Y= Bo + B1X + E

48
New cards

Bo

intercept

49
New cards

B1

slope

50
New cards

E (epsilon) means..

the variability of data compared to the linear regression (accounts for the scatter on a scatter plot)

It is the noise or randomness

51
New cards

B1 > 0

Positive linear relationship between X & Y

52
New cards

B1 < 0

Negative linear relationship between X & Y

53
New cards

B1 = 0

No linear relationship between X & Y

No association, X does not influence Y

54
New cards

What do we use to set the hypothesis of linear regression?

B1 < 0

B1 > 0

B1 = 0

55
New cards

what is the predicted model of y=mx+b in this course

yi = bo + b1xi

56
New cards

How to find b1 or Bhat1

b1 = Sy/ Sx R

57
New cards

What is R?

correalation coefficient

58
New cards

How to find bo or Bhato?

bo = ybar - b1xbar

59
New cards

predicted dependent variable observation from linear regression

yihat

60
New cards

observed dependent variable observation from linear regression

yi

61
New cards

Conditions for least squared method of linear regressions

  1. L: Linearity

  2. I: Independence

  3. N: Nearly normal residuals (epsilon)

  4. E: Equal variance


62
New cards

Conditions for least squared method of linear regressions: L

The relationship between the explanatory and response variables is linear

63
New cards

Conditions for least squared method of linear regressions: I

The residuals are independent of one another

64
New cards

Conditions for least squared method of linear regressions: N

The residuals are approximately normally distributed

65
New cards

Conditions for least squared method of linear regressions: E

The residuals exhibit constant variance across all levels of the explanatory varable

66
New cards

High-leverage points

  • Outlier

  • Horizontally distant form the center of the data cloud


67
New cards

Influential points

  • High leverage points

  • Substantially impact the slop or position of the regression line


68
New cards

For regression results, what is the intercept hypothesis

Ha: Bo (true value) ≠ 0

69
New cards

For regression results, what is the hypothesis for evaluating positive/negative relationships

Ha: B1 (true value) ≠ 0