Question

In: Statistics and Probability

Xi = the number of times carton i was transferred from one aircraft to another Yi...

Xi = the number of times carton i was transferred from one aircraft to another Yi = the number of ampules broken upon arrival i 1 2 3 4 5 6 7 8 9 10 Xi 1 0 2 0 3 1 0 1 2 0 Yi 16 9 17 12 22 13 8 15 19 11

i. Fit the Poisson regression model assuming Yi ∼ Poisson(λi) where λi = λ(x, β) = eβ0+β1Xi is the response function. ii. Estimate of the expected number of broken ampules when X = 0, 1, 2, 3 and compare your results with Part 1(b). iii. Plot the Poisson and linear regression functions, together with the data. Which model appears to be a better fit? iv. Management wishes to estimate the probability that 10 or fewer ampules are broken when there is no transfer of the shipment. Use the fitted Poisson regression function to obtain the estimate. v. Obtain an approximate 95% confidence interval for the slope β1 and interpret it.

Solutions

Expert Solution

Solution-

Ans(1) - A substance used in biological and medical research is shipped by airfreight to users in cartons of 1,000 ampules. The data below, involving 10 shipments, were collected on the number of times the carton was transferred from one aircraft to another over the shipment route (X) and the number of ampules found to be broken upon arrival (Y). Assume that first-order regression model (1.1) is appropriate. using the R-software follow the following steps

Step(1)-

transfers <- c(1,0,2,0,3,1,0,1,2,0)
breakages <- c(16,9,17,12,22,13,8,15,19,11)

airfreight.model <- lm(breakages~transfers)
summary(airfreight.model)

Step(2)-

# Estimated regression function is (Breakages) = 4*(Transfers)+10.2
plot(breakages~transfers)
abline(airfreight.model)

Step(3)-  

# Adjusted R-squared is 0.8885, therefore, this linear regression appears to be a good fit for the data.
airfreight.model$coefficients
## (Intercept)   transfers 
##        10.2         4.0

Ans(2) -

A point estimate of the expected number of broken ampules when X = 1 transfer is made.

point1<-4*1+10.2
point1
## [1] 14.2

Now

Estimate the increase in the expected number of ampules broken when there are 2 transfers as compared to 1 transfer.

point2<-4*2+10.2
point2 - point1
## [1] 4

3rd part-

plot(breakages~transfers)
points(mean(transfers),mean(breakages), pch = 19, col = "blue")
abline(airfreight.model)

​​​​​​​


Related Solutions

A chemical reaction is run 12 times, and the temperature xi(in °C) and the yield yi(in...
A chemical reaction is run 12 times, and the temperature xi(in °C) and the yield yi(in percent of a theoretical maximum) is recorded each time. The following summary statistics are recorded: x¯=65.0 y¯=29.06 ∑ni=1(xi−x¯)2=6032.0 ∑ni=1(yi−y¯)2=835.42 ∑ni=1(xi−x¯)(yi−y¯)=1988.5x¯=65.0, y¯=29.06,∑i=1n(xi−x¯)2=6032.0, ∑i=1n(yi−y¯)2=835.42, ∑i=1n(xi−x¯)(yi−y¯)=1988.5 Let β0 represent the hypothetical yield at a temperature of 0°C, and let β1 represent the increase in yield caused by an increase in temperature of 1°C. Assume that assumptions 1 through 4 for errors in linear models hold. Find 95%...
Suppose Xi and Yi are all independent (i=1,2,3), where the three Xi are iid and follow...
Suppose Xi and Yi are all independent (i=1,2,3), where the three Xi are iid and follow an Exponential distribution with rate r, while the three Yi are also iid but follow a Normal(μ, σ2) distribution. (a) Write down the joint pdf for the random vector (X1,X2,X3,Y1,Y2,Y3). (b) Find the expected value of the product X1 Y1, i.e., E(X1 Y1), and find Cov(X2, X3).
Suppose Xi and Yi are all independent (i=1,2,3), where the three Xi are iid and follow...
Suppose Xi and Yi are all independent (i=1,2,3), where the three Xi are iid and follow an Exponential distribution with rate r, while the three Yi are also iid but follow a Normal(µ, σ2) distribution. (a) Write down the joint pdf for the random vector (X1,X2,X3,Y1,Y2,Y3). (b) Find the expected value of the product X1 Y1, i.e., E(X1 Y1), and find Cov(X2, X3).
Following is a simple linear regression model: yi = /alpha + /beta xi + /epsilon i...
Following is a simple linear regression model: yi = /alpha + /beta xi + /epsilon i The following results were obtained from some statistical software. R2 = 0.735 syx (regression standard error) = 5.137 n (total observations) = 60 Significance level = 0.05 = 5% Variable Parameter Estimate Std. Err. of Parameter Est. Interecpt 0.325 0.097 Slope of X -1.263 0.309 1. Write the fitted model. (I ALREADY KNOW THE ANSWER TO THIS. I LEFT IT INCASE IT IS NEEDED...
An investment in a debt security is transferred from one category to another. IFRS require that...
An investment in a debt security is transferred from one category to another. IFRS require that for this particular reclassification: (1) the security be transferred at fair value at the date of transfer; and (2) the accumulated FV gains or losses at the date of transfer currently carried as a separate component of stockholders' equity be amortized over the remaining life of the security. What type of transfer is being described? A. Transfer from FVTPL to FVTOCI. B. Transfer from...
Suppose that the random variable Y1,...,Yn satisfy Yi = ?xi + ?i i=1,...,n. where the set...
Suppose that the random variable Y1,...,Yn satisfy Yi = ?xi + ?i i=1,...,n. where the set of xi are fixed constants and ?i are iid random variables following a normal distributions of mean zero and variance ?2. ?a (with a hat on it) = ?i=1nYi xi  /  ?i=1nx2i is unbiased estimator for ?. The variance is  ?a (with a hat on it) = ?2/  ?i=1nx2i . What is the distribation of this variance?
We have a dataset with n = 10 pairs of observations (xi; yi), and Xn i=1...
We have a dataset with n = 10 pairs of observations (xi; yi), and Xn i=1 xi = 683; Xn i=1 yi = 813; Xn i=1 x2i = 47; 405; Xn i=1 xiyi = 56; 089; Xn i=1 y2 i = 66; 731: What is the line of best t for this data?
A black firefighter alleges that each time he is transferred from one fire station to another,...
A black firefighter alleges that each time he is transferred from one fire station to another, he must take his bed with him, on orders of the fire chief. The chief defends on the basis that it is a legitimate decision because white firefighters would not want to sleep in the same bed in which a black firefighter slept. Is this illegal under Title VII? Explain. [Georgia newspaper article.]
The following figure illustrates the three different mechanisms by which DNA can be transferred from one bacterium to another
The following figure illustrates the three different mechanisms by which DNA can be transferred from one bacterium to another. Write the names of the mechanisms by the letters a.), b.) and c.) in the figure.
The data from exercise 3 follow. xi 2   6 9 13 20 yi 7 18 9...
The data from exercise 3 follow. xi 2   6 9 13 20 yi 7 18 9 26 23 The estimated regression equation is  = 7.6 + .9x. What is the value of the standard error of the estimate (to 4 decimals)?    What is the value of the t test statistic (to 2 decimals)?    What is the p-value? Use Table 1 of Appendix B. Selectless than .01between .01 and .02between .02 and .05between .05 and .10between .10 and .20between .20...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT