Saving coefficients on eveiws

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

thandeka
Posts: 4
Joined: Tue Jun 25, 2024 1:20 am

Saving coefficients on eveiws

Postby thandeka » Wed Jun 26, 2024 6:06 am

How do I save coefficients on eviews, I have 8 coefficients that I need to save and use in second regression

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

Re: Saving coefficients on eveiws

Postby EViews Gareth » Wed Jun 26, 2024 9:14 pm

Save them as what?

thandeka
Posts: 4
Joined: Tue Jun 25, 2024 1:20 am

Re: Saving coefficients on eveiws

Postby thandeka » Thu Jun 27, 2024 2:31 am

I want to save the eight coefficients obtained from running the first model and reuse these same coefficients in my second model.

I hope this clarifies what I intend to do. Let me know if you need further details.

Thommo
Posts: 15
Joined: Wed Sep 17, 2008 10:56 am

Re: Saving coefficients on eveiws

Postby Thommo » Thu Jun 27, 2024 6:49 am

You don’t need to “save” them. Everything is always saved.

You can access them directly from the equation with a data member.

Something like:

Code: Select all

Eq01.@coef(1)

thandeka
Posts: 4
Joined: Tue Jun 25, 2024 1:20 am

Re: Saving coefficients on eveiws

Postby thandeka » Thu Jun 27, 2024 3:52 pm

how do i then input them in my second time series regression?

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

Re: Saving coefficients on eveiws

Postby EViews Gareth » Sat Jun 29, 2024 12:05 pm

You can use
[code
Eq01.@coef(1)
[/code]

as part of the estimation expression.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests