Questions tagged [hotelling-t2]

Hotelling's T-squared test (one-sample or two-sample) is a generalization of a t-test for the multivariate case. It relies on Hotelling's T-squared distribution.

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

Manova, Hotelling's T^2 and follow-up?

For my final thesis, a few questions arose during the pre-registration process and I would be very happy to receive answers. I will conduct an experiment with three groups (1, 2, 3) and 3 dependent ...
user avatar
  • 1
2 votes
0 answers
52 views

Moments of the Hotelling Lawley Trace under the alternative

The Hotelling Lawley trace is used in multivariate ANOVA, or for tests of the Multivariate General Linear Hypothesis (regression coefficient testing in many-to-many linear regression). For our ...
user avatar
  • 10.4k
1 vote
0 answers
37 views

In Hotelling's theory, why create a statistic and calculate the likelihood instead of using the maximum likelihood estimated normal distribution?

In Hotelling's theory, when data is assumed to be generated from a normal distribution, a statistic based on the Mahalanobis distance is calculated, and the degree of anomaly of the data is calculated ...
user avatar
  • 155
1 vote
1 answer
361 views

What is a generalisation of t-test to the case of multivariate distribution?

When we have a sample of numbers, one of the most basic tests is the t-test, in which we check the null hypothesis that the population mean is equal to zero. I am interested in a generalisation of ...
user avatar
  • 473
1 vote
0 answers
43 views

Intuition for Hotelling's T^2 Test

I have been learning about Hotelling's $T^2$ test from Multivariate Statistics: Old School. The test is given by $T^2 = \nu\cdot\text{trace}(\bf{W}^{-1}\bf{B})$. The author shows that in the case of ...
user avatar
1 vote
0 answers
121 views

Hotelling T squared seemingly useless at detecting a mean shift

I am trying to develop a single-sample Hotelling $T^2$ test in order to implement a multivariate control chart, as described in Montgomery, D. C. (2009) Introduction To Statistical Quality Control, ...
user avatar
  • 273
4 votes
0 answers
167 views

Finding the probability density function of Hotelling's T-squared distribution

The following image is seen on wikipedia when searching for Hotelling's T-squared distribution This is apparently the pdf of the Hotelling T-squared distribution at different parameters. However, I ...
user avatar
0 votes
1 answer
209 views

Multiple comparisons problem one-sample t-test

I asked participants to rate the valence of 92 objects on a 7-point scale from negative to positive. I want to know for each object whether it's valence is significantly different from 4, i.e., the ...
user avatar
1 vote
1 answer
47 views

Hotelling's $T^2$ test VS dendrogram

When i perform a Hotelling's $T^2$ test on a dataset, it stated that there is strong evidence that the mean vectors of the two groups differ. However, when I create a dendrogram, I got: where number ...
user avatar
2 votes
0 answers
73 views

Hotelling's T for Matrix Normal Distribution

Suppose you observe matrix normal $\mathbf{X}_i \sim \mathcal{MN}_{m,p}\left(\mathbf{M},\mathbf{U},\mathbf{V}\right)$, for $i=1,2,\ldots,n$. That is $\mathbf{X}_i$ is an $m\times p$ matrix which is ...
user avatar
  • 10.4k
1 vote
0 answers
2k views

95% confidence ellipse using Hotelling T-squared in a score plot (R)

I am trying to draw a 95% confidence ellipse using Hotelling T-squared in a score plot of two principal components from a PCA. I have checked that: https://stackoverflow.com/questions/42637860/pca-...
user avatar
  • 11
6 votes
0 answers
2k views

Distribution of multivariate "$Z$-score"?

Suppose $\mathbf{X}_1, \dots, \mathbf{X}_n \sim N_p(\mathbf{\mu}, \Sigma)$ where $\mu \in \mathbb{R}^p$ and $\Sigma$ is a $p \times p$ covariance matrix. Suppose $\hat{\Sigma}$ is the sample ...
user avatar
  • 14.2k
7 votes
1 answer
4k views

Confidence regions on bivariate normal distributions using $\hat{\Sigma}_{MLE}$ or $\mathbf{S}$

Given a $5 \times 2$ dataset $\mathbf{X} =\left( \begin{array}{rr}-0.9&0.2\\2.4&0.7\\-1.4&1.0\\2.9&-0.5\\2.0&-1.0 \end{array} \right)$. Assume that $X\sim N_2(\mu, \Sigma)$. ...
user avatar
  • 282
1 vote
0 answers
56 views

Minimum sample size heuristic for using Hotelling's T$^2$ test

My understanding is that for non-normal data, a widely accepted heuristic for using the t-test is a sample size of at least $n=30$. Since for smaller sample sizes the distribution of the sample mean ...
user avatar
  • 1,213
0 votes
1 answer
23 views

Testing the randomness of allocation of multivariate dataset

Everyday we allocate mortgages between two investor platforms. Within each risk segment and term (length of mortgage in years), mortgages are allocated based on investor demand randomly. ie 70/30 ...
user avatar
  • 1
