Search found 10 matches

by makas12
Mon Mar 07, 2016 12:09 pm
Forum: Programming
Topic: getting series labels in a workfile
Replies: 1
Views: 2969

getting series labels in a workfile

Hello -

I am importing an excel spreadsheet with several time series into a workfile, where the first row represents the names of the series. Is it possible for me to get the list of all the names in the workfile?
by makas12
Tue Mar 01, 2016 7:48 pm
Forum: Programming
Topic: Convert table row to a series/matrix
Replies: 3
Views: 4822

Re: Convert table row to a series/matrix

I have version 8.1. Don't see ttom in the function list.
by makas12
Tue Mar 01, 2016 2:22 pm
Forum: Programming
Topic: Convert table row to a series/matrix
Replies: 3
Views: 4822

Convert table row to a series/matrix

Hi - is there any functionality available to convert a table row (not an Alpha series, same type) to a matrix/series?
by makas12
Mon Feb 29, 2016 9:20 am
Forum: Programming
Topic: Number of occurences for a string pattern
Replies: 2
Views: 4164

Number of occurences for a string pattern

Is there a function to count number of occurrences of a string pattern in string list? Before writing a function, I want to know if there is out-of-the-box functionality to compute number of occurrences of a string pattern in a string list? Thanks,
by makas12
Wed Feb 24, 2016 8:17 am
Forum: Programming
Topic: Get unique strings in a sVector
Replies: 1
Views: 3056

Get unique strings in a sVector

Hello - I am using Eviews 8.1. I have a sVector allSeries and I want to be able to pull unique strings and store it in an another sVector. I wrote this: string comboStr = @wjoin(allSeries) string uniqueList = @wunique(comboStr) svector uniqueSVector = @wsplit(uniqueList) However, I get this error &q...
by makas12
Mon Jul 20, 2015 12:44 pm
Forum: Programming
Topic: collecting fitted values/stats for rolling panel regression
Replies: 9
Views: 23946

Re: collecting fitted values/stats for rolling panel regress

Hello all - any thoughts on this? I cannot figure out how I can pick the last point of a series in a panel and store it in a matrix in a rolling time horizon or an expanding time horizon regression? I can do that for t stats and coefficients with ease using : colplace(statsTstat,eqSolve.@tstats,!i) ...
by makas12
Mon Jul 20, 2015 7:17 am
Forum: Programming
Topic: collecting fitted values/stats for rolling panel regression
Replies: 9
Views: 23946

Re: collecting fitted values/stats for rolling panel regress

Another approach I tried: In my previous post, I changed smpl s1 @last-!numMonths+!horizon @last-!numMonths+!horizon stom(fittedSeries,fittedHolder,s1) to smpl @last-!numMonths+!horizon @last-!numMonths+!horizon colplace(fittedHolder,fittedSeries,!i) But then I get an error - MAtrix size mismatch in...
by makas12
Mon Jul 20, 2015 6:32 am
Forum: Programming
Topic: collecting fitted values/stats for rolling panel regression
Replies: 9
Views: 23946

Re: collecting fitted values/stats for rolling panel regress

Thanks. To get the last element of the fitted series, I have added following code (last three lines below): . . !numMonths = 12 matrix(!numCountries,!numMonths) fittedHolder . . . for !horizon = 1 to !numMonths smpl @first @last-!numMonths+!horizon equation.eqSolve ****** eqSolve.fit fittedSeries sm...
by makas12
Wed Jul 01, 2015 7:48 am
Forum: Programming
Topic: collecting fitted values/stats for rolling panel regression
Replies: 9
Views: 23946

Re: collecting fitted values/stats for rolling panel regress

Gareth - thanks for your response. I can use equation.fit and equation.makeresid function. For each of the cross sections in the panel, I would like to pick the last reading (last fitted value and last residual). I lose ids if I make a matrix out of the series. So, I combine the fitted values and re...
by makas12
Tue Jun 30, 2015 12:09 pm
Forum: Programming
Topic: collecting fitted values/stats for rolling panel regression
Replies: 9
Views: 23946

collecting fitted values/stats for rolling panel regression

I would like to capture fair value and residuals along with various rolling stats - R-squared, t-stats etc. I can create an array to capture stats in a fair value, but I would like to capture a lot of data for each roll including fair value/residuals along with regression stats/coefficients. What is...

Go to advanced search