Search found 16 matches

by blonggovnl
Mon Jun 08, 2015 9:16 am
Forum: Programming
Topic: Singular Value Decomposition
Replies: 1
Views: 2532

Singular Value Decomposition

Hi; I'm trying to implement a Lee-Carter Model in EViews, but am having an issue with singular value decomposition. The issue is related to the dimensions of the matrices involved. vector s matrix v matrix u=@svd(y_m,s,v) I know EViews automatically resizes s and v to the appropriate dimensions, and...
by blonggovnl
Thu Jun 04, 2015 9:30 am
Forum: Econometric Discussions
Topic: Singular Value Decomposition
Replies: 0
Views: 2242

Singular Value Decomposition

Hi; I'm trying to implement a Lee-Carter Model in EViews, but am having an issue with singular value decomposition. The issue is related to the dimensions of the matrices involved. vector s matrix v matrix u=@svd(y_m,s,v) I know EViews automatically resizes s and v to the appropriate dimensions, and...
by blonggovnl
Tue Apr 22, 2014 6:24 am
Forum: Programming
Topic: Opening Aremos Tsd files with @rename
Replies: 1
Views: 3016

Opening Aremos Tsd files with @rename

Hi, I'm trying to open some aremos tsd files in EViews. I can open them fine using either import or wfopen, except when I I want to use the @rename command. Some variable names in our old model are not allowed in EViews. So for instance, import(type=a) pridat.tsd @rename c ctot doesn't actually rena...
by blonggovnl
Tue Dec 17, 2013 6:13 am
Forum: Programming
Topic: Graphing Data in Matrices
Replies: 1
Views: 2494

Graphing Data in Matrices

Hi there,

I'm wondering if there is a way to graph all elements of a matrix as a histogram, ignoring the three individual series used to create the matrix.

BL
by blonggovnl
Wed Oct 02, 2013 11:05 am
Forum: Programming
Topic: Strange Copy Command Problem
Replies: 1
Views: 2389

Strange Copy Command Problem

Hi, I'm trying to copy some series from one wf to another, renaming each series as I do so. Here's my code: for %s %scen h high m medium l low for %school school1 school2 school3 school4 school5 school6 wfuse {%school}\{%scen} copy(overwrite) {%school}::{%scen}\g6_{%s} elemtotal::{%scen}\g6_{%s}_{%s...
by blonggovnl
Thu Sep 12, 2013 9:34 am
Forum: Programming
Topic: Invalid Display Format.
Replies: 2
Views: 2970

Re: Invalid Display Format.

Ohhhhhhhh. Right. Thanks.
by blonggovnl
Thu Sep 12, 2013 8:06 am
Forum: Programming
Topic: Invalid Display Format.
Replies: 2
Views: 2970

Invalid Display Format.

Hi,

I'm trying to format some tables. I previously was using:

Code: Select all

table01.setformat(@all) f.0
This worked, but I now want to use:

Code: Select all

table01.setformat(@all) g.0
which gives me an "INVALID DISPLAY FORMAT" error. Any idea why this is?

thanks,

BL
by blonggovnl
Wed Sep 11, 2013 6:40 am
Forum: Programming
Topic: Fixed Width Mode Error
Replies: 1
Views: 2387

Fixed Width Mode Error

Hi,

I am trying to change the width of some objects in a spool. I get an error indicating I can't do this while EViews? the spool itself? the spool objects? is in 'fixed width mode.' I have not set this anywhere. How can I change it?

Thanks,

BL
by blonggovnl
Tue Sep 10, 2013 6:32 am
Forum: Programming
Topic: Exporting Multiple Tables to the Same PDF
Replies: 3
Views: 4288

Re: Exporting Multiple Tables to the Same PDF

I have two follow-up questions: 1) How can I change 'object properties' using commands of objects in a spool. Specifically, I want to change the horizontal indent. 2) Is there a way for me to specify how individual objects within the spool are placed when printed to a pdf. For example, I want a grap...
by blonggovnl
Wed Sep 04, 2013 10:13 am
Forum: Programming
Topic: Exporting Multiple Tables to the Same PDF
Replies: 3
Views: 4288

Exporting Multiple Tables to the Same PDF

Hi,

Is there a way for me to export multiple tables to the same pdf in a report-style format?

BL
by blonggovnl
Tue Sep 03, 2013 6:27 am
Forum: Programming
Topic: Seemingly simple problem with If Statements and Strings
Replies: 1
Views: 2486

Seemingly simple problem with If Statements and Strings

Hi, I have a loop with loops through strings. In this loop I have an if statement : if (%school="gonzaga") then...where the %school string is the index for the loop. I just noticed that the program never enters this if statement, despite the string taking the value "gonzaga." Is ...
by blonggovnl
Tue Aug 27, 2013 9:55 am
Forum: Programming
Topic: Importing from excel directly into a matrix
Replies: 3
Views: 5041

Importing from excel directly into a matrix

Hi, Just wondering how I might import data from an excel file directly into a matrix. FYI: It's a 7x3 matrix of parameters, without a time dimension. Does the import command allow for this or should I use something else. The help file only seems to have information on doing this in a "point and...
by blonggovnl
Mon Aug 26, 2013 9:26 am
Forum: Programming
Topic: Recursive Problem in Integer-based loops
Replies: 2
Views: 2949

Re: Recursive Problem in Integer-based loops

Hahaha clever. Thank you.
by blonggovnl
Mon Aug 26, 2013 8:12 am
Forum: Programming
Topic: Recursive Problem in Integer-based loops
Replies: 2
Views: 2949

Recursive Problem in Integer-based loops

Sorry for the confusing title to this thread. I have the following snippet of code: for !i=2 to 12 genr gain_g{!i}_{%s}=g{!i}_{ %s}-g{!i-1}_{ %s}(-1) next where each gain_g!... series is previously created with NA values using "series". I want the loop to give them values as such: gain_g2....
by blonggovnl
Fri Aug 23, 2013 4:50 am
Forum: Programming
Topic: Dealing with multiple worksheet excel files using "import"
Replies: 1
Views: 2213

Dealing with multiple worksheet excel files using "import"

Hi,

What option can I use with the import command to specify which worksheet within an excel workbook to import data from?

BL

Go to advanced search