For questions about correlation of two random variables. Use it with [tag: random-variables] and [tag: probability].

learn more… | top users | synonyms

1
vote
1answer
30 views

Computing the expected value of the product of two discrete variables

I didn't know why I compute $E(XY)$ wrongly. $$X=(1, 2, 0.5, -1),\qquad Y=(-2, 1, -0.5, 2).$$ $$E(XY) = \frac{-2 + 2 -0.25 -2}{4} = -0.5625\text{ (incorrect)}$$ because ...
-2
votes
2answers
27 views

Correlation coefficient from regression line [closed]

I encountered the below question in one of the interviews. Question : Suppose you have a random variable P and you define a new random variable $Q$ such that $Q = 2 - 3 P$. Calculate the value of ...
0
votes
0answers
16 views

Given a list with N pairs of numbers, how do I calculate how correlated or not the ratio of the pair elements is?

So let's say I have a pair list with N distinct pairs: L = { (10,12), (11,13), (9,10), ... } Each pair has a ratio, for example: Ratio (10,12) = 10 / 12. Now I ...
1
vote
1answer
36 views

Size of sample and correlation coefficient

$X$ and $Y$'s correlation coefficient is $r=0.5$. What is the size of sample when the correlation is significant at $\alpha=0.05$ with two sided test? Is there a more "formal" way to solve this ...
0
votes
0answers
14 views

Transform two correlated random variable to independent variables without knowing correlation

I am thinking about this interesting question which arises in the following realistic setting. For example, in one medical experiment one drug and one placebo are applied to two randomized groups of ...
0
votes
2answers
24 views

Partial proof for correlation coefficient formula?

I've been working to prove the formula for the correlation coefficient, since asking my last question yesterday (Meaning of denominator in correlation?). If this post in any way violates any ...
1
vote
2answers
63 views

Meaning of denominator in correlation?

I can't quite grasp the meaning of the denominator in the correlation coefficient. $$\frac{\sum(X - \bar X)(Y-\bar Y)}{\sqrt {\sum (X-\bar X)^2\sum(Y-\bar Y)^2}}$$ What exactly am I dividing with, ...
0
votes
1answer
29 views

Correlation coefficient and Expectation of two dimensional normal distribution.

Random variable (X,Y) is normally distributed. Conditional expectations are $E(X|Y=y)=0.25y + 2$ $E(Y|X=x)=x-2$ How can i determine correlation coefficient and when that is known, the expectations ...
0
votes
1answer
13 views

rewriting formula containing covariance and variances

