Question

In: Statistics and Probability

Please Use R studio to answer this question NY Marathon 2013 the table below shows the...

Please Use R studio to answer this question

NY Marathon 2013 the table below shows the winning times (in minutes) for men and women in the new york city marathon between 1978 and 2013. (the race was not run in 2012 because of superstorm sandy.) assuming that performances in the big apple resemble performances elsewhere, we can think of these data as a sample of performance in marathon competitions. Create a 90% confidence interval for the mean difference in winning times for male and female marathon competitors.

Year

Men

Women

Year

Men

Women

1978

132.2

152.5

1996

129.9

148.3

1979

131.7

147.6

1997

128.2

148.7

1980

129.7

145.7

1998

128.8

145.3

1981

128.2

145.5

1999

129.2

145.1

1982

129.5

147.2

2000

130.2

145.8

1983

129.0

147.0

2001

127.7

144.4

1984

1985

1986

1987

1988

1989

1990

1991

1992

1993

1994

1995

134.9

131.6

131.1

131.0

128.3

128.0

132.7

129.5

129.5

130.1

131.4

131.1

149.5

148.6

148.1

150.3

148.1

145.5

150.8

147.5

144.7

146.4

147.6

148.1

2002

2003

2004

2005

2006

2007

2008

2009

2010

2011

2012

2013

128.1

130.5

129.5

129.5

130.0

129.1

128.7

129.3

128.3

125.1

Cancelled

128.4

145.9

142.5

143.2

144.7

145.1

143.2

143.9

148.9

148.3

143.3

Cancelled

140.1

Solutions

Expert Solution

Result:

Data are paired on year. paired t test command is used to get confidence interval for mean difference.

RStudio code:

men<-c(132.2,131.7,129.7,128.2,129.5,129,134.9,131.6,131.1,131,128.3,128,132.7,129.5,129.5,130.1,131.4,131.1,129.9,128.2,128.8,129.2,130.2,127.7,128.1,130.5,129.5,129.5,130,129.1,128.7,129.3,128.3,125.1,128.4)

women<-c(152.5,147.6,145.7,145.5,147.2,147,149.5,148.6,148.1,150.3,148.1,145.5,150.8,147.5,144.7,146.4,147.6,148.1,148.3,148.7,145.3,145.1,145.8,144.4,145.9,142.5,143.2,144.7,145.1,143.2,143.9,148.9,148.3,143.3,140.1)

t.test(men,women, paired = TRUE,conf.level=0.90)

output:

t.test(men,women, paired = TRUE,conf.level=0.90)

        Paired t-test

data: men and women

t = -46.236, df = 34, p-value < 2.2e-16

alternative hypothesis: true difference in means is not equal to 0

90 percent confidence interval:

-17.39663 -16.16908

sample estimates:

mean of the differences

            -16.78286

90% confidence interval for the mean difference in winning times for male and female marathon competitors= (-17.39663, -16.16908)


Related Solutions

