Скачать книгу

parenthesis less or equal than fraction numerator left parenthesis straight n minus 1 right parenthesis straight p over denominator straight n minus straight p end fraction straight F subscript straight alpha comma straight p comma straight n minus straight p end subscript right curly bracket. end cell end table"/>

      The concept of univariate confidence interval can be extended to multivariate confidence region. For p-dimensional normal distribution, the 100(1 − α)% confidence region for μ is defined as

table row cell left curly bracket mu vertical line n left parenthesis bold x with bold bar on top minus bold italic mu right parenthesis to the power of T bold S to the power of negative 1 end exponent left parenthesis bold x with bold bar on top minus bold italic mu right parenthesis less or equal than fraction numerator left parenthesis n minus 1 right parenthesis p over denominator n minus p end fraction F subscript alpha comma p comma n minus p end subscript right curly bracket. end cell end table

      It is clear that the confidence region for μ is an ellipsoid centered at . Similar to the univariate case, the null hypothesis H0 :μ = μ0 is not rejected at level α if and only if μ0 is in the 100(1 − α)% confidence region for μ.

      The T2-statistic can also be derived as the likelihood ratio test of the hypotheses in (3.20). The likelihood ratio test is a general principle of constructing statistical test procedures and having several optimal properties for reasonably large samples. The detailed study of the likelihood ratio test theory is beyond the scope of this book.

      Substituting the MLE of μ and Σ in (3.16) and (3.17), respectively, into the likelihood function in (3.13), it is easy to see

table row cell max with bold italic mu comma bold capital sigma below L left parenthesis bold italic mu comma bold capital sigma right parenthesis equals fraction numerator 1 over denominator left parenthesis 2 pi right parenthesis to the power of n p divided by 2 end exponent vertical line bold capital sigma with bold hat on top vertical line to the power of n divided by 2 end exponent end fraction e to the power of negative n p divided by 2 end exponent comma end cell end table

      where is the MLE of Σ given in (3.17). Under the null hypothesis H0 : μ = μ0, the MLE of Σ with μ = μ0 fixed can be obtained as

table row cell bold capital sigma with bold hat on top subscript 0 equals 1 over n sum from i equals 1 to n of left parenthesis bold x subscript i minus bold italic mu subscript 0 right parenthesis left parenthesis x subscript i minus bold italic mu subscript 0 right parenthesis to the power of T. end cell end table

      It can be seen that stack sum subscript 0 with hat on top is the same as except that is replaced by μ0.

      The likelihood ratio test statistic is the ratio of the maximum likelihood over the subset of the parameter space specified by H0 and the maximum likelihood over the entire parameter space. Specifically, the likelihood ratio test statistic of H0 : μ = μ0 is

      The test based on the T2-statistic in (3.21) and the likelihood ratio test is equivalent because it can be shown that

table row cell H subscript 0 colon bold mu equals open parentheses table row 1926 row 1851 row 1872 end table close parentheses end cell end table

      The following R codes calculate the sample mean, sample covariance matrix, and the T2-statistic for the three side temperature measurements.

      side.temp.defect <- read.csv("side_temp_defect.csv",

       header = F) X <- side.temp.defect[, c(2, 40, 78)] mu0 <- c(1926, 1851, 1872) x.bar <- apply(X, 2, mean) # sample mean S <- cov(X) # sample var-cov matrix n <- nrow(X) p <- ncol(X) alpha = 0.05 T2 <- n*t(x.bar-mu0)%*%solve(S)%*%(x.bar -mu0) F0 <- (n-1)*p/(n-p)*qf(1-alpha, p, n-p) p.value <- 1 - pf((n-p)/((n-1)*p)*T2, p, n-p)

      Using the above R codes, the sample mean and sample covariance matrix are obtained as

table row cell top enclose bold x equals open parentheses table row 1930 row 1848 row 1864 end table close parentheses comma space bold S equals open parentheses table row cell 2547.4 end 
				<p style= Скачать книгу