Docsity

Hypothesis Testing: A Statistical Approach to Evaluating Population Parameters, Exams of Statistics

Toggle sidebar
bg1
Okun
PSY 230
STUDY GUIDE #6
Hypothesis Testing
1. What is hypothesis testing?
Hypothesis testing is an inferential procedure that uses sample data to evaluate the
credibility of a hypothesis about a population parameter. In very general terms, the logic
underlying hypothesis testing is as follows:
1) We state a hypothesis about a population parameter. For example, before the Democratic
presidential primary, we might hypothesize that the population proportion of registered
Democrat voters who intend to vote for Biden versus Dodd is .50.
2) Next, we obtain a random sample from a population. For example, suppose a polling firm
draws a random sample of 300 registered Democrat voters.
3) Finally, we compare the sample proportion calculated from the data we collected with the
hypothesized value of , i.e., .50. Unless the sample pBIDEN is very unlikely given our
hypothesized value of , we would retain our hypothesis.
I. Specific Steps in Hypotheis testing
1-State the hypotheses.
2-Specify a probability value for making a decision about the null hypothesis
3-Select an appropriate test statistic
4-Determine the critical value of Z
5-Determine information available and collect data
6-Compute the value of the test statistic
7-Draw a conclusion regarding the hypotheses
2 . What is the null hypothesis? What is the counterpart to the null hypothesis called? Which
hypothesis do we start out assuming to be true?
The null hypothesis is a statement at the outset of the study indicating a single numerical
value about a parameter that is assumed to be true in the population from which the sample will
be drawn.
The alternative hypothesis is the hypothesis that will be retained if the null hypothesis is
rejected.
3. What is alpha ()?
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13

Partial preview of the text

Download Hypothesis Testing: A Statistical Approach to Evaluating Population Parameters and more Exams Statistics in PDF only on Docsity!

Okun PSY 230 STUDY GUIDE # Hypothesis Testing

  1. What is hypothesis testing? Hypothesis testing is an inferential procedure that uses sample data to evaluate the credibility of a hypothesis about a population parameter. In very general terms, the logic underlying hypothesis testing is as follows:
  1. We state a hypothesis about a population parameter. For example, before the Democratic presidential primary, we might hypothesize that the population proportion of registered Democrat voters who intend to vote for Biden versus Dodd is .50.
  2. Next, we obtain a random sample from a population. For example, suppose a polling firm draws a random sample of 300 registered Democrat voters.
  3. Finally, we compare the sample proportion calculated from the data we collected with the hypothesized value of , i.e., .50. Unless the sample p BIDEN is very unlikely given our hypothesized value of , we would retain our hypothesis. I. Specific Steps in Hypotheis testing 1-State the hypotheses. 2-Specify a probability value for making a decision about the null hypothesis 3-Select an appropriate test statistic 4-Determine the critical value of Z 5-Determine information available and collect data 6-Compute the value of the test statistic 7-Draw a conclusion regarding the hypotheses
  1. What is the null hypothesis? What is the counterpart to the null hypothesis called? Which hypothesis do we start out assuming to be true? The null hypothesis is a statement at the outset of the study indicating a single numerical value about a parameter that is assumed to be true in the population from which the sample will be drawn. The alternative hypothesis is the hypothesis that will be retained if the null hypothesis is rejected. 3. What is alpha ()?

Before a study starts, a researcher must define the criterion probability (or p value) for rejecting the null hypothesis. This p value is called alpha (). As we shall see, researchers typically set  at .05 although sometimes .01 is used. Let’s assume we set  at .05. Then, we shall reject the null hypothesis when the p value associated with the difference between the sample statistic and the hypothesized value of the population parameter equals or is less than .05.

  1. How is a z score different from a Z test statistic? For an individual, a z score = X - μx x Xi = the raw score of an individual. μx = the population mean. x = population standard deviation A z score is the difference between an individual score and the population mean expressed in standard deviation units. For a test of a null hypothesis about a population proportion, Z test statistic = p -_ p p = the sample proportion. Ho of  = the hypothesized value of the population proportion. ___________ p = standard error of the proportion = () (1-) / n n = the size of the sample. A Z test statistic is the difference between a sample proportion and the hypothesized value of the population proportion expressed in standard error of the proportion units.