just trying to follow a formula. the equation starts of as follows, 1 = sum( xi * (cov(ri, r) / sigma^2(r) ) please note i's are subscripts then next line ...
0
votes
0answers
14 views

Show a linear correlation / ANOVA + Spearman?

I have a questionnaire with several questions that segment the respondents in groups, two of those are "Age group" and "Employment status". One of the questions aks "What is the maximum amount you ...
1
vote
1answer
12 views

What is the expectation of the product of dependent, normal random variables

Question: Let's say I have $X \sim N(\mu_1, \sigma) $ and $Y \sim N(\mu_2, \sigma) $. I know that $ cor(X,Y) = \rho $. What is $E(XY)$? What I've tried Based on a similar question where X and Y are ...
1
vote
2answers
26 views

relationship between multiplication and correlation

is there a deep interpretation of multiplication as correlation? is this in some sense the most fundamental way to "combine" objects (eg numbers) into products? my reasons for asking are that the ...
0
votes
1answer
18 views

Correlation between 3d images and their slices

I work in the field of the image processing and I need to compare results of my algorithm with a gold standart results. For this purpose I calculate the Pearson correlation coefficient between the ...
1
vote
2answers
40 views

Show $E\left(\mathbf{X}_i \otimes \mathbf{u}_i\right)=\mathbf{0}$ implies $E\left(\mathbf{X}_i^{\top}\mathbf{G}\mathbf{u}_i\right)=\mathbf{0}$

Let $\mathbf{X}_i$ be a $G \times K$ random matrix, and let $\mathbf{u}_i$ be a $G \times 1$ random vector, and suppose we have a sample of $i=1,\ldots,N$ of each. Suppose the following condition ...
1
vote
0answers
14 views

Definition of Autocorrelation Function (ACF)

For a weakly stationary time series $\left\{r_{t}\right\}$, the definition of ACF is (from Ruey Tsay's "Analysis of Financial Time Series") $$ ...
0
votes
0answers
22 views

Finding a relative error measure on a data set proportional to another

I have a set of exact data points $\mathcal{X}=\{X_i\}$ and another approximate one $\mathcal{Y}=\{Y_i\}$ where there is a correspondence between $X_i$ and $Y_i$ for all $i$. If $\mathcal{Y}$ was ...
0
votes
0answers
5 views

Can I calculate correlation with convolution?

You know the correlation is the degree of similarity between two difference signals, and the convolution is used for calculate the output of a system or signal, so can I use convolution for calculate ...
1
vote
0answers
9 views

Proving $Corr(\hat{e}_{ij}, \hat{e}_{jk}) = \frac{-1}{n_i-1}$ for $ j \neq k$

For the model of a single factor experiment: $y_{ij}= \mu + \alpha_i + e_{ij}$, $(1 \leq i \leq a, 1 \leq j \leq n_i)$, where a = the number of treatments, $n_i$ = the number of experimental units ...
1
vote
2answers
54 views

The inverse of AR structure correlation matrix / Kac-Murdock-Szeg ̈o matrix

I want to find the inverse of the following matrix: $$ R_{k-1}=\begin{pmatrix} 1 &\rho &\rho^2 &\cdots &\rho^{k-2} \\ \rho &1 &\rho &\cdots ...
0
votes
0answers
6 views

Matrix with highly correlated adjacency entries

I am learning about SVD from this book. One of the exercise questions asks me to create matrix with highly correlated adjacency entries and then conduct some experiments to discover the nature of the ...
0
votes
1answer
35 views

What does the multiplication of standard deviation of two variables gives?

If we need to find the correlation between two variables it is given by the formula - co variance of two variables divided by the multiplication of Standard deviation of the two variables. My ...
0
votes
0answers
15 views

Isotropic correlation function for a vector valued random field

I'm having trouble with some of the implications of the following theorem. Let $\mathbf{T} (\mathbf{x})$ be a mean-square continuous vector valued random field on $\mathbb{R}^3$ satisfying conditions ...
2
votes
1answer
17 views

Question on the correlation between two dependant variables

I'm working on this question and it's stumping me. Let Sn = X1 + ... + Xn (with n>=1) be a random walk with X1,...,Xn be iid RV's. E(Xk)=mu Var(Xk)=sigma^2. Find the covariance of Sn and Sm Can ...
0
votes
0answers
49 views

Correlated variables from Latin Hypercube

Say I have a vector $\mathbf{Y}$ of $n$ normally distributed random variables. I have its mean vector $\mu$ and covariance matrix $\Sigma$. Normally if I were to generate a sample, I would decompose ...
0
votes
0answers
28 views

Generate two sets of (nonlinearly) dependent random numbers

I would like to find a method to generate two sets of (nonlinearly) dependent random numbers. Solution for linear dependence (that is, correlation). Generate two sets of uncorrelated random numbers ...
-2
votes
1answer
50 views

Combination problem: random selection in a group

A scientific committee of 4 persons is to be randomly selected from a group consisting of 3 biologists, 3 physicists and 4 mathematicians. Let X denote the number of biologists, Y the number of ...
0
votes
0answers
18 views

Correlation method for speed measurement

I have data from two sensors on the road and I'd like to calculate the vehicle speed. The data are a bit noisy, so I was thinking about making a correlation of these data from two sensors with a ...
0
votes
0answers
55 views

How to show that correlation is equal to zero from probability density function?

Let X and Y be independent standard normal random variables, that is, they both have probability density function given by ((1)/(2pi)^.5)*(e^-((t)^2/2))dt Let U = X + Y and V = X − Y . Show that ...
2
votes
0answers
32 views

Best line fit for correlated points

Given in $\mathbb{R}^3$ are $n$ points $\mathbf{y}_i\sim N(\mathbf{y}_i-\mathbf{\hat{y}}_i, \mathbf{C}_i)$, which are normally distributed. I want to determine a best fit line $\mathbf{u}(\lambda) = ...
0
votes
0answers
10 views

Is auto-correlation a particular and simple form of pattern in time series?

In a time serie context and considering the sign of the variation of the variable auto-correlation means that for couple of measures at (time t, time t+1) the ...
0
votes
0answers
24 views

How to calculate the lag 1 autocovariance for the difference of two variables from the individual autocovariances of the two variables

Is it possible to calculate the auto-covariance of the difference of two variables, from the auto-covariances of two variables being differenced? I have a situation where: $Y=\beta x$ x is 3*3 ...
0
votes
0answers
28 views

OLS standard error that corrects for autocorrelation but not heteroskedasticity

Question: By mapping the OLS regression into the GMM framework, write the formula for the standard error of the OLS regression coefficients that corrects for autocorrelation but not ...
0
votes
0answers
15 views

correlation between numeric, boolean, percentage

Let's say that I have several series of results. And I'd like to calculate correlation between them. The problem is that they are represented in different units (numeric, boolean,percentage). For ...
2
votes
1answer
20 views

Is $d(i,j) = 1-\textrm{corr}(i,j)$ a metric?

I need to make sure that this function is a metric: $d(i,j) = 1-\textrm{corr}(i,j)$ where $\textrm{corr}(x,y)$ is the Pearson correlation coefficient which ranges from $[-1,1]$. With this scaling I ...
0
votes
0answers
31 views

another possible ways for saying correlation between x and y

enter link description here If Y increases linearly as X increases, we say that there is positive linear corlelation between X and y . if if Y decreases as X increases we say that there is negative ...
1
vote
0answers
21 views

Bounding the Correlation Coefficient

Let us assume we have two random variables $X$ and $Y$ where $X = f(A, B, C)$ and $Y = g(A, B, C)$. $A, B, C$ are 3 independent random variables and the functions $f, g$ are known but rather expensive ...
0
votes
0answers
26 views

Difference between identity and diagonal covariance matrices

thanks in advance for the help. Suppose I am training a linear model. What are the conceptual differences between using a diagonal covariance matrix and the identity? It is clear to me that the ...
0
votes
1answer
12 views

Covariance matrix computed based on a covariance function

I am reading Chapter 4 of Gaussian Processes for Machine Learning. It says that a matrix $K$ whose entries are computed as $k_{ij} = k(x_i, x_j)$ where $k$ is a covariance function is a positive ...
1
vote
1answer
44 views

Constraints on correlation coefficients of multiple random variables

I am looking for a generalization of Correlation between three variables question for more than three variables. It is stated in one of the answers there that, for three variables with pairwise ...
0
votes
0answers
20 views

Test indipendence and stationarity

I have to apply a model on a dataset of $I$ variables, each one with $n$ observations, but I need that every variable is stationary and indipendent from the other ones for the model to work. My ...
0
votes
2answers
38 views

How to find relation between 2 numbers

I have been practicing programming for many months now and what I found difficult is not about solving problem. But it is how to find the "how to solve problem" to make computer solves that for me! ...
0
votes
0answers
30 views

Error propagation in pearson correlation

I have two data-sets $X$ and $Y$ with errors $\Delta X$ and $\Delta Y$. I calculated the Pearson Sample Correlation $r$. Is it possible to calculate the error of $r$ using propagation of uncertainty: ...
0
votes
0answers
7 views

Methods for Uncorrelating data - Comparison

I see that both PCA and Cholesky Decomposition could be used for uncorrelating correlated data. When should one be used? What are the assumptions made by each model. When do the methods fail? Are ...
1
vote
2answers
43 views

Correlation of random variables with joint PDF proportional to $x^{a-1}y^{b-1}(1-x-y)^{c-1} $

The random variables $X$ and $Y$ have joint PDF $$f(x,y)= \frac{\Gamma(a+b+c)}{\Gamma(a)\Gamma(b)\Gamma(c)}x^{a-1}y^{b-1}(1-x-y)^{c-1} $$ where $0 \leq x \leq 1 , 0 \leq y \leq 1, x+y < 1 $ where ...
0
votes
0answers
22 views

Checking hand manipulations of matrices

Beginning with a 4*3 matrix: 5 4 -1 2 3 -3 3 4 -4 1 3 -2 I have to perform four manipulations on it, which I did by hand. I wanted to ask if my thinking and/or ...
1
vote
2answers
40 views

What is the intuitive meaning of uncorrelated?

I was going through the derivation of the Kalman filter and it mentions that since noise (v) is uncorrelated to the state (x) and the state estimate (xbar), the following quantity is zero: E((x - ...
0
votes
0answers
35 views

Integration of shifted symmetric monotone functions

Assume that $f(x),g(x),h(x): \mathbb{R} \rightarrow \mathbb{R}$ are functions with the following properties: smooth symmetric positive monotone decreasing for $x > 0$ Define $g(u,v) = ...
0
votes
0answers
19 views

Exponentially weighted rank ordered correlation matrix

Is there any well-known method to apply exponential weighting (similar to EWMA) to rank ordered correlation matrices such as Kendall tau or Spearman?
0
votes
0answers
28 views

Generate Correlated Normal and Log-Normal Random Variable

The standard approach for generating two normally distributed random variables some with correlation $\rho$ is explained here: Generate Correlated Normal Random Variables. Now let $X,Y$ be normally ...
1
vote
2answers
28 views

Probability of observing a false correlation and confidence limits

In oil and gas exploration/development it is common to use acustic impedance derived from reflection seismic surveys to predict the porosity measured in wells drilled in the reservoir. I often use ...