Question

In: Statistics and Probability

Refer to the air-conditioning data set aircondit provided in the boot package. The 12 observations are...

Refer to the air-conditioning data set aircondit provided in the boot package. The 12 observations are the times in hours between failures of air-conditioning equipment

3, 5, 7, 18, 43, 85, 91, 98, 100, 130, 230, 487.

Use R software

Solutions

Expert Solution

The R output is:

The R code is:

library(boot)
t(aircondit)
length(aircondit$hours)/sum(aircondit$hours)
B <- 200
n <- 12
R <- numeric(B)
for (b in 1:B) {
i <- sample(1:n, size = n, replace = TRUE)
hours <- aircondit$hours[i]
R[b] <- length(hours)/sum(hours)
}
print(se.R <- sd(R))
theta.hat <- 0.00925212
B <- 2000
n <- 12
theta.b <- numeric(B)
for (b in 1:B) {
i <- sample(1:n, size = n, replace = TRUE)
hours <- aircondit$hours[i]
theta.b[b] <- length(hours)/sum(hours)
}
bias <- mean(theta.b - theta.hat)
bias

Our MLE for λ is 0.00925212.

Our bootstrap estimate for the standard error of the estimate is 0.004549749.

Our bootstrap estimate for the bias of the estimate is 0.001245097.


Related Solutions

Refer to the air-conditioning data set aircondit provided in the boot package. The 12 observations are...
Refer to the air-conditioning data set aircondit provided in the boot package. The 12 observations are the times in hours between failures of air-conditioning equipment 3, 5, 7, 18, 43, 85, 91, 98, 100, 130, 230, 487. Assume that the times between failures follow an exponential model Exp(λ). Obtain the MLE of the hazard rate λ and use bootstrap to estimate the bias and standard error of the estimate. Use R software
Consider the following data set with 10 observations: 6, 7, 7, 8, 10, 12, 14, 16,...
Consider the following data set with 10 observations: 6, 7, 7, 8, 10, 12, 14, 16, 18, X . Find 3 different values of X for which mean=median .
Refer to the data set in the accompanying table. Assume that the paired sample data is...
Refer to the data set in the accompanying table. Assume that the paired sample data is a simple random sample and the differences have a distribution that is approximately normal. Use a significance level of 0.10 to test for a difference between the weights of discarded paper? (in pounds) and weights of discarded plastic? (in pounds). LOADING... Click the icon to view the data. In this? example, mu Subscript d is the mean value of the differences d for the...
Refer to the data set in the accompanying table. Assume that the paired sample data is...
Refer to the data set in the accompanying table. Assume that the paired sample data is a simple random sample and the differences have a distribution that is approximately normal. Use a significance level of 0.100.10 to test for a difference between the weights of discarded paper​ (in pounds) and weights of discarded plastic​ (in pounds). Household   Paper   Plastic 1   6.05   2.73 2   5.86   3.91 3   6.98   2.65 4   16.39   9.70 5   12.73   14.83 6   7.98   6.09 7   15.09   9.11...
Refer to the data set in the accompanying table. Assume that the paired sample data is...
Refer to the data set in the accompanying table. Assume that the paired sample data is a simple random sample and the differences have a distribution that is approximately normal. Use a significance level of 0.10 to test for a difference between the weights of discarded paper​ (in pounds) and weights of discarded plastic​ (in pounds). Household   Paper   Plastic 1   5.86   3.91 2   9.83   6.26 3   9.55   9.20 4   12.43   8.57 5   6.98   2.65 6   11.42   12.81 7   7.57   5.92...
Refer to the data set in the accompanying table. Assume that the paired sample data is...
Refer to the data set in the accompanying table. Assume that the paired sample data is a simple random sample and the differences have a distribution that is approximately normal. Use a significance level of 0.05 to test for a difference between the weights of discarded paper​ (in pounds) and weights of discarded plastic​ (in pounds). In this​ example, μd is the mean value of the differences d for the population of all pairs of​ data, where each individual difference...
Quantitative Problems 2 through 7 refer to the following 20-point data set. {7, 12, 18, 25,...
Quantitative Problems 2 through 7 refer to the following 20-point data set. {7, 12, 18, 25, 1, 13, 25, 9, 6, 9, 2, 14, 24, 13, 14, 11, 6, 8, 27, 19} 2. Construct a histogram using an interval width of 5. 3. Using the data, calculate the mean, mode, median, and midrange 4. Using the histogram, describe the shape of the distribution. 5. What percentage of the data are greater than the mean? 6. Using the data, calculate the...
What is median of a set of data? How is median represented for a set of n observations when:
What is median of a set of data? How is median represented for a set of n observations when i) n is odd,  ii) n is even. iii) weighted median of frequency distribution
13. Refer to the data set in the accompanying table. Assume that the paired sample data...
13. Refer to the data set in the accompanying table. Assume that the paired sample data is a simple random sample and the differences have a distribution that is approximately normal. Use a significance level of 0.10 to test for a difference between the number of words spoken in a day by each member of 30 different couples. Couple Male      Female 1              12320    11172 2              2410       1134 3              16390    9702 4              9550       9198 5              11360    10248 6              9450       3024 7             ...
A data set has 1000 observations. In the data, a quantitative variable's highest value is 780...
A data set has 1000 observations. In the data, a quantitative variable's highest value is 780 and its lowest value is 95. a) How many number of classes would you recommend? b) What is the class interval that you would recommend?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT