Search found 172 matches

by miorinnovo
Fri Jun 21, 2019 11:32 am
Forum: Programming
Topic: Naming variable question
Replies: 12
Views: 288

Re: Naming variable question

That seems entirely unrelated to your original question, which was about naming series? Not at all. My original question was about naming the series something different depending on how much data there is in order to separate the 0th months, first months and second months in order to calculate the ...
by miorinnovo
Fri Jun 21, 2019 8:56 am
Forum: Programming
Topic: Naming variable question
Replies: 12
Views: 288

Re: Naming variable question

Yes of course. I want to write a program with a simple model y= c+Bx. My y is quarterly and my x is monthly. Lets say I have data for January 2019 for x. I want to fill in February and March in some way in order to have a full Q1 that can be used to forecast my y. I also want to be able to do this w...
by miorinnovo
Thu Jun 20, 2019 11:09 am
Forum: Programming
Topic: Naming variable question
Replies: 12
Views: 288

Re: Naming variable question

I dont understand what that answer does. I tried plugging it in and it just gives me a copy of the same series

!q = @mod(@datepart(@dateval(@word(@pagesmpl, 2)), "mm") - 1, 3) + 1
series x_!q = ...
by miorinnovo
Wed Jun 19, 2019 1:09 pm
Forum: Programming
Topic: Naming variable question
Replies: 12
Views: 288

Re: Naming variable question

I'm not sure thats working, but thinking about it its not a good solution anyway because the forecasted variable is quarterly, so I need to have a forecast for each month of the quarter in quarter frequency. In other words, I'm back to needing to be able to name my forecasted variable something diff...
by miorinnovo
Wed Jun 19, 2019 12:06 pm
Forum: Programming
Topic: Naming variable question
Replies: 12
Views: 288

Re: Naming variable question

Yes this would be good. I suppose I could just create a sample for all first months, second months and third months. like this:

sample firstmonths = 2010m1 2010m4 2010m7 2010m10 2011m1 etc...

unless theres a quicker way?
by miorinnovo
Wed Jun 19, 2019 10:25 am
Forum: Programming
Topic: Naming variable question
Replies: 12
Views: 288

Re: Naming variable question

Thanks Matt. I think your solution would work in the case of doing them all at once. What I'm looking to do is find the rmse of a model with mixed frequencies. So I thought I could create different variables for the forecast depending on how many months are known as the forecasts are made in an expa...
by miorinnovo
Tue Jun 18, 2019 12:46 pm
Forum: Programming
Topic: Naming variable question
Replies: 12
Views: 288

Naming variable question

Hi, Is there a way to name a variable something different depending on when the sample ends? I have an expanding sample and I'd like to rename my variable some thing based on what month it is relative to the quarter. So all Januarys, Aprils, Julys and Octobers would be X_1 because they are the first...
by miorinnovo
Mon Jun 17, 2019 11:46 am
Forum: Programming
Topic: Programming a pseudo out of sample test with mixed frequencies
Replies: 4
Views: 124

Re: Programming a pseudo out of sample test with mixed frequencies

I'm not sure this is what I'm looking for. Essentially I just want to know how to calculate the rmse for different time horizons where those time horizons reflect how many months of data I have. SO for my x, I would extend the series by using a moving average to the end of a quarter whenever there i...
by miorinnovo
Mon Jun 17, 2019 8:13 am
Forum: Programming
Topic: Programming a pseudo out of sample test with mixed frequencies
Replies: 4
Views: 124

Re: Programming a pseudo out of sample test with mixed frequencies

EViews Gareth wrote:Yes.


Great. Could you direct me to some information on how to do it?
by miorinnovo
Mon Jun 17, 2019 7:06 am
Forum: Programming
Topic: Programming a pseudo out of sample test with mixed frequencies
Replies: 4
Views: 124

Programming a pseudo out of sample test with mixed frequencies

Is it possible to run a program that will calculate the rmse for a quarterly model with a monthly independent variable after each month of data is received. In other words. I have a simple quarterly model with one independent variable which is actually a monthly frequency converted to quarterly. I k...
by miorinnovo
Thu Jun 06, 2019 10:55 am
Forum: Programming
Topic: Programming a word document or pdf
Replies: 2
Views: 144

Re: Programming a word document or pdf

Thanks Gareth.
by miorinnovo
Thu Jun 06, 2019 5:49 am
Forum: Programming
Topic: Programming a word document or pdf
Replies: 2
Views: 144

Programming a word document or pdf

Is there a clean way to program a combination objects in a word document or pdf. For example a few lines of text with a reference a recent data point ( e.g. last month sales grew [insert data point here]%, followed by a graph and some estimation results?
by miorinnovo
Wed May 29, 2019 10:25 am
Forum: Programming
Topic: Looping an equitation with different variables
Replies: 2
Views: 105

Looping an equitation with different variables

I'd like to create a number of series from the same equation with a number of different independent variables. For example y=0.5*x, but where I change what x is a number of times. I'm not quite getting the loop right. I tried:l for %var {%var_list} %v1="firstvariable" %v2="secondvaria...
by miorinnovo
Wed May 29, 2019 8:03 am
Forum: Programming
Topic: Manual entry of coefficients
Replies: 6
Views: 309

Re: Manual entry of coefficients

Of course.so simple. thanks

Go to advanced search