<< Chapter < Page Chapter >> Page >
This is a step by step example modeling the process of calculating a hypothesis test for a two population proportion.

Step-by-step example of a hypotheses test for two population proportions (used ex 10.3)

Two types of medication for hives are being tested to determine if medication A is more effective than medication B. One hundred-eighty-eight out of a random sample of 200 adults given medication A did not have hives 30 minutes after taking the medication. One hundred-eighty out of another random sample of 200 adults given medication B did not have hives 30 minutes after taking the medication. Test at the 1% level of significance.

Guidelines Example
State the question: State what we want to determine and what level of significance is important in your decision. We are asked to test the hypothesis that the proportion of adults taking medicine A without hives is more than the proportion of adults taking medicine B without hives after 30 minutes. The significance level is 5%.
Plan: Based on the above question(s) and the answer to the following questions, decide which test you will be performing. Is the problem about numerical or categorical data?If the data is numerical is the population standard deviation known? Do you have one group or two groups?What type of model is this?

We have bivariate, categorical data. We have two independent groups. We have a sample of 200 adults taking medicine A and 200 adults taking medicine B. Our model will be:

P A - P B ~

N ( P A - P B , p ̂ pooled ( 1 - p ̂ pooled ) ( 1 n 1 + 1 n 2 ) )

Hypotheses: State the null and alternative hypotheses in words and then in symbolic form
  1. Express the hypothesis to be tested in symbolic form.
  2. Write a symbolic expression that must be true when the original claim is false.
  3. The null hypothesis is the statement which included the equality.
  4. The alternative hypothesis is the statement without the equality.

Null hypothesis in words: The null hypothesis is that the true proportion of adults helped by medication A is equal to the true proportion of adults helped by medication B.

Null Hypothesis symbolically: H 0 : Proportion p A = p B

Alternative Hypothesis in words: The alternative is that the true proportion of adults helped by medication A is more than the true proportion of adults helped by medication B.

Alternative Hypothesis symbolically: H a : Proportion p A > p B

The criteria for the inferential test stated above: Think about the assumptions and check the conditions.If your assumptions include the need for particular types of data distribution, please insert the appropriate graphs or charts if necessary.

Randomization Condition: The samples are random samples.

Independence Assumption: Since we know that a random sample was taken it is reasonable to assume independence. The likelihood of having the medicine work for one person has no bearing on if it will work for another.

Independent Groups Assumption: It is reasonable to think that the medicine A group and medicine B group recovery rates are independent of each other.

10% Condition: I assume the number of adults in the community where this was done is more than 4000, so the 200 adults in each group is less than 10% of each population.

Success/Failure Condition: Success = no hives Failure = hives (.94)(200) = 188 and (1 - .94)(200) = 12 and (.90)(200) = 180 and (1 - .9)(200) = 20, all values are larger than 10 so the condition is met.

Compute the test statistic:

The conditions are satisfied, so we will use a hypothesis test for two proportions. We will use a z-test.We need the sample percentages, sample sizes, and p-hat pooled.
  • p ̂ A = 188 200 = 0.94; n A = 200;
  • p ̂ B = 180 200 = 0.90; n B = 200
  • p ̂ pooled = 188 + 180 200 + 200 = 0.92
  • z = ( p ̂ A - p ̂ B ) - (0) p ̂ pooled (1 - p ̂ pooled )( 1 n A + 1 n B )
  • = 0.94 - 0.90 0.92(1 - 0.92)( 1 200 + 1 200 )
  • = 0.04 0.19183 = 2.085
Determine the Critical Region(s): Based on your hypotheses are you performing a left-tailed, right-tailed, or two-sided test? I will perform a right-tailed test.

Sketch the test statistic and critical region:

Look up the probability on the table.

Determine the P-value

P(z>2.085) = 1 – P(z<2.085) = 1 – 0.9815 = 0.0185>0.01

State whether you reject or fail to reject the Null hypothesis.

Since the probability is more than the critical value of 1%, we will fail to reject the null hypothesis.
Conclusion: Interpret your result in the proper context, and relate it to the original question. Since the probability is more than 1%, this is not a rare event and the large probability tells us to fail to reject the null hypothesis. There is no evidence against the null hypothesis. There is no reason to believe that medication A is more effective than medication B.

If you reject the null hypothesis, continue to complete the following

Calculate and display your confidence interval for the Alternative hypothesis.

State your conclusion based on your confidence interval.

Questions & Answers

what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
What are the treatment for autism?
Magret Reply
hello. autism is a umbrella term. autistic kids have different disorder overlapping. for example. a kid may show symptoms of ADHD and also learning disabilities. before treatment please make sure the kid doesn't have physical disabilities like hearing..vision..speech problem. sometimes these
Jharna
continue.. sometimes due to these physical problems..the diagnosis may be misdiagnosed. treatment for autism. well it depends on the severity. since autistic kids have problems in communicating and adopting to the environment.. it's best to expose the child in situations where the child
Jharna
child interact with other kids under doc supervision. play therapy. speech therapy. Engaging in different activities that activate most parts of the brain.. like drawing..painting. matching color board game. string and beads game. the more you interact with the child the more effective
Jharna
results you'll get.. please consult a therapist to know what suits best on your child. and last as a parent. I know sometimes it's overwhelming to guide a special kid. but trust the process and be strong and patient as a parent.
Jharna
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Collaborative statistics using spreadsheets. OpenStax CNX. Jan 05, 2016 Download for free at http://legacy.cnx.org/content/col11521/1.23
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Collaborative statistics using spreadsheets' conversation and receive update notifications?

Ask