# Rank of a matrix in regression hypothesis test?

In going over some example problems from class notes, I came across the following problem:

"Suppose we have a regression model $y=\beta_0+\beta_1x_1+\beta_2x_2+\beta_3x_4+\beta_4x_4+\epsilon$. We wish to test the null hypothesis that $H_0: \beta_1=\beta_2$. Express the hypothesis in terms of $A\beta=c$, provide $A$ and $c$ which yield the correct formulation of $H_0$. What is the rank of $A$?"

So, unless I am misunderstanding the problem, I would go about answering it thusly:

1) Restate the null hypothesis as $H_0: \beta_1-\beta_2=0$.

2) Set $c=0$.

3) Then, for $A\beta=c$, we have $A=[0,1,-1,0,0]$ and (no idea how to typeset a column vector) $\beta'=[\beta_0,\beta_1,\beta_2,\beta_3,\beta_4]$. Do the vector multiplication out, and you end up with $\beta_1-\beta_2=0$, which is our null hypothesis.

But, then, how do I answer the last part of the question? The rank of $A$? I've never even heard anyone talk about rank in the context of a vector. Did I do something wrong here and $A$ is supposed to be some $m$ x $n$ matrix for which I could calculate a rank? Or was this just a bad question (the professor in question is notorious for asking questions that don't make any sense)?

• It looks to me like $A$ is a $1\times 5$ matrix. – whuber Aug 6 '14 at 14:08
• This may help you resolve one part of your confusion - en.wikipedia.org/wiki/… – Glen_b Aug 6 '14 at 14:11

In that specific context, the question makes some sense (at least generally speaking...) as it is customary to check prior to such parameter-restricion testings whether matrix $A$ is of full row rank so that the equations are not redundant. (See Hayashi Econometrics, p. 39.)