For alpha equal .01, .005 is the proportion of the area under the normal curve that is in each tail (.005 + .005 = .01). Note that with the Z test statistic the critical value for the left tail is -2.58 and the critical value for the right tail is +2.58. The null hypothesis should be rejected whenever the Z test statistic equals or is greater than the positive critical value or equals or is less than the negative critical value. These two regions are called the regions of rejection. The null hypothesis should be retained whenever the Z test statistic is a value that falls between the critical values. This region is called the region of retention. For alpha = .05, we will reject H 0 , whenever our Z value is either equal to or less than - 1.96 OR equal to or greater than +1.96. We will retain Ho whenever our Z value falls between -1.96 and +1.96. For alpha = .01, we will reject H 0 , whenever our Z value is either equal to or less than - 2.58 OR equal to or greater than +2.58. We will retain Ho whenever our Z value falls between -2.58 and +2.58.

A correct acceptance occurs when we retain a true null hypothesis. Accepting a true null hypothesis represents a type of "hit." For example, if the null hypothesis is true and we conclude that the difference between the hypothesized population mean and the sample mean is due to chance, then we have made a correct acceptance of the null. The probability of a correct acceptance equals 1 -  A Type II error occurs when we retain a false null hypothesis. A type II error can be thought of as a "false negative." For example, if the null hypothesis is false and we conclude that the difference between the hypothesized population mean and the sample mean is due to chance, then we have made a false negative error. The probability of a Type II error equals BETA (). A Type I error occurs when we reject a true null hypothesis. A type I error can be thought of as a "false positive." For example, if the null hypothesis is true and we conclude that the difference between the hypothesized population mean and the sample mean is significant, then we have made a false positive error. The probability of a Type I error equals . A correct rejection occurs when we reject a false null hypothesis. Rejecting a false null hypothesis represents a second type of "hit." For example, if the null hypothesis is false and we conclude that the difference between the hypothesized population mean and the sample mean is significant, then we have made a correct rejection of the null. The probability of correctly rejecting a false null hypothesis is referred to as POWER. POWER = 1 - .

  1. When a researcher decides to retain Ho, what type of error may she be making? How does this type of error occur? Suppose we go back to our example of a deck of cards: Population Size (N) = 52 Population proportion red =  =. Deck of Playing Cards Spades Hearts Clubs Diamonds Ace Ace Ace Ace King King King King Queen Queen Queen Queen Jack Jack Jack Jack 10 10 10 10 9 9 9 9 8 8 8 8 7 7 7 7 6 6 6 6 5 5 5 5 4 4 4 4 3 3 3 3 2 2 2 2
  1. When a researcher decides to reject Ho, what type of error may have been made? How does this type of error occur? Suppose the dealer uses a fair deck of cards and in a sample of 26 cards, the following cards are drawn: QH JD 7D AS 10H 2D 5C 2H 9H 6D AD 8H KS AH 4D KH 3H 4C KD 10C 6H 9D 8C 3S QD 7H
  2. Which of the four outcomes equals ? As  decreases what happens to the probability of the four possible outcomes? How is  related to the probability of (a) rejecting H 0 ; and (b) retaining Ho?
  1. Is a Type I error or a Type II error considered to be more serious? Scenario that we generally strive for: P (Correct Acceptance) = 1-  =. P (Type I Error) =  =. P (Correct Rejection) = power = 1- =. P (Type II Error) =  =.
  1. What pieces of information do we need to compute power? (1) The hypothesized value of  0. We will always assume that  0 equals .50. (2) The actual value of  in the population, designated A. In other words, we need to estimate the magnitude of the difference between the hypothesized value of  and the actual value of . If we believe that the treatment has a small effect, we will estimate A to be .55 , if we believe that the treatment has a medium effect, we will estimate A to be .65 , and if we believe that the treatement has a la rge effect, we will estimate A to be.. (3) The sample size (n). (4) 
  2. How can power be computed? Let’s set O = .50, A = .65, n = 64, and  =t .05. This is the scenario we described on the bottom of p. 10 of the Handout. To determine power, we need to do two computations. First, we must compute gamma (), the population effect size. When  0 = .50,  = 2(A - .50). In our situation, = 2(.65-.50)= 2(.15) = .30. Second, we must compute delta (). Delta combines the population effect size (gamma) and sample size (n) into a single index.

 = ()  n ____ In our situation,  = (.30)  64 = (.3) (8) = 2.4.