1 vote
0 answers
144 views

Are there any good citations for the distribution of Hotelling's t-square statistic that don't assume a point null hypothesis?

Under standard assumptions, Hotelling's $t$-squared statistic, \begin{align*} t^2=(\overline{x}-\mu)'\hat{\Sigma}_\overline{x}^{-1} (\overline{x}-\mu), \end{align*} is distributed as \begin{align*} t^...
user avatar
3 votes
0 answers
406 views

Proof that the Hotelling T$^2$ statistic is invariant under the choice of contrast matrices

Consider an one-way repeated measures design with $n$ subjects and $q$ measurements. It is assumed that $\mathbf{x}_{i}$ are $iid$ q x 1 random vectors that follow multivariate normal distribution, ...
user avatar
1 vote
0 answers
414 views

How to interpret Hotelling T2 results

I've been presented with report that compares two items, each having over 400 data points. Because it's multivariate, the Hotelling T2 test was used and the result was the Hostelling ellipsoid with ...
user avatar
1 vote
2 answers
2k views

is the computed Hoteling's T square correct?

I am testing the Hoteling Tsquare test on a toy example using scikit learn. I am following the description in this this link. Is the size of the obtained Tsquare values correct? Shouldn't it be a ...
user avatar
3 votes
0 answers
138 views

Hotelling's T$^2$ test when $p > n$

Suppose I have a data-matrix $\bf X$, which has more features than samples ($p > n$). I'd like to perform a Hotelling's T$^2$ test to determine whether or not to reject the null-hypothesis that ...
user avatar
  • 1,213
1 vote
0 answers
57 views

Alternate form of null hypothesis for equality of group means (Helmert matrix?)

I have two sets of hypotheses in a multivariate setting that are said to be equivalent. I am wondering if someone can explain why they are as opposed to me just taking it to be true. Version 1: $...
user avatar
1 vote
1 answer
149 views

Limit of Hotelling $T^2$ distribution

Suppose you have a sample $X_1, \ldots, X_n$, $n$ large, from a multivariate normal distribution $N_p(\mu, \Sigma)$. It is easy to show that $D_i := k(X_i - \bar{X}_n)'S^{-1}_n(X_i-\bar{X}_n) \sim T^...
user avatar
1 vote
0 answers
65 views

Is $T^2$ equivalent to 1 Way MANOVA when we have just two populations?

When we're in the presence of two populations, for the same assumptions (random samples, multivariate distribution, same covariance matrix), and we want to test the mean vectors, we have two options: ...
user avatar
2 votes
0 answers
171 views

Should we use Hotelling $T^2$ test or something else?

As part of our project, we have used a combination of three machine learning classifiers combined with a voting algorithm over it to obtain reasonably good results. The input data for the classifiers ...
user avatar
  • 121
2 votes
0 answers
103 views

Given $\{\vec{x}_i\} $ i.i.d $N(\vec{\mu}, \Sigma)$ find confidence ellipse for $\mu$ (unknown $\Sigma$)

Searching online, I was not able to find construction of a confidence ellipse for $\mu$ in this case. Any help would be appreciated. Below is my attempt to construct $1- \alpha$ confidence ellipse. ...
user avatar
  • 670
4 votes
0 answers
453 views

Hotelling's T-squared test

I am dealing with an $n$-dimensional random variable $\hat{P}$ for which I know that $$\sqrt{n}(\hat{P}-P) \to^d \mathcal{N}(\mathbf{0},\Sigma).$$ I could also estimate the covariance matrix, $\Sigma$....
user avatar
  • 221
3 votes
1 answer
3k views

Relation between Two Sample Hotelling's T-test and Mahalanobis Distance?

Mahalanobis distance is a measure of distance between a point and distribution. So if we want to check if a point belongs to a particular distribution or not, we can use Hotelling's T-test, which is ...
user avatar
0 votes
0 answers
280 views

Multivariate confidence interval for means?

Let $\mathbf{X}=(X_1,X_2)$ a random sample, where $X_1=(X_{11},X_{21},\dots,X_{n1})$ and $X_2=(X_{12},\dots,X_{n2})$ are two random vectors. Find joint confidence intervals for $\mu_1$ and $\...
user avatar
2 votes
1 answer
646 views

What is "Discriminant hotelling"?

Recently I have encountered the term Discriminant hotelling. And I have no idea what this term means. All I know is that this is in context with multivariable data analysis. I tried googling but in ...
user avatar
7 votes
0 answers
133 views

Alternative distribution of $T^2$ statistic without Gaussian assumption

Background Let $p(x)$ be an arbitrary distribution defined on $\mathbb{R}^d$. Define $\mu = \mathbb{E}[x]$. Given an i.i.d. sample $x_1, \ldots, x_n \sim p(x)$, consider the following $T^2$ statistic ...
user avatar
  • 1,913
2 votes
0 answers
73 views

