Search found 15 matches

by Dag Kolsrud
Fri Apr 17, 2026 6:14 am
Forum: Data Manipulation
Topic: Saving graphs as pdf
Replies: 13
Views: 100534

Re: Saving graphs as pdf

In Statistics Norway we try to use Eviews as much as possible for building, maintaining and using a large macro model, and also for producing tables and figures/graphs. Unfortunately, after EViews12, we experience problems with graphing and have to use EViews12 to get dashed lines that look good whe...
by Dag Kolsrud
Fri Apr 17, 2026 5:53 am
Forum: Data Manipulation
Topic: Graph Issue: Dashed Line Saving as Solid Line
Replies: 2
Views: 35194

Re: Graph Issue: Dashed Line Saving as Solid Line

In Statistics Norway, we experience similar problems with dashed lines in both EViews 13 and 14, while we have no problems with dashed lines in EViews 12 (which we continue using fro graphing purposes only). In Eviews 14, I have tried to replace dashed lines with solid lines of the same color, but a...
by Dag Kolsrud
Tue Jun 18, 2024 1:09 am
Forum: Data Manipulation
Topic: Saving graphs as pdf
Replies: 13
Views: 100534

Re: Saving graphs as pdf

Please find a workfile and a program that graphs series in the workfile. The program can be run by EViews12 and 13, but it is necessary to comment/uncomment lines to (de)activate the OPACITY command which only EViews 13 accepts.
by Dag Kolsrud
Wed Jun 05, 2024 2:41 am
Forum: Data Manipulation
Topic: Formatting axes in graphs
Replies: 0
Views: 95427

Formatting axes in graphs

Why do I get different looking left and right axes on the attached graph when using these commands: %rightaxisrange="6000, 24000" %leftaxisrange="30000, 120000" and {%gr}.axis(l) units(k) format(dec=0) range({%leftaxisrange}) font(Open Sans,13,-b,-i,-u,-s) {%gr}.axis(r) units(k) ...
by Dag Kolsrud
Wed Jun 05, 2024 12:21 am
Forum: Data Manipulation
Topic: Saving graphs as pdf
Replies: 13
Views: 100534

Re: Saving graphs as pdf

Unfortunately, the command lineopacity(off) does not change anything. Do you have any other potential explanation or do I have to continue doing the graphing in Eviews 12?
by Dag Kolsrud
Fri May 31, 2024 3:24 am
Forum: Data Manipulation
Topic: Saving graphs as pdf
Replies: 13
Views: 100534

Re: Saving graphs as pdf

One spool did not make it into the previous reply
by Dag Kolsrud
Fri May 31, 2024 2:47 am
Forum: Data Manipulation
Topic: Saving graphs as pdf
Replies: 13
Views: 100534

Re: Saving graphs as pdf

I have enclosed two screen shots of two spools generated by the same EViews program written by me. The only difference is that the program generating the spools was run on two different versions of EViews: EViews 12 and EViews13. Each spool was saved on disk by the manual EViews menu operations Obje...
by Dag Kolsrud
Thu Aug 31, 2023 2:02 am
Forum: Data Manipulation
Topic: Saving graphs as pdf
Replies: 13
Views: 100534

Saving graphs as pdf

When making graphs, they look the same in EViews 12 and 13. But I have to use EViews 12 when I save (print to disk) the graphs as pdf to get the same look in pdf as in EViews. If I use EViews 13 and save the graphs, the lines get a different and ugly look as pdf. Is that due to EViews or Windows?
by Dag Kolsrud
Thu Feb 02, 2023 5:09 am
Forum: Data Manipulation
Topic: Data from SAS
Replies: 1
Views: 14191

Data from SAS

Is there a way to import data from a SAS database on a server? It is possible to do that for FAME data, e.g. %data = "/ssb/stamme02/nasjregn/arbkraft_mr2021/famedb/aordning_volum.db" wfcreate(wf=kai, page=m) m 2017m1 @now dbopen(type=fame, s=2959@sl-fame-1) {%data} Is there a similar way f...
by Dag Kolsrud
Sat Sep 05, 2020 2:33 am
Forum: Data Manipulation
Topic: Format zeroline
Replies: 7
Views: 15416

Re: Format zeroline

In a program two series of weekly and quarterly frequency is generated on different pages in the same workfile: pageselect w smpl 2007 @now genr spgrowth = 100*((index_sp500-@elem(index_sp500, "2007"))/@elem(index_sp500, "2007")) pageselect q smpl 2007 @now graph g.line w\spgrowt...
by Dag Kolsrud
Wed Feb 06, 2019 6:51 am
Forum: Data Manipulation
Topic: Export data to R
Replies: 2
Views: 4606

Export data to R

I want to use the prophet package in R from EViews. Exporting data I have problems getting rid of dates. My EViews code is smpl 2000 2018 xopen(type=r) xput(rtype=data.frame, name=df) @strdate("mm/dd/yyyy") a55 xon 'Turn on external R programming mode names(df)<-c("ds","y&qu...
by Dag Kolsrud
Wed Apr 11, 2018 8:45 am
Forum: Models
Topic: Add factors
Replies: 10
Views: 22493

Re: Add factors

Why did the error message disappear when I rearranged the Equation as described in my first email?
by Dag Kolsrud
Wed Apr 11, 2018 8:35 am
Forum: Models
Topic: Add factors
Replies: 10
Views: 22493

Add factors

I got the message: Overflow in "A31 equation" in "__KVARTSMODELLEN.ADDINIT(S=B, V=N) @ALL". What does it mean? The A31 equation is "0*A31+... = ...+0.94748*A31+..." where the 0*A31 has been inserted on the left hand side of the equation (which was transported from a pro...
by Dag Kolsrud
Tue Jul 25, 2017 12:56 am
Forum: Programming
Topic: Import eqonometric equations
Replies: 3
Views: 5079

Re: Import eqonometric equations

Thanks, but it does not work declareing an econometric Equation object and then append the equation formulation read from a text file and edited into EViews syntax. Even this does not work: equation eq1 eq1.append h10 c dum904 jk72 But this does: %eq_bh10 = "h10 c dum904 jk72" equation eq_...
by Dag Kolsrud
Mon Jul 24, 2017 7:48 am
Forum: Programming
Topic: Import eqonometric equations
Replies: 3
Views: 5079

Import eqonometric equations

I want to import a model containing hundreds of eqonometric equations and thousands of identities. A program that reads the identities from a text file and performs the necessary substitutions work ok. But how can I import equations from a text file where each line looks something like DEL(1:LOG(BH1...

Go to advanced search