Table H from the Text (Power Determination for 1 population proportion)

  1. What is a confidence interval? A confidence interval is a range of plausible values for the population parameter. Once a 95% C.I. is established, we are able to conclude that we are 95% certain that the population parameter falls somewhere between its lower and upper bound. Once a 99% C.I. is established, we are able to conclude that we are 99% certain that the population parameter falls somewhere between its lower and upper bound.
  2. What do we need to compute to determine the lower and upper limits of the confidence interval? To find the lower and upper limits of the confidence interval, we need to know (1) the sample p; and (2) the margin of error. p is computed from the sample we have drawn. The margin of error for a proportion = the Critical Value of Z for the specified level of confidence x p. If we want to be 95% confident, the critical value of Z always equals 1.96. If we want to be 99% confident, the critical value of Z always equals 2.58.

For a confidence interval p = ( p ) (1- p )/n

  1. How can a confidence interval be constructed around a sample proportion? How can we interpret the meaning of a confidence interval around a sample proportion? Suppose we go back to our example, where we draw a sample of 300 registered Democrat voters and 165 intend to vote for Biden. We wish to construct a 95% confidence interval. Because we want a 95% confidence interval, the Critical Value of Z = 1.96. The sample p BIDEN = 165/300 = .55.

p = (.55 (.45)/300 =. The margin of error = 1.96 x .0287 = .0563. We place the sample p at the center of our confidence interval. To determine the lower limit (LL) of the confidence interval, we subtract the margin of error from p. To determine the upper limit (UL) of our confidence interval, we add the margin of error to p. LL = p - margin of error UL = p + margin of error

LL = .55-.0563 =.

UL = .55+.0563 =.

Our 95% confidence interval ranges from .4937 to .6063. We are saying that we are 95% confident that the population of Democrat voters who intend to vote for Biden ranges from .4937 to .6063. Because this confidence interval captures .50, it is plausible that at least half of the voters intend to vote for Dodd. Therefore, Biden should not feel confident of victory. Another way that we could report the results of our confidence interval is as follows: “The poll based upon 300 eligible Democrat voters revealed that 55% of the voters intend to vote for Biden. The margin of error associated with the poll was + or – 5.63% points.”

Okay, let’s go back to a 95% confidence interval but this time our sample size has increased from 300 to 500 and 275 Democrat voters indicate that they intend to vote for Biden. So the sample p BIDEN still is = .55. Because we want a 95% confidence interval, the Critical Value of Z = 1.96.


For a confidence interval, p = (.55) (.45)/500 =. The margin of error = 1.96 x .0222 = .0436. Note that when our n increased from 300 to 500, the margin of error decreased from. to .0436. LL = p - margin of error = .55-.0436 =. UL = p + margin of error = .55 + .0436 =. Our 95% confidence interval ranges from .5064 to .5936. We are saying that we are 95% confident that the population of Democrat voters who intend to vote for Biden ranges from .5064 to .5936. Because the entire confidence interval is above .50, it is plausible that over 50% of the Democrat voters intend to vote for Biden. Therefore, Biden would feel confident of victory from this poll. Another way that we could report the results of our confidence interval is as follows: “The poll based upon 500 eligible voters revealed that 55% of the Democrat voters intend to vote for Biden. The margin of error associated with the poll was + or – 4.36% points.” Professional polls are often based upon 1,000 to 2,000 respondents in order to end up with a small margin of error and a narrow confidence interval. In we increased our sample size to 1,500 and if 55% of the sample intends to vote for Biden, and if we desired a 95% confidence interval, our margin of error would be 1.96 x .0128 = .0252. Our results would be reported as follows: “The poll based upon 1,500 eligible voters revealed that 55% of the Democrat voters intend to vote for Biden. The sampling (or margin of) error associated with the poll was + or – 2.5% points.”