Question

I'm new to statistics and I'm working on a project where I'm basically trying to rig...

I'm new to statistics and I'm working on a project where I'm basically trying to rig a coin toss. I have three groups and n = 50 tosses for each group: Control (24/50 success) vs treatment 1 (28/50 success) vs treatment 2 (30/50 success). Success = 1 and is for Heads, failure = 0 and is for tails. My problem is that I don't know how to analyze this data. Can you analyze this data completely and show me how to do it? I want to see if my treatments actually worked so that one side is favored over the other. Also, how do you calculate for power in this example? Thank you

Homework Answers

Answer #1

Answer:  I interpret it as asking how to test the hypothesis that the binomial p (probability of success) is the same in the three groups. This can be formulated as a logistic regression, but in this case there is simpler (approximate) ways. I can show how you can do it in R:

 yourtab <- as.table(cbind(succ=c(24, 28, 30), fail=c(26, 22, 20)))
  yourtab
  succ fail
A   24   26
B   28   22
C   30   20
  prop.test(yourtab)

3-sample test for equality of proportions without continuity correction

data:  yourtab
X-squared = 1.5065, df = 2, p-value = 0.4708
alternative hypothesis: two.sided
sample estimates:
prop 1 prop 2 prop 3 
  0.48   0.56   0.60 

This uses an approximate chi-squared test. Using logistic regression we can do:

groups <- as.factor(1:3)
 mod0 <- glm(yourtab ~ 1,  family=binomial)
 mod1 <- glm(yourtab ~ groups,  family=binomial)
 anova(mod0,  mod1)
Analysis of Deviance Table

Model 1: yourtab ~ 1
Model 2: yourtab ~ groups
  Resid. Df Resid. Dev Df Deviance
1         2     1.5067            
2         0     0.0000  2   1.5067

Compare the deviance above with the chisquared (X-squared) from prop.test. This is effectively the same test.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Hello, I'm trying to do a project for MA131 Elementary Statistics, and I'm just a little...
Hello, I'm trying to do a project for MA131 Elementary Statistics, and I'm just a little confused on how to begin it. I just need a representation of the table. Thank you Select four names if the baby is born female, and four if the baby is born male. Next, select four name characteristics that are important to your group; nicknames, people you know with the name that you may or may not like, etc. Weight the importance of each...
I'm trying to figure out why my program has an infinite loop. I'm pretty sure it...
I'm trying to figure out why my program has an infinite loop. I'm pretty sure it has something to do with the catch(bad_alloc) function or maybe the while (true) loop above it but I'm not sure. Can you help me figure out why i have an infinite loop and help me fix it? Thanks ---------------------------------- main.cc ---------------------------- #include #include #include #include "numbers.h" using namespace std; int main() { Numbers N1, N2;       for(size_t i = 2; i < 16;...
Conducting a Simulation For example, say we want to simulate the probability of getting “heads” exactly...
Conducting a Simulation For example, say we want to simulate the probability of getting “heads” exactly 4 times in 10 flips of a fair coin. One way to generate a flip of the coin is to create a vector in R with all of the possible outcomes and then randomly select one of those outcomes. The sample function takes a vector of elements (in this case heads or tails) and chooses a random sample of size elements. coin <- c("heads","tails")...
I'm working in a 6 page research paper and below is the complete list of the...
I'm working in a 6 page research paper and below is the complete list of the paper has to be set up and the required things needed to be included. Can you check to see what is already included on the list and what is missing in my paper. Also, what I need to improve and how? My topic is "The Struggles of Epilepsy". Can you help me with the content (background, empirical research, and hypothesis )? I also need...
** Summarize the following paragraphs in ONE PARAGRAPH please.** Just as my deadline approached for the...
** Summarize the following paragraphs in ONE PARAGRAPH please.** Just as my deadline approached for the editorial for this issue, Time magazine for March 5, 2018 arrived at my home. In this historic issue, entirely devoted to the topic of the opioid epidemic in the United States, riveting black and white photographs by James Nachtwey depict what is happening in my country. It is difficult for me to find words to describe the emotional impact of these photographs, even though...
QUESTION 1 1. Brianna is trying to increase her chances of being promoted to vice president...
QUESTION 1 1. Brianna is trying to increase her chances of being promoted to vice president by working to build good work relationships with other managers outside her own department. Brianna's behavior should be viewed as dysfunctional politics. functional politics. coercive power. functional influence. 2 points QUESTION 2 1. The Gingerbread Factory has a separate unit that makes their chocolate crunch cookies and another unit that is completely responsible for all operations in producing their ginger snap cookies. The Gingerbread...
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation....
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation. case:    W17400 APIGEE: PEOPLE MANAGEMENT PRACTICES AND THE CHALLENGE OF GROWTH Ranjeet Nambudiri, S. Ramnarayan, and Catherine Xavier wrote this case solely to provide material for class discussion. The authors do not intend to illustrate either effective or ineffective handling of a managerial situation. The authors may have disguised certain names and other identifying information to protect confidentiality. This publication may not be...
1-How important do you believe it is to be task-oriented and relationship-orientated? How would you describe...
1-How important do you believe it is to be task-oriented and relationship-orientated? How would you describe Musk? 2-Why do you think Musk is successful in overcoming obstacles and handling conflict? How do you overcome obstacles in influencing individuals in your life? 3-Besides the personality traits given in chapter 2, what other traits attribute to a great leader? Recognizing Your Traits The definition of intelligence is the ability to acquire and apply knowledge and skills. Elon Musk knew little about rockets...
Read the LDC Cloud Systems Case Study and answer the question below: THE EMAIL The email...
Read the LDC Cloud Systems Case Study and answer the question below: THE EMAIL The email had been sent from one mid-level accounting manager at headquarters to another about six months earlier. The message read: Bill, here are the accounting issues I mentioned, and as you know, some of these go back a ways. The data that supports these accounts are not always clear and keep changing, and we are not sure what the correct accounting treatment is for these...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT