Ridge (Ridge Regression and Ridge Trace)

For questions about EViews Add-ins available from the EViews Add-ins webpage. Note each add-in available on our webpage will have its own individual thread.

Moderators: EViews Gareth, EViews Moderator, EViews Esther

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13401
Joined: Tue Sep 16, 2008 5:38 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby EViews Gareth » Wed May 18, 2011 1:56 pm

Ridge Trace seems to work for me - I get a nice graph and table.
Follow us on Twitter @IHSEViews

stasibab
Posts: 55
Joined: Sun May 08, 2011 2:20 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby stasibab » Wed May 18, 2011 5:37 pm

Ridge Trace seems to work for me - I get a nice graph and table.
Could you please enlighten me? Have you used the excel file?

I inserted to the existing file the forecast lrconsf from the excel (f row) . (as you will see in the new workfile I attached)

When I run the ridge trace what do I put in dependant: the forecast? lrconsf? I tried everything and I am just getting a blank graph?

I am new to Eviews, sorry for the 'stupid' questions!
Thanx in advance!
Attachments
housingfor.WF1
(11.97 KiB) Downloaded 1322 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13401
Joined: Tue Sep 16, 2008 5:38 pm

Re:

Postby EViews Gareth » Wed May 18, 2011 6:10 pm

In the ridge regression i put: dependant lrcons and independant: lrgdp lrprice
Follow us on Twitter @IHSEViews

stasibab
Posts: 55
Joined: Sun May 08, 2011 2:20 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby stasibab » Wed May 18, 2011 6:33 pm

As I said earlier the ridge regressions gives me the results, but the ridge trace add-in is giving me the blank graph

I made you a print screen and I think you will understand the problem.
Attachments
graph.jpg
graph.jpg (60.01 KiB) Viewed 27249 times
printscreen housing.jpg
printscreen housing.jpg (126.2 KiB) Viewed 27249 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13401
Joined: Tue Sep 16, 2008 5:38 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby EViews Gareth » Wed May 18, 2011 7:19 pm

You appear to be entering only a single biasing constant for the Trace. As the instructions indicate, you need to enter a list of values.
Follow us on Twitter @IHSEViews

stasibab
Posts: 55
Joined: Sun May 08, 2011 2:20 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby stasibab » Wed May 18, 2011 7:29 pm

Thank you, that was clearly my bad!

But again one problem, hopefully the last!

Given the automated sort of values in the ridge trace (0 , 0.5..etc) I run it and I got the following error message!
Attachments
error.jpg
error.jpg (63.82 KiB) Viewed 27246 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13401
Joined: Tue Sep 16, 2008 5:38 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby EViews Gareth » Thu May 19, 2011 9:01 am

Hard to say without knowing what you did.
Follow us on Twitter @IHSEViews

stasibab
Posts: 55
Joined: Sun May 08, 2011 2:20 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby stasibab » Thu May 19, 2011 9:36 am

This is what I run! And I got the same error! I used an alternate sample and also got the same!

stasibab
Posts: 55
Joined: Sun May 08, 2011 2:20 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby stasibab » Thu May 19, 2011 9:38 am

This is what I run! And I got the same error! I used an alternate sample and also got the same!
forgot the image sorry!
Attachments
screen1.png
screen1.png (23.62 KiB) Viewed 27241 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13401
Joined: Tue Sep 16, 2008 5:38 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby EViews Gareth » Thu May 19, 2011 9:43 am

Works for me.
Attachments
ridgetrace.png
ridgetrace.png (111.68 KiB) Viewed 27240 times
Follow us on Twitter @IHSEViews

stasibab
Posts: 55
Joined: Sun May 08, 2011 2:20 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby stasibab » Thu May 19, 2011 9:56 am

Unbelievable or what? We are doing the exact same thing and getting 2 different results. Perhaps I miss a plugin or something? I installed the plugin straight from the site, no problem in installation...

Do not know that to say...

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

Re: Ridge (Ridge Regression and Ridge Trace)

Postby startz » Thu May 19, 2011 11:04 am

Is your copy of EViews completely uptodate?

stasibab
Posts: 55
Joined: Sun May 08, 2011 2:20 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby stasibab » Thu May 19, 2011 3:10 pm

Is your copy of EViews completely uptodate?
At last!! The update was the problem!! I see the beautiful graph too!!!

Thanx a lot!!

stasibab
Posts: 55
Joined: Sun May 08, 2011 2:20 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby stasibab » Wed Jun 08, 2011 3:13 pm

Hello,

I would like to ask something more about the ridge regression. The baysan value has to be under 1??

Thank you in advance

stasibab
Posts: 55
Joined: Sun May 08, 2011 2:20 pm

Re: Ridge (Ridge Regression and Ridge Trace)

Postby stasibab » Wed Jun 08, 2011 3:25 pm

Hello,

I would like to ask something more about the ridge regression. The baysan value has to be under 1??

Thank you in advance
Added to my previous question about the ridge regression , I would like to ask you what exactly does the VIF represent in the ridge trace

Thanx again.


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 2 guests