Show that distribution of $\small(n-1)\overline{X}'(S^{-1}-\frac{S^{-1}\mu_0\mu_0'S^{-1}}{\mu_0'S^{-1}\mu_0})\overline{X}$ is $\small T^2(p-1,n-1)$

Show that the distribution of $(n-1)\overline{X}'\left(S^{-1}-\dfrac{S^{-1}\mu_0\mu_0'S^{-1}}{\mu_0'S^{-1}\mu_0}\right)\overline{X}$ is $T^2(p-1,n-1)$ where $X_i\sim N_p(\mu,\Sigma)$, where $\Sigma$ ...
user avatar
2 votes
1 answer
365 views

distribution of $T^2$ statistic without Gaussian assumption

I would like to know if the Gaussian assumption is needed on $x_i$ in deriving the asymptotic distribution of the $T^2$ statistic. Here is the presentation sequence I got from the Wiki page on ...
user avatar
  • 1,913
2 votes
0 answers
83 views

Paired Hypothesis Test in TWO Linear Regressions

I am wondering how to perform a paired hypothesis test in a panel regression. I have been looking in many stats books but I have not found anything. The question goes: assume for $i=1,2,\cdots, N$ ...
user avatar
  • 91
0 votes
0 answers
1k views

Hotelling's one-sample T2 statistic

I wanted to determine if a new sample is within reasonable bounds of the mean of an approximately normally distributed sample of points. I want to use Hotelling's $T^2$ statistic to obtain a $p$-...
user avatar
  • 1,406
1 vote
0 answers
3k views

Which is right? Individual variable t test or multivariate Hotelling t test?

So, lets say a hypothetical example. You have data of women aged 25-50 on their nutrition activity and measured for 737 such women(n,sample size) on 5 variables(Calcium, Protein, Vitamin A, Vitamin ...
user avatar
  • 895
3 votes
1 answer
1k views

Using the Hotelling package in R

I have two samples of data in $\mathbb{R}^2$, assumed drawn from a gaussian distribution, and I would like to test whether the two samples have the same mean. I know that the right test to do this is ...
user avatar
3 votes
1 answer
539 views

Violation of the assumption of equal covariance matrices for two-sample Hotelling's test

I would like to compare nutrient intake of men and women. But the assumption of the same variance-covariance matrix is violated and therefore two-sample Hotelling's $T^2$ test cannot be applied. How ...
user avatar
4 votes
1 answer
819 views

Generating null distributions by a residual permutation procedure

I am trying to understand the method described in this paper which describes an hypothesis-testing framework for stable isotope ratios. The data are in a bivariate isotopic space and the metrics that ...
user avatar
3 votes
1 answer
1k views

Alternative tests for Hotelling's two-sample T-test

I have a bunch of vectors from two groups, $X$ and $Y$, and each vector in either $X$ or $Y$ groups has $m$ elements. Now I have $X_{1},\ldots,X_{8}$ and $Y_{1}, \ldots, Y_{8}$ in each group, and ...
user avatar
4 votes
2 answers
1k views

Proof for two-sample Hotelling $T^2$ statistic?

I've been reading "A primer of multivariate statistics" by Richard J. Harris, page 546, which shows how to derive the Hotelling $T^2$ statistic, after seeing this related but different question (I ...
user avatar
2 votes
1 answer
884 views

Correlation and Hotelling test

To find a Hotelling $T^2$ score it is necessary to calculate the covariance matrix and then invert it. Now, when the test is a two-sample $T^2$ test, the covariance matrix is a pooled matrix. When ...
user avatar
  • 297
2 votes
0 answers
193 views

How do I find the coefficients of a two-sample T2 Hotelling Test?

Hi I am trying to figure out how to obtain the coefficients for the linear combination of variables determined by a Hotelling $T^2$ test. I know that for the one sample case it is $a = S^{-1} \Delta ...
user avatar
  • 297
3 votes
1 answer
1k views

Hotelling T^2 test derivation question

I am reading about the Hotelling $T^2$ test (A primer of multivariate statistic s by Richard J. Harris). It says here that the test can be seen as creating a linear combination of your variables and ...
user avatar
  • 297
3 votes
0 answers
103 views

What is the distribution of this nearly-Hotelling statistic?

Let $X$ be an $n \times l$ matrix, and $F$ an $n \times p$ matrix, with the rows of $X$ and $F$ drawn i.i.d. from multivariate Gaussians. (The independence applies to rows: the $X$ and $F$ may be ...
user avatar
  • 10.4k
5 votes
0 answers
934 views

Tutorial for performing Contrasts for MANOVA

Context I have a multivariate dataset with a test group and three control groups. I was thinking that the best way to determine if and how the test group differed from all of the control groups would ...
user avatar
3 votes
2 answers
3k views

How exactly does Wilks' Lambda distribution generalize the Hotelling distribution?

According to Wikipedia, Wilks' Lambda distribution generalizes Hotelling's distribution. I am having some problems seeing how this works. I can see how Hotelling's distribution generalizes Student's t-...
user avatar
  • 10.4k