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...
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...
A business tale of what it takes to turn around troubled projects. The year is 2015...
A business tale of what it takes to turn around troubled projects. The year is 2015 and times are good. The business environment is vibrant and the economy is strong. Large businesses are committing large amounts of capital and resources to implement new strategies, establish new capabilities, and open new markets. It was no different at PintCo, where Jack works as a Director of Customer Relationship Management. Jack walked into work on Monday morning like any other. He dropped his...
** 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...