0
$\begingroup$

Suppose I have $p-$dimensional vectors $Y_1,Y_2,...,Y_n$ and $Z_1,Z_2,...,Z_k$ all independent such that $Y_i=\alpha_11+\beta_1x+\epsilon_i$ and $Z_i=\alpha_21+\beta_2x+\eta_i$ where $x$ is a non-random $p$-dimensional vector, $\alpha_1,\alpha_2,\beta_1,\beta_2$ are scalars, $1$ is the vector with all coordinates $1$ and $\epsilon_i$ are iid $N_p(0,\Sigma)$ and $\eta_i$ are iid $N_p(0,\Sigma)$. $\Sigma$ is unknown and if necessary, we may assume it has special structure.

So basically I have two linear regression models pertaining to longitudinal data. I have to test $\beta_1=\beta_2$.

Now I tried to read up but either it's my fault or really this test has not been explained in any of the good books. How do I test this hypothesis?

I need to test hypothesis of this form and also find suitable distribution under $H_0$. Can anyone kindly explain what to do, step by step? Or, if there is some R command to directly test this?

$\endgroup$
  • $\begingroup$ Is Y your input or output variable? If Y is an output variable, why is it a p-dimensional vector? If Y is a p-dimensional vector, and x is a p-dimensional vector, and $Y=\alpha_11+\beta_1x+\epsilon_i$, how can $\alpha_1$ and $\beta_1$ be scalars? You need to fix something. $\endgroup$ – user31264 May 8 '16 at 20:37
  • $\begingroup$ Y are my observations I want to determine regression equation on Y on x. $\endgroup$ – Landon Carter May 9 '16 at 11:10
  • $\begingroup$ This does not really answer the questions. $\endgroup$ – user31264 May 9 '16 at 12:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.