Please Use R studio and show all the steps to answer this question NY Marathon 2013...
Please Use R studio and show all the steps to answer this question NY Marathon 2013 the table below shows the winning times (in minutes) for men and women in the new york city marathon between 1978 and 2013. (the race was not run in 2012 because of superstorm sandy.) assuming that performances in the big apple resemble performances elsewhere, we can think of these data as a sample of performance in marathon competitions. Create a 90% confidence interval for...
Please Use R studio to answer the question. This is the Statistics section of Comparing Groups....
Please Use R studio to answer the question. This is the Statistics section of Comparing Groups. One month before the election, a poll of 630 randomly selected votes showed 54% planning to vote for a certain candidate. A week later, it became known that he had had an extramarital affair, and a new poll showed only 51% of 1010 voters supporting him. Do these results indicate a decrease in voter support fo his candidacy? a) Test an appropriate hypothesis as...
Can You please Answer the question using R studio and R cloud Telomeres are complexes of...
Can You please Answer the question using R studio and R cloud Telomeres are complexes of DNA and protein that cap chromosomal ends. They consist of the same short DNA sequence TTAGGG repeated over and over again. They tend to shorted with cell divisions and with advancing cellular age, which will lead to chromosome instability or apoptosis (programmed cell death). Eukaryotic cells have the ability to reverse telomere shortening by expressing telomerase, an enzyme that extends the telomeres of chromosomes....
please answer all the question below 3.1 The following table shows the 300 employees of a...
please answer all the question below 3.1 The following table shows the 300 employees of a small manufacturing company cross-classified on the basis of age and working category. Age Work Category Production Sales Office <25 years 50 ....... 50 25-40 years 70 24 50 >40 years 40 4 10 An employee is picked at random from this population. Calculate the probability that the employee is: 3.1.1 under 25 years of age 3.1.2 a production worker 3.1.3 a salesperson and between...
Use the table below to answer the next two questions. The table below shows the relationship...
Use the table below to answer the next two questions. The table below shows the relationship between the number of workers hired and production. Wage is fixed at $49. How many workers should be hired to maximize profits if the product is sold at the price of $5 per unit? 2 3 4 5 Labor Quantity of Product Marginal Product of Labor Wage 1 8 8 49 2 20 12 49 3 36 16 49 4 46 10 49 5...
Please use R-Studio to answer the following question. I mentioned that dnorm(x, mean, sd) doesn’t give...
Please use R-Studio to answer the following question. I mentioned that dnorm(x, mean, sd) doesn’t give the probability of being exactly equal to x. So what does it give? It gives you the height of the normal curve at that x. Plot the graph of a normal random variable with mean 50 and standard deviation 10. Note you will have to create range of xvalues between 0 to 100. Then find the probability using dnorm() then use plot() command
THIS QUESTION REQUIRES THE USE OF R STUDIO. ANY ANSWERS GIVEN THAT ARE NOT IN R...
THIS QUESTION REQUIRES THE USE OF R STUDIO. ANY ANSWERS GIVEN THAT ARE NOT IN R STUDIO CODE WILL NOT SUFFICE. SOLVING WITHOUT THE USE OF R STUDIO IS NOT ACCEPTABLE. The previous question was: Annual salaries for a large company are approximately normally distributed with a mean of 49000 dollars and a standard deviation of 2000 dollars. One manager claims that all of his direct reports are paid "above the 75th percentile" for the company. What is the minimum...
Use the following table to answer the questions below. Country GDP in 2012 GDP in 2013...
Use the following table to answer the questions below. Country GDP in 2012 GDP in 2013 Population in 2013 United States 16,244,575 16,724,272 316,438,601 Mexico 1,177,398 1,327,021 118,818,228 United Kingdom 2,476,665 2,489,674 63,395,574 Kenya 40,697 45,311 44,037,656 Note that GDP numbers are presented in millions (add six zeros on to each of the reported numbers). 1. Calculate the GDP growth rate for each country between 2012 and 2013. Round to one decimal place. US: Mexico: UK: Kenya: 2. Calculate GDP...
Please answer all questions, fill in table and show calculations. The table below shows the hypothetical...
Please answer all questions, fill in table and show calculations. The table below shows the hypothetical prices and quantities demanded of a software product. Assume that the fixed cost of setting up the production of software is $200 and the marginal cost is $5. Fill out the table by calculating the revenue, the marginal revenue, total cost, the marginal cost, and the profit. Give a general definition of price elasticity of demand. Explain the factors that make the demand of...
please use R studio to answer the following questions 1. An eductional theorist collects behavioural data...
please use R studio to answer the following questions 1. An eductional theorist collects behavioural data from two groups of children in an early childhood center. She measures how much time the children are active (e.g. running or swinging on the monkey bars) in minutes. The first group of children are encouraged to run about and as such are expected to be active; the second group is encouraged to sit still and paint, and are expected to be less active....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT