Search found 4 matches

by leocaza
Wed Jun 13, 2018 8:55 am
Forum: Programming
Topic: fetching datastream with forecasted data
Replies: 0
Views: 231

fetching datastream with forecasted data

I would like to exclude forecasted data from my fetch formula fetch(d=datastream, link) AUXPPI..F PERIOD : Q1 1980 - Q4 2049 (Forecast from Q2 2018) I would like DYNAMICALLY exclude all forcasted data... ( i dont want to change the sample everytime manually) I dont know how to do that, could you hel...
by leocaza
Wed May 16, 2018 6:06 am
Forum: Programming
Topic: Fama Macbeth Add-in
Replies: 0
Views: 221

Fama Macbeth Add-in

Hi, Why do we need to have as many portfolios as there are list of factors for the add-in to work? What is the mathematical logic? I thought we could test one portfolio / factor at a time with all the FAMA factors as independent variable. fmb(action=new, spoolname=total_result) total* hml mkt smb um...
by leocaza
Tue Mar 20, 2018 10:04 am
Forum: Programming
Topic: @erecode() with <>"something"
Replies: 1
Views: 208

@erecode() with <>"something"

Hi, there is no example of @erecode() in "eviews help".

could you there me how to do @erecode() on a matrix, to recode everything not equal to "X"

@erecode(Matrix, <>0, NA)

... with series, i woulld do @recode(series<>0,NA, series)

Thank you
by leocaza
Wed Dec 20, 2017 4:27 pm
Forum: Programming
Replies: 0
Views: 266


Hi, I am doing an optimization to minimize !y CODE : '*********************************************** '*********************************************** subroutine f(scalar !y, scalar !x) !a=15 !b=40 'Expected return series er_cad_eq15b_cn = log(cad_d_eq15b_cn(-!x)/cad_seop_cn(-!x)) 'Realized return s...

Go to advanced search