Question

In: Statistics and Probability

CAN YOU PLEASE POST R-SCRIPT ONLY!! In Major League baseball, the speed of a pitch is...

CAN YOU PLEASE POST R-SCRIPT ONLY!!

In Major League baseball, the speed of a pitch is very important. How fast is the speed of a major league pitchers average pitch? A researcher took a random sample of the speed of 15 pitches from the 2019 Major League baseball season. The following are the speeds of these pitches in miles per hour:

92.8, 87.0, 89.1, 96.2, 75.6, 89.6, 92.5, 83.3, 86.5, 95.6, 94.1, 91.6, 94.2, 93.4, 90.0

It is reasonable to treat these measurements as coming from a normal distribution with unknown mean μ and unknown standard deviation σ

CAN YOU PLEASE POST R-SCRIPT ONLY!!
a)Use the data to calculate an unbiased point estimate of the true mean, μ, of pitch speeds in the 2019 Major League baseball season.

b)Use the data to find an unbiased point estimate of the population variance, σ2 of pitch speeds in the 2019 Major League baseball season.

c) Use the data to find the maximum likelihood estimate of the population variance, σ2, of pitch speeds in the 2019 Major League baseball season.

d) Find the sample standard deviation of the above data

e) Find the sample median of the above data.

f)Create a 90% confidence interval for μ. (    ,   )

g) What critical value did you use to calculate the 90% confidence interval in part f)?

h)Create a 90% prediction interval for μ. (    ,    )

Solutions

Expert Solution

Solution

In Major League baseball, the speed of a pitch is very important. How fast is the speed of a major league pitchers average pitch? A researcher took a random sample of the speed of 15 pitches from the 2019 Major League baseball season. The following are the speeds of these pitches in miles per hour:

a) Unbiased point estimate is sample mean=90.1

b) Unbiased point estimate is sample variance=29.05571

c) MLE is sample variance with divisor n, which is 27.11867

d) Sample SD=5.390335

e) Sample median=91.6

f) 90% CI for mu is LCL=87.64865 , UCL=92.55135

g) critical value=t(.05,14)= 1.76131

h) 90% Prediction interval for mu is 80.29459<mu< 99.90541

i) R Code

x=c(92.8,87,89.1,96.2,75.6,89.6,92.5,83.3,86.5,95.6,94.1,91.6,94.2,93.4,90)
mean(x) ## a
var(x)## b
(14/15)*var(x) ## c
sd(x) ## d
median(x) ## e
t.test(x,conf.level=.9) ## f

qt(.95,14) ## g
w=lm(x~1)
predict.lm(w,interval="predict",level=.90) ## h


Related Solutions

CAN YOU PLEASE POST R-SCRIPT ONLY!! Eagle flu can be devastating for those who are hospitalized....
CAN YOU PLEASE POST R-SCRIPT ONLY!! Eagle flu can be devastating for those who are hospitalized. Researchers at JJ Health Services took a random sample of n=2561 hospitalized Eagle flu patients out of a very large population of hospitalized Eagle flu patients. Of these x = 1497 patients showed a symptom of very high fever (VHF). Let p be the (unknown) true proportion of hospitalized Eagle flu patients who show a symptom of VHF. We want to estimate p. X...
CAN YOU PLEASE POST THE R-SCRIPT ONLY The built-in data set LakeHuron is a time series...
CAN YOU PLEASE POST THE R-SCRIPT ONLY The built-in data set LakeHuron is a time series which provides records of annual measurements of the level, in feet, of Lake Huron 1875 to 1972. Using R we can convert this data into the vector x by the assignment x<-as.vector(LakeHuron). Assume that the n measurements x=( x1, x2,...,xn) are a random sample from a population with true unknown mean μ and true unknown variance σ2. Remember, let x be defined by x<-as.vector(LakeHuron)...
In 2003, Major League Baseball took steps to speed up the paly of baseball games and...
In 2003, Major League Baseball took steps to speed up the paly of baseball games and make games a more consistent duration. In a sample of 41 games in 2002, the average duration of a game was 2 hours and 58 minutes with a standard deviation of 32 minutes. A similar survey in 2003 of 31 games found that the average duration was 2 hours and 40 minutes with a standard deviation of 19 minutes. When testing the hypothesis (at...
a. Major League Baseball now records information about every pitch thrown in every game of every...
a. Major League Baseball now records information about every pitch thrown in every game of every season. Statistician Jim Albert compiled data about every pitch thrown by 20 starting pitchers during the 2009 MLB season. The data set included the type of pitch thrown (curveball, changeup, slider, etc.) as well as the speed of the ball as it left the pitcher’s hand. A histogram of speeds for all 30,740 four-seam fastballs thrown by these pitchers during the 2009 season is...
HR Slugger is a professional baseball player in a Major League Baseball league. He is a...
HR Slugger is a professional baseball player in a Major League Baseball league. He is a well-known player and is very popular throughout the league, but especially with the local fans. Much of his population is based on his hitting ability, specifically regarding home runs. The issue emerges from the following facts, similar to an actual situation you may have heard of. • After days of intense anticipation by sports fans and winters throughout the league, Slugger hits a home...
Major League Baseball now records information about every pitch thrown in every game of every season....
Major League Baseball now records information about every pitch thrown in every game of every season. Statistician Jim Albert compiled data about every pitch thrown by 20 starting pitchers during the 2009 MLB season. The data set included the type of pitch thrown (curveball, changeup, slider, etc.) as well as the speed of the ball as it left the pitcher’s hand. A histogram of speeds for all 30,740 four-seam fastballs thrown by these pitchers during the 2009 season is shown...
Major League Baseball now records information about every pitch thrown in every game of every season....
Major League Baseball now records information about every pitch thrown in every game of every season. Statistician Jim Albert compiled data about every pitch thrown by 20 starting pitchers during the 2009 MLB season. The data set included the type of pitch thrown (curveball, changeup, slider, etc.) as well as the speed of the ball as it left the pitcher’s hand. A histogram of speeds for all 30,740 four-seam fastballs thrown by these pitchers during the 2009 season is shown...
Major League Baseball now records information about every pitch thrown in every game of every season....
Major League Baseball now records information about every pitch thrown in every game of every season. Statistician Jim Albert compiled data about every pitch thrown by 20 starting pitchers during the 2009 MLB season. The data set included the type of pitch thrown (curveball, changeup, slider, etc.) as well as the speed of the ball as it left the pitcher’s hand. A histogram of speeds for all 30,740 four-seam fastballs thrown by these pitchers during the 2009 season is shown...
Major League Baseball now records information about every pitch thrown in every game of every season....
Major League Baseball now records information about every pitch thrown in every game of every season. Statistician Jim Albert compiled data about every pitch thrown by 20 starting pitchers during the 2009 MLB season. The data set included the type of pitch thrown (curveball, changeup, slider, etc.) as well as the speed of the ball as it left the pitcher’s hand. A histogram of speeds for all 30,740 four-seam fastballs thrown by these pitchers during the 2009 season is shown...
Think about Major League Baseball! The owners of the major league teams are arguing that they...
Think about Major League Baseball! The owners of the major league teams are arguing that they may have to shut the season down unless the players agree to a significant salary cut. If the players agree, the owners will be able to play games this season. Explain loss-minimization and shut down cases for perfectly competitive firms. Explain why baseball owners may have to resort to a shut-down case and why they may be able to use a loss-minimization case.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT