Question

In: Statistics and Probability

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 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 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...
Please answer all parts of the question. Please show all work and all steps. 1a.) Show...
Please answer all parts of the question. Please show all work and all steps. 1a.) Show that the solutions of x' = arc tan (x) + t cannot have maxima 1b.) Find the value of a such that the existence and uniqueness theorem applies to the ivp x' = (3/2)((|x|)^(1/3)), x(0) = a. 1c.) Find the limits, as t approaches both positive infinity and negative infinity, of the solution Φ(t) of the ivp x' = (x+2)(1-x^4), x(0) = 0
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 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
Please show all work and formulas Please use the following information to answer this question. State    ...
Please show all work and formulas Please use the following information to answer this question. State     Probability       A                     B                      C Boom   .3                     -10%                5%                   0% Normal            .4                     5                      3                      2                      Bust     .3                     10                    -5                     2 Find the expected return and variance of the portfolio if an investor spent $5000 on A, $8000 on B and $7000 on C.
Please show all work and formulas Please use the following information to answer this question. State    ...
Please show all work and formulas Please use the following information to answer this question. State     Probability       A                     B                      C Boom   .3                     -10%                5%                   0% Normal            .4                     5                      3                      2                      Bust     .3                     10                    -5                     2 Find the expected return and variance of the portfolio if an investor spent $5000 on A, $8000 on B and $7000 on C.
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...
Please solve all parts of the following question. Please show all work and all steps. 1a.)...
Please solve all parts of the following question. Please show all work and all steps. 1a.) Solve x' = x + 3y + 2t y' = x - y + t^2 1b.) Solve x' + ty = -1 y' + x' = 2 1c.) Solve x' + y = 3t y' - tx' = 0
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