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
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...
1. Entrepreneurship: Urban Escape case study Watch the video in which Maia Josebachvili and Bram Levy...
1. Entrepreneurship: Urban Escape case study Watch the video in which Maia Josebachvili and Bram Levy discuss starting Urban Escapes, which has since been bought by LivingSocial. Then use your knowledge of entrepreneurship to answer the questions. Video Script: >> So my dad once told me that the recipe for success is hard work, intelligence, and luck. I'm Maia, founder of Urban Escapes, and now National Director of Living Social Escapes. So after college I actually did the thing that...
CASE STUDY: DATA WAREHOUSING AT VOLVO Every Volvo car has hundreds of microprocessors and sensors. Their...
CASE STUDY: DATA WAREHOUSING AT VOLVO Every Volvo car has hundreds of microprocessors and sensors. Their data is used in diagnosis and repair. It is also captured by Volvo, integrated with the company's CRM, dealership and product data stores, and stored for analysis. This enables Volvo to spot design and construction flaws early, enable proactive correction of faults, and see how its cars respond in accidents. Volvo sells about 400,000 cars per year. Each generates 100–150 kB of data per...
** 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...
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...
In narrative essay format, I want you to address a business/organization case study using multiple concepts...
In narrative essay format, I want you to address a business/organization case study using multiple concepts from class. The case question and case text begin on page 5 of this document. You need to demonstrate their best understanding of management and organizational behavior theory, and the application of those ideas to improve the understanding of various issues. You need to clearly identify at least 3 distinct, substantive issues. For each issue you need to 1), identify evidence from the case...
The questions: 1. What type of technology Acme and Omega utilize to transform inputs into outputs?...
The questions: 1. What type of technology Acme and Omega utilize to transform inputs into outputs? 2. Which strategic choice (differentiation or cost leadership) suits best to Acme? Omega? Do these companies have clear strategic choices or do they stuck in the middle? 3. Based on all the contingencies which type of structure is more suitable for these companies; mechanistic or organic? please answer each question alone The Paradoxical Twins: Acme and Omega Electronics John F. Veiga Part! boom of...