QTM 100 Test 2

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/95

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

96 Terms

1
New cards

when do you use pooled proportion

two proportion hypothesis testing

2
New cards

two proportion confidence interval

use CI formula for two proportions

3
New cards

two proportion hypothesis testing

use p-pooled and z score formula

4
New cards

Minimum sample size

formula with n

5
New cards

Rounding with minimum sample size formula

Round up

6
New cards

Basics for one proportion hypothesis test

  • population parameter: p

  • Point estimate: p-hat

  • Conditions

7
New cards

Majority problems

Special kind of proportion test

8
New cards

Test for majority problems (more than half

No majority (even): null = 0.5

Majority =/ 0.5

9
New cards

Steps for hypothesis testing

  1. Identify variables, hypothesis, claim, alpha

  2. Check conditions

  3. Find test statistic/zscorei, area, p-value, sketch

  4. Compare p value to alpha, conclusion

10
New cards

Important note

Reject null hypothesis = significant difference between null and sample => STATE VALUE HIGHER OR LOWERRR (NOT JUST DIFFERENT)

11
New cards

how to interpret confidence interval

we are % confident that x%-x% of ____

12
New cards

Proportions are for

Categorical data

13
New cards

Proportions are written as

%, decimal, or fraction (x/n)

14
New cards

Sample proportion is called

P-hat

15
New cards

What is p-hat written as

%, decimal, Or fraction

16
New cards

P-hat is written as

^

P

17
New cards

P-hat without hat is

Population sample

18
New cards

Sample stats estimate

Population parameters

19
New cards

Sample stat is also known as

Point estimate

20
New cards

Sample stat should be ____ to pop parameter

very close

21
New cards

Sampling distribution

Average of all p-hats (point estimates)

22
New cards

Standard error

Variation or standard deviation in point estimates

23
New cards

SE vs SD

SE= categorical

SD= numerical

24
New cards

can a graph be curved for categorical data

No— not continuous data

25
New cards

Larger sample size = ___ SE

Smaller

26
New cards

Central Limit Theorem**

If observations are independent and sample size is sufficiently large, sample proportion will be nearly normally distributed (mean = p aka population proportion)

27
New cards

How to verify independence

Random sample less than 10% of pop

28
New cards

How to verify sufficiently large sample

Must meet success failure condition

(Np>=10) and n(1-p)>= 10

29
New cards

If p is not known, you can use

P-hat

30
New cards

Confidence interval

range of plausible values where we are likely to find population parameter

31
New cards

CI written as

(60%, 70%)

32
New cards

What do you need in confidence interval

Parenthesis!!

33
New cards

More commonly used confidence intervals

A- 90% = significance level, 1-0 confidence level

Leftover = alpha

95%

99%

34
New cards

Cutoff scores for critical values

90%+-1.65

95% +-1.96

98$ +-2.33

99%+2.58

(Given)

35
New cards

How to calculate confidence level

Point estimate +- ME

Or x* points estimate +- z* (SE)

36
New cards

what do you use to calculate uncertainty of point estimate

standard error

37
New cards

variables in SE formula

n= sample #

x= observed stat

p= point estimate/sample state

38
New cards

how to get point estimate from confidence interval problem

average it

39
New cards

how to get margin of error

distance from middle to endpoint

40
New cards

steps to solve confidence interval question

  1. check conditions

  2. find point estimate/sample stat (aka phat) and z score (on chart)

  3. calculate with formula

  4. put into words

41
New cards

parameter is also known as

population proportion

42
New cards

success failure condition

np>10 and (1-p)n>10

43
New cards

point estimate

sample value use to estimate population parameter

44
New cards

example of point estimates

sample mean, sample proportion, sample standard deviation

45
New cards

error

difference between observations and the parameter

46
New cards

when conditions are not met distribution is

discrete (not continuous)

skewed

47
New cards

why do we need a confidence interval?

cuz point estimates will likely not exactly hit population proportions

48
New cards

margin of error formula in confidence interval

z*+-SE

49
New cards

why do you need to check conditions

to make sure distribution will be near normal

50
New cards

What is statistical hypothesis testing?

Decision making process for evaluating claims mathematically

Distinguish between results that easily occur or are unlikely

51
New cards

What is a hypothesis

Claim or conjecture that may or may not be true

52
New cards

Two types of hypotheses in a test

Null and alternative

53
New cards

Null hypothesis

Always =, no difference, no change, status quo, written first (on top), H0

54
New cards

Alternative hypothesis

Inequality: not equal, difference or change written second, Ha

55
New cards

Example of null

Drug does not work

56
New cards

Example of alternative hypothesis

Drug works, does decrease level of depression!

57
New cards

do we like null or alt hypothesis in real world?

Alt because we want to see changes

58
New cards

Setup for proportions

H0: p=#

Ha: p=/ #

**number should be the same

59
New cards

what test is used for setup for proportions

Two tailed test

60
New cards

Two possible decisions

Reject the null hypothesis or fail to reject the null hypothesis

61
New cards

reject the null hypothesis

Not the same (significant difference)

62
New cards

fail to reject null hypothesis

Data is not convincing, no sig difference

63
New cards

Testing hypothesis using confidence intervals

Confidence interval: 95% sure real result will be captured in interval

So if result is within confidence interval, null hypothesis is TRUE (fail to reject)

64
New cards

Decision errors

Hypothesis tests are NOT flawless

65
New cards

Type 1 error

Reject null hypothesis when H0 is true

66
New cards

Type 2 error

Failing to reject null hypothesis when it is false

67
New cards

Alpha

probability of making a type 1 error (reject null when it is true)

68
New cards

If making type 1 error (null is really true) is dangerous, choose a

Small significance level (a=0.01) and be careful about rejecting null hypothesis aka demand strong evidence before rejecting null

69
New cards

If type 2 error (alternative is true) is dangerous, choose

Higher significance level (0.10) and be cautious about failing to rject H0 when null is actually false

70
New cards

Hypothesis testing using z score and p value

  1. identify parameter, list hypothesis, identify significance level, identify p-hat and n

  2. check conditions

  3. calculatse z score and identify p value

  4. conclusion (compare p value to alpha)

71
New cards

P value

Probability value is z-score area TIMES 2 because it is on both left and right side

72
New cards

If p value < a

Reject a

73
New cards

If p value > a

Fail to reject H0

74
New cards

Let alpha be ___ if not given

.05

75
New cards

why should we use p-value to test hypothesis instead of CI

CI is not always sustainable cuz confidence interval cannot always be constructed

76
New cards

interpretation for p-value

If the null hypothesis is true that [add context], then the probability

of getting our sample proportion of [context] or even more extreme

is

[p-value], which is [highly unlikely or plausible]

77
New cards

interpretation of inference

there is convining evidennce to reject the claim that there is no difference in the % of 1st and 2nd years that prefer JFK. Out data shows that more 2nd years like JFK

78
New cards

IF observations are independent,
sample size is

sufficiently large

79
New cards

parameter being estimated

proportion vs mean

80
New cards

standard error vs margin of error

margin of error is used to calculate margin of error, standard error measuresr variability

81
New cards

significance level vs confidence level

significance = alpha

confidence = xx% confident that blah blah

82
New cards

p-value is the

probability
of observing data at least as
extreme as the one found in
our sample data set, if the
null hypothesis is true

83
New cards

degrees of freedom in goodness of fit test

number of categories minus 1

84
New cards

Chi-square looks like

85
New cards

Chi Squared is

  • right skewed

  • Values are positive because they are counts (how many people)

  • Categorical data

  • One parameter: degrees of freedom

86
New cards

Degrees of freedom are represented by

df

87
New cards

Goodness of Fit Test

Does sample fit population?

Does it represent population?

Do the observed counts equal the expected counts?

88
New cards

Conditions for chi square

  1. Independent observations

  2. E (expected) count is at least 5 in each category

  3. Degrees of freedom at least 2

89
New cards

Setting the hypothesis for chi square s

NO SYMBOLS OR PARAMETERS => use sentences

90
New cards

General setting hypothesis format

H0: Observed counts follow same distribution as the expected counts (O=E)

HA: Observed count do not follow the same distribution as expected counts

91
New cards

Findings areas under the chi square curve

P-value = tail area under chi square distribution

Top row = p values, alpha at top

92
New cards

Two tests chi squared is used for

  1. Goodness of fit: compares population with sample based on one characteristic

  2. Independence (“related to“) : tests for relationship between 2 characteristics

93
New cards

How many variables are there in any given contingency table?

TWO (not 20 if 5 by 4 okok)

94
New cards

General format for hypothesis in chi square

H0: variables are independent (not related)

HA; variables are not independent (are related)

95
New cards

Observational study

Association or relationship does not mean CAUSATION (experimentation)

96
New cards