hypothesis testing (w6) Flashcards
what do you change this to: Test whether a scientific hypothesis is supported by the evidence (i.e. data) provided”
prefer to discuss based on probability:
Calculate the probability of obtaining the observed data if the hypothesis is true
what are p-values
probabilities used to reject hypotheses, probability that your hypothesis is right
what is a threshold level for the p-value called and when does it need to be defined
alpha-level, prior to analysis
if threshold for p value is 0.05, when would you accept or reject hypothesis
p-value < 0.05 , reject hypothesis
p-value > 0.05 , accept hypothesis
what is a null hypothesis
a hypothesis against the research question, claiming there is no difference in result and the only differences observed are just noise/error
what is a research/alternative hypothesis
the opposite to the null hypothesis claiming that there is a different in the result
example of null and alternative/research hypothesis with vaccine effect on infective rate
null: vaccine has no effect on infection rate
r/alt: vaccine has an effect on infection rate
how do you test the null hypothesis in research
test the probability that null hypothesis is true (ie there is no effect/relationship)
why do you test null not research hypothesis
you can’t prove something is true, but you can prove something is false
how to reject null hypothesis
firstly define it - there is no significant difference, then show that there is a statistically significant difference
when testing null, how do you get the significancy
significancy estimated by the probability that the difference occurred by changes, called p-value
what is the threshold for significancy usually
p < 0.05
what are 2 types of error
type 1 : false-positive
type 2 : false-negative
what is type 1 error
false positive: reject null when its true
what is type 2 error
false negative: not to reject null when its false