COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### Regression (Testing for equality between two regression coefficients)

• Follow

```Hi,

I'm searching for how I can easily test if two regression coefficients are the same.  I can't seem to find any data on how to do this easily and can only find information pertaining to how to do it in stats.

I.e. y = alpha1 + alpha2*x1 + alpha3*x2 + alpha4+x3 + e

I want to test if alpha2 == alpha3

Thanks
```
 0

```On 5/6/2010 12:15 AM, Rick wrote:

> I.e. y = alpha1 + alpha2*x1 + alpha3*x2 + alpha4+x3 + e
>
> I want to test if alpha2 == alpha3

The standard thing would be to fit the equivalent model

y = alpha1 + alpha2*(x1+x2) + alpha3*x2 + alpha4+x3 + e

and then test if alpha3 is significantly different from zero.  You could
use a t test on the coef (e.g., REGSTATS if you have access to the
Statistics Toolbox), or F test against the simpler model

y = alpha1 + alpha2*(x1+x2) + alpha4+x3 + e

The two tests are equivalent.  Hope this helps.
```
 0

1 Replies
1088 Views

Similiar Articles:

7/15/2012 1:36:22 AM