All Questions
Tagged with multivariate-analysis covariance
64 questions
0
votes
0
answers
15
views
How can I assume covariance (rho) between two psychiatric disorders for multivariate meta-analysis
I want to do a multivariate meta-analysis, as I have several effect sizes per study. For example, I want to investigate the risk (Odds Ratio) of Conduct Disorder (CD) and Oppositional Defiance ...
0
votes
1
answer
71
views
Comparing linear slopes between two scatterplot matrices
Below is a reproducible example of code that produces a dataset and plot roughly similar to what I am working on. The dataset is comprised of multiple columns for gene transcript abundance values and ...
0
votes
0
answers
53
views
Multivariate sample covariance
I have a set of $X_1,...,X_n$ samples with covariance $\Sigma_1,...,\Sigma_n$.
The multivariate sample mean is then $$ \left(\sum_{i=1}^n \Sigma_i^{-1} \right)^{-1} \left(\sum_{i=1}^n \Sigma_i^{-1} ...
1
vote
1
answer
188
views
Deriving covariance of joint distributions of MVN [Linear Gaussian systems?]
Let $z$ ∈ R^L be an unknown vector of values, and $y$ ∈ R^D be some noisy measurement of z. We assume these variables are related by the following joint distribution
$p(z) \sim N(z|\mu_{z}, \Sigma_{z})...
1
vote
1
answer
55
views
Variance of $X + \alpha^\top Y$ where $X$ is a scalar random variable and $Y$ is a random vector [duplicate]
Consider a scalar random variable $X\in\mathbb{R}$, a vector random variable $Y\in\mathbb{R}^n$ and a constant (non-random) vector $\alpha\in\mathbb{R}^n$. I want to compute
$$
\mathbb{V}[X + \alpha^\...
0
votes
0
answers
115
views
Evaluate relative quality of covariance matrix relative to a set
My ultimate goal is a way to evaluate a group of "m" covariance matrices (all size n*n) so I can pick an arbitrary one and calculate "this one is tighter than the average covariance ...
1
vote
0
answers
22
views
No covariance results in Matrixnormal distribution?
Let's say we estimate the matrix $\beta_{N\times N}$ which is the coefficient matrix of a simple multiple linear regression $Y=X\beta+\epsilon$ where $Y, X, \epsilon\in R^{T\times N}$. If we assume:
$$...
0
votes
0
answers
91
views
How to call $\mathrm{Cov}(X,Y,Z)$? [duplicate]
Let
$$\mathrm{Cov}(X,Y,Z) = \mathrm E[(X-\mathrm E(X))(Y-\mathrm E(Y))(Z-\mathrm E(Z))]$$
This can be regarded as a generalization of covariance to three random variables.
I am writing a text where I ...
1
vote
0
answers
100
views
Multivariate datasets comparison in R
I would like to compare the variance of two multivariate datasets describing the same population between them (e.g. Covariance) but also the specificity of one dataset regarding the total variance of ...
1
vote
1
answer
555
views
Combining two covariance matrices -- Multiplying two multi-variate Gaussian PDFs
I want to multiply two Normal probability density functions,
$$ {\displaystyle f_{\mathbf {X} }(x_{1},\ldots ,x_{k})={\frac {\exp \left(-{\frac {1}{2}}({\mathbf {x} }-{\boldsymbol {\mu }})^{\mathrm {T}...
2
votes
0
answers
152
views
Best approximation of the Mahalanobis distance by standardized Euclidean distance
I am looking for the best way to approximate the Mahalanobis distance by the standardized Euclidean distance, which would reduce the number of the required multiplications. The easiest way is the ...
2
votes
0
answers
97
views
Robust Covariance in Multivariate / Multi-response OLS
Assume we are in the OLS setting with $y = X\beta + \epsilon$. When $y$ is a response vector, and $X$ are covariates, we can get two types of covariance estimates:
The homoskedastic covariance
$cov(\...
1
vote
1
answer
661
views
What is the conditional covariance matrix of $(X_2,X_3)^T$ given $X_1$?
$X=(X_1,X_2,X_3)^T\sim N_3(\mu,\Sigma).$ Suppose $X_1,...,X_{20}$ are i.i.d. observations from $X$. The sample mean vector and the covariance matrix are then defined by
$$ \bar{x} = (1,0,2)^T,\quad S=...
1
vote
0
answers
1k
views
How do you interpret generalized variance?
Per Wiki, generalized variance is the determinant of a covariance matrix: https://en.wikipedia.org/wiki/Generalized_variance
I have heard that if the determinant is small, there is strong correlation ...
2
votes
1
answer
209
views
Should allowing multiple DVs to covary in SEM influence beta coefficients?
I am running a replication study to test a model with 8 IVs and 3 DVs (all variables are continuous).
In the initial study, I had a moderate sample (≈ 200), and thus relied upon multivariate multiple ...
1
vote
0
answers
996
views
two-way MANCOVA with two covariates in SPSS
I am running a two-way MANCOVA which needs to be adjusted by two covariates. Problem is, I am not entirely sure whether I clarified all assumptions correctly and how to finally deal with two ...
1
vote
1
answer
6k
views
Does the covariance of i.i.d. random vectors/multivariate random variables have any zero terms?
If we have i.i.d. random variables, $X$ and $Y$, then $\text{Cov}(X,Y)=0$.
But let's say we have i.i.d. random vectors $\boldsymbol{X}$ and $\boldsymbol{Y}$, where $\boldsymbol{X}=(X_{1},...,X_{p})$ ...
0
votes
0
answers
2k
views
Dealing with non positive definite matrix covariance (possible numeric issue)
I'm generating random number of a multivariate skew normal distribution. Here is my code:
...
2
votes
2
answers
1k
views
Why Multivariate Distribution with Covariance Matrix with Rank 1 Works?
So I want to sample from multivariate normal distribution and have this code where mean is 0 and I added covariance matrix with all entries to 1 implying all random variables are equally correlated.
...
-2
votes
2
answers
7k
views
Covariance between two binomial random variables [closed]
Consider a binomial random variable $X$ with parameter $p$ and another binomial random variable $Y$ with parameter $q$. What is the covariance of $X$ and $Y$?
How well does the proof generalize to $n$...
3
votes
1
answer
74
views
Does $\text{cov}(a_1' X, a_2' X) = 0$ imply $a_1 \cdot a_2 = 0$?
Let $X$ be a $p$-dimensional random vector with $p$ principal components $y_1, y_2, \dots, y_p$. By definition, a restriction put on the second principal component $y_2 = a_2'X$ is
$$
\text{cov}(y_1, ...
2
votes
1
answer
193
views
Computing conditional probabilities on multivariate data from covariances
I am struggling to implement some Bayesian algorithm which I hope you may help me with.
I am required to compute all probabilities of the form:
$$P(Z_i\le z_i\;|\;Z_1=z_1, \dots, Z_{i-1}=z_{i-1}) \;\...
2
votes
1
answer
1k
views
How to show sample correlation is sample covariance for standardized values?
Given a matrix $X$ and the resulting sample correlation matrix $R$, consider the standardized observations:
$$\frac{(x_{jk} - \bar x)} {\sqrt{S_{kk}}} \quad k=1,2,...,p \quad j=1,2,...,n$$
Show that ...
6
votes
1
answer
400
views
Are all symmetric matrices with diagonal elements 1 and other values between -1 and 1 correlation matrices?
A question for the statisticians and other math lovers: Are all symmetric matrices with diagonal elements 1 and other values between $-1$ and 1 correlation matrices?
3
votes
1
answer
54
views
If one dimension of the data is scaled by a factor, how would it affect the probability of the Gaussian distribution?
I have fitted a maximum likelihood Gaussian distribution $N(\mu, \Sigma)$ on a multidimensional data set $X$. I wonder how would $p(X)$ change if one dimension of $X$ is scaled by a factor?
It's ...
0
votes
1
answer
304
views
Multivariate statistics sampling and standard error problem
I have a group of workers listening to audio from many various audio files and typing it out. I want to compare the average transcription accuracy of these old workers with 2 new workers.
I have a ...
-1
votes
1
answer
556
views
Cleaning Up the Data with Mahalanobis Distance [duplicate]
I have a data set and I want to cleaning up my data set from the ouliers, so I decide to use the Mahalanobis distance to find the outliers. But I have a problem here since my covariance matrix isn't ...
2
votes
0
answers
204
views
What is Cov(X,Y) when X,Y is a F-distribution (a,b) and (c,d) ,in case X,Y Not independent [closed]
I want to know Covariance of random variable between $X$ and $Y$ when $X$ is a F-distribution with degree of freedom $a$ and $b$ and $Y$ is a F-distribution with degree of freedom $c$ and $d$,in case $...
6
votes
1
answer
4k
views
sequential/recursive/online calculation of sample covariance matrix
I am solving the next exercise, but I have spent a lot of time and I can´t.
For random vectors, $X_1,X_2,...\in\mathbb{R}^p$ The sample covariance with $\Sigma_1=0$ is given by:
$$\hat\Sigma_n=\frac{1}...
8
votes
2
answers
2k
views
Prove that $\mathrm{Cov}(x^TAx,x^TBx) = 2 \mathrm{Tr}(A \Sigma B \Sigma) + 4 \mu^TA \Sigma B \mu$
Suppose $\vec x \sim N(\vec \mu, \Sigma)$ is multivariate normal. I want to see that
$$\mathrm{Cov}(\vec x^TA\vec x,\vec x^TB\vec x) = 2 \mathrm{Tr}(A \Sigma B \Sigma) + 4 \vec \mu^TA \Sigma B \vec \...
2
votes
1
answer
337
views
Methods to prove that a guess for the covariance matrix is correct
Suppose we are interested in the covariance matrix $\Sigma$ of a few MLE estimators $\hat \theta_1,\hat \theta_2,\cdots,\hat \theta_n$. For each $j$, $\hat \theta_j$ is normally distributed and ...
1
vote
0
answers
26
views
Statistical models for dependency of responses?
What are some ways I can model the dependency or correlation of my responses?
The data:
How many hours does the patient spend doing X?
How many hours does the patient spend doing Y?
How many ...
1
vote
0
answers
309
views
Deriving the conditional distributions of a multivariate normal distribution (more than 2) [duplicate]
(This is a follow up on another question Deriving the conditional distributions of a multivariate normal distribution.)
I struggle when I condition several variables on another. My question is how to ...
5
votes
3
answers
3k
views
Uncorrelated/orthogonal random vectors
For random variables $X,Y\in\mathbb{R}$ we say that they are orthogonal if $E(XY)=0$ and uncorrelated if $E((X-E(X))(Y-E(Y))=0$. In what follows I assume all random variables to be centered so ...
0
votes
1
answer
377
views
solve an argmax problem of two unknowns given covariance matrices
The problem is:
For a pair of random variable $(X,Y)$, where $X \in \mathbb{R}^p$, $Y \in \mathbb{R}^q$, write $\Sigma_{XX}=var(X)$, $\Sigma_{YY}=var(Y)$, $\Sigma_{YX}=cov(Y,X)$.
Define
$(\alpha^*, \...
3
votes
1
answer
384
views
multivariate hypergeometric distribution
Is there a good textbook or a journal article which describes the properties of the multivariate hypergeometric distribution? I am particularly interested in the covariance structure. Wikipedia gives ...
0
votes
0
answers
130
views
How to deal with covariance between factors in an RDA (is it a big problem)?
I'm trying to figure out which factors are driving differences in my biotic matrix, among other things, relative abundance weighted mean community traits (similar to how Moillot et al 2013 [TREE] ...
2
votes
0
answers
174
views
Can the determinant of the covariance of the union of sets be described as a function of the sum of the determinants of the covariance of subsets
Assume my data can be partitioned into subsets such that all my data $ w= \bigcup_{i \in N} w_i $, where $w_i$ are disjoint and so $ \bigcap_{i \in N} w_i = {\emptyset}$. How can I write the $\det\...
2
votes
0
answers
909
views
Why are principal components of the residuals from a multivariate regression correlated with the estimated coefficients?
Say I have some data that follows a general linear model:
$$
Y = XB + E
$$
for which: $Y \in \Re^{n \times m}$, $X \in \Re^{n \times p}$ and $B \in \Re^{p \times m}$
Further, let's assume (1) that ...
2
votes
0
answers
202
views
Comparing variances of vectors
For vectors we can use the covariance matrix which contains the variances per variable and the covariances.
Now I want to compare the variances of multiple point clouds.
It is hard to compare the ...
5
votes
1
answer
472
views
Artificial Data Generation based on Data Distribution
My data looks something this (for example):
...
5
votes
2
answers
976
views
Example of dependence with zero covariance
This is a constructivist question.
Please provide a bi-variate distribution or density/mass function of two absolutely continuous/discrete (but not mixed-type) random variables, which (may) have ...
2
votes
1
answer
226
views
Univariate Normal Converted to Multivariate Normal: Covariance Derivation
I am reading the paper available at this link:
https://drive.google.com/file/d/0B2_rKFnvrjMARnU1QjB4anR3RDA/edit?usp=sharing
I am having trouble understanding section 5.1 (page 2741).
Essentially ...
1
vote
0
answers
67
views
Is the multivariate Gauss the only pdf incorporating covariances? [closed]
I am wondering whether there is another probability density function known to literature which is similar to the multivariate normal distribution in the respect that the pdf incorporates the ...
1
vote
2
answers
180
views
If x = y*y, and you know var(y), var(z), and cov(y,z), do I know cov(x,z)?
If I know that x = y*y, and I know a whole of statistics pertaining to y, such as the variance and its covariance with other variables, can I analytically solve for the variance and covariance of x? ...
2
votes
1
answer
245
views
Changing a multivariate Gaussian along a dimension
I have a multivariate Gaussian parameterised by a mean vector $\mu$ and a precision matrix $\Sigma$. Now, I want to set the Gaussian along a given dimension $i$ to a point mass i.e. I set the ...
6
votes
3
answers
5k
views
Multivariate logistic distribution
The normal distribution can be generalized into the multivariate normal distribution.
Can the logistic distribution also be generalized into a similar multivariate distribution?
Is there a ...
2
votes
1
answer
182
views
Expectation of correlated variables
I'm looking to compare effects $ \delta = \frac{\mu_T - \mu_C}{\sigma}$ for two studies, compared with the same control group. In order to find the covariance of effects for treatment A and treatment ...
2
votes
1
answer
270
views
Would the group means of PC scores differ from the PC scores of group means?
I have $2$ $n\times p$ matrices, where $n$ are the rows (samples), and $p$ the columns (measurements). Each matrix has samples and measurements from different groups. I call these the "raw" data. I'...
2
votes
0
answers
129
views
Independence of real and imaginary parts of the scalar product of multivariate complex normal vectors
Reading the paper "Distribution of Inner Product of Two Complex Gaussian Vectors and its Application to MPSK Performance" by Mallik R.K. I can not get one of the steps.
The author assumes two complex ...