Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results for regression x y
Search options not deleted
1 vote
0 answers
107 views

Regression Swap X,Y Variance Puzzle

What I was hoping is that if I reorganize the first regression $$x = \frac{var(x)}{cov(x,y)}y - \frac{var(x)}{cov(x,y)}\epsilon_x$$ the variance of the new error term would match the variance of the … second regression. …
Cagdas Ozgenc's user avatar
0 votes
0 answers
83 views

Principal component regression of y on x and x on y

If we regress $y$ on $x$, the regression coefficient is $\beta_1=\frac{cov(x,y)}{var(x)}$ and if we regression $x$ on $y$, the coefficient is $\beta_2=\frac{cov(x,y)}{var(y)}$. … If we want to draw these two fitted lines on the same $(y-x)$ coordinates we know that the fitted line of regression $x$ on $y$ will be steeper. …
KK WY's user avatar
  • 1
1 vote
0 answers
1k views

Regress X with Y, what can you say about beta [closed]

Simple Linear Regression. You regress $Y \sim X$, and You know $\beta_{y,x}$. Now, if you regress $X \sim Y$, what can you say about $\beta_{x,y}$, what about its range? … $\beta_{x,y} = \beta_{y,x}\frac{s_{x,x}}{s_{y,y}}$. How can I infer the range? …
kuku's user avatar
  • 317
7 votes
3 answers
2k views

If X=Y+Z, Is it ever useful to regress X on Y?

If we have X and Y that are mathematically dependent: X = Y + Z, is it 'forbidden' to use Y as a predictor to X in linear regression? … But, if we can only measure Y, does the regression give us a tool to predict X? Isn't it better to find the regression between Y and Z? I'm confused. …
amc____'s user avatar
  • 85
0 votes
1 answer
178 views

Relationship of x regress y and y regress x on the slope

Consider a linear regression model y on x and x on y. We have $Y = a'X + a$ where $a' = \frac{cov(X,Y)}{Var(X)}$. Equivalently, we have $X = b'Y+b$ where $b' = \frac{cov(X,Y)}{Var(Y)}$. … It follows that: \begin{aligned} a' &= \frac{1}{b'} \\ \frac{cov(X,Y)}{Var(X)} &= \frac{Var(Y)}{cov(X,Y)} \\ \frac{1}{Var(X)} &= Var(Y) \end{aligned} Ok. …
Jason's user avatar
  • 3
2 votes
1 answer
136 views

Establishing bounds on Regressing Y on X versus regressing X on Y

When we consider the flipped regression of $x =b_1'y + b_0'$ can we establish any upper or lower bound on $b_1'$? Other than it being greater than 0?? … This is the only thing I can think of because we know if $b_1 = 2, cov(x,y) > 0$ …
Bepop's user avatar
  • 307
8 votes
2 answers
582 views

Problems regressing y on x/y?

I'm trying to think through whether the regression $y = a + b (x/y)$ Is problematic at all. It's not colinearity, because there's no linear relation? … But, as $y$ increases, then $bx$ would tend to decrease, so I'm suspicious. Is there a problem here? It's just a regression of $y^2$ on $x$, right? …
pail's user avatar
  • 181
1 vote
0 answers
48 views

can you calculate the uncertainty on predictions of y(x) if you regressed x(y)?

Given that the plan is to use the inverse formula $x = x(y)$, the regression is also run by considering $y$ as the independent variable and $x$ as the dependent variable. … So I thought: what if I determined $A, B$ by running the regression on $y = y(x)$, i.e. considering $x$ as the independent variable and $y$ as the dependent variable? …
user6376297's user avatar
1 vote
1 answer
715 views

standardised random variable least square regression $X$ against $Y$, $Y$ against $X$ [duplicate]

Let $X$ and $Y$ be mean 0 and variance 1 random variables such that we choose $\alpha$ and $\beta$ to minimise $$\mathbb{E}(X-\beta Y)^2$$ and $$\mathbb{E}(Y-\alpha X)^2$$ after not so difficult derivation … This seems very strange, because if $y=mx$ is regression line, then surely $x = \frac{1}{m }y$. …
Lost1's user avatar
  • 728
1 vote
1 answer
49 views

Why is $f_{Y|X}(y|x) = f_\varepsilon(y - g(x))$ for the regression model $Y = g(X) + \vareps...

I read that the conditional probability density function $f_{Y|X}(y|x)$ of $Y$ can be written as $$ f_{Y|X}(y|x) = f_\varepsilon(y - g(x)), $$ where $f_\varepsilon$ is the density of $\varepsilon$. … Here is my attempt: $$ \begin{align} f_{Y|X}(y|x) = f_{Y|X}(Y=y|X=x) &= f_{Y|X}(g(X)+\varepsilon=y|X=x) \\ &= f_{g(X)+\varepsilon|X}(g(x)+\varepsilon=y|X=x) \\ &= f_{g(X)+\varepsilon|X}(\varepsilon = y
csss's user avatar
  • 153
4 votes
1 answer
663 views

Link between forward and inverse regression ($\text{E}(X|Y)$ and $\text{E}(Y|X)$ ;$ \text{va...

In a multivariate context, that is with at least X or Y being a random vector, are there formulae or theorems that link (even remotely) the forward and inverse regression, $\text{E}(X|Y)$ and $\text{E} … (Y|X)$ ? …
M. Toya's user avatar
  • 477
1 vote
2 answers
4k views

Why does the linear regression of "x on y" intersect with the linear regression of "y on x" ...

x on y. … The equation of the line $L_{1}$ can be written in the form $x = ay + b$. (a) Find the value of $a$ and the value of $b$. Let $L_{2}$ be the regression line of $y$ on $x$. …
maydc's user avatar
  • 11
2 votes
0 answers
134 views

Regressing $x$ on $y$ for Count Data

Suppose I have data $x$ and $y$, where $x$ is a count and $y$ is continuous. I would like to predict $x$ from $y$. … Specifically, I would use the proposed regression method to answer a question such as "What is the value of $x$ for a corresponding $y$-value of $y$ = 5?" …
compbiostats's user avatar
  • 1,649
6 votes
2 answers
1k views

least square estimator of regression x onto y [duplicate]

I've been reading linear regression and least square estimator. … However I wonder what would be the effect if we do regression of x onto y. Would we then be able to use the least square estimate for the regression of x onto y to estimate of $\frac{1}{\beta}$? …
RnHdw's user avatar
  • 63
5 votes
1 answer
72 views

Linear regression: Evaluate probability of $Y>y| X=x$

Given a linear regression model with all the assumptions checked and validated, I would like to obtain the probability that $Y>y|X=x$. … For example for the iris dataset, I would do the following to obtain the probability of $Y>5|X=1,2,3...7$: plot(Sepal.Length~Petal.Length, data=iris) lm1<-lm(Sepal.Length~Petal.Length, data=iris) summary …
ECII's user avatar
  • 2,201

1
2 3 4 5
33
15 30 50 per page