Simple T-test

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

gka
Posts: 8
Joined: Sat Oct 31, 2015 6:26 pm

Simple T-test

Postby gka » Wed Dec 09, 2015 6:34 pm

Hello guys, I want to estimate the Cov(b1,b2) from the models below:

y=a1+b1X1
y=a2+b2X2

Do you know how to do this?
Ps. I want to check if H1:b1=b2 or H2:b1#b2, for t-test=(b1-b2)/sqrt(Var(b1)+Var(b2)-2Cov(b1,b2))

Is there an other way to do this?

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: Simple T-test

Postby startz » Wed Dec 09, 2015 8:58 pm

Put the equations in a System.

gka
Posts: 8
Joined: Sat Oct 31, 2015 6:26 pm

Re: Simple T-test

Postby gka » Thu Dec 10, 2015 12:03 pm

The problem is that I have beta coefficients from guantile regression... and this is not easy to do something like this.

Thanks...

Is there any other idea?

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: Simple T-test

Postby trubador » Thu Dec 10, 2015 2:01 pm

Startz' suggestion is the way to do what you want. However, based on your last post, I understand that the equations are already estimated (somewhere else) and you happen to have b1 and b2 parameters from a number of equations. If that is the case, then the following resources might be of help:
http://www.eviews.com/help/helpintro.ht ... 10.html%23
http://www.eviews.com/help/helpintro.ht ... 23ww132090

gka
Posts: 8
Joined: Sat Oct 31, 2015 6:26 pm

Re: Simple T-test

Postby gka » Sun Dec 13, 2015 9:02 pm

Yes the equations already estimated. But the problem is that I have about 100 b (b1 b2 b3 ... b100) from monte carlo simulation I want to check all of this with the first b1. On the other hand, the basic problem is that I have some equations from quantile regression...

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: Simple T-test

Postby startz » Sun Dec 13, 2015 9:58 pm

Can you compute the covariance from the monte carlo simulated coefficients?


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 0 guests