Search found 182 matches

by ecofin
Tue Apr 19, 2016 8:51 am
Forum: Programming
Topic: linefit & equation in the spool object
Replies: 13
Views: 3756

Re: linefit & equation in the spool object

no, when i make all in the group i get all varialbles in one graph and all linefit in one graph

Code: Select all

group g1 y x z f h q
g1.scat linefit
by ecofin
Tue Apr 19, 2016 8:41 am
Forum: Programming
Topic: linefit & equation in the spool object
Replies: 13
Views: 3756

Re: linefit & equation in the spool object

g_y_f , g_y_x, ....
by ecofin
Tue Apr 19, 2016 8:34 am
Forum: Programming
Topic: linefit & equation in the spool object
Replies: 13
Views: 3756

Re: linefit & equation in the spool object

i would like to make linefit with y x, y z, y q, y h, y f (y is dependent variable), the problem when i right this code the linefit doesn't appear in the all graph just the scatter.

Code: Select all

graph g_{%iname}_{%jname}.scat{%linefit} {%iname} {%jname}
by ecofin
Tue Apr 19, 2016 7:42 am
Forum: Programming
Topic: linefit & equation in the spool object
Replies: 13
Views: 3756

Re: linefit & equation in the spool object

i have solved my second case but how can make regression line in all graph. could you help me please. group g1 y x z f h q for !i=1 to 1 %iname=g1.@seriesname(!i) for !j=!i+1 to g1.@count %jname=g1.@seriesname(!j) 'generate 5 equation equation eq_{%iname}_{%jname}.ls {%iname} {%jname} ' create 5 gra...
by ecofin
Mon Apr 18, 2016 10:59 am
Forum: Programming
Topic: linefit & equation in the spool object
Replies: 13
Views: 3756

Re: linefit & equation in the spool object

:D 1-but the linefit doesnt appear in the graph :roll: there is a mistake group g1 y x z f h q for !i=1 to 1 %iname=g1.@seriesname(!i) for !j=!i+1 to g1.@count %jname=g1.@seriesname(!j) 'generate 5 equation equation eq_{%iname}_{%jname}.ls {%iname} {%jname} ' create 5 graph with line and save it in ...
by ecofin
Mon Apr 18, 2016 10:44 am
Forum: Programming
Topic: linefit & equation in the spool object
Replies: 13
Views: 3756

linefit & equation in the spool object

hi, i would like to show linefit in the five graph, and store every equation and graph in the spool objects, for example the eq_y_f the fist and g_y_f the second (every eqaution with the graph corresponding) and so on group g1 y x z f h q for !i=1 to 1 %iname=g1.@seriesname(!i) for !j=!i+1 to g1.@co...
by ecofin
Sat Apr 16, 2016 10:30 am
Forum: Data Manipulation
Topic: Exclude Mondays From Sample
Replies: 26
Views: 8987

Re: Exclude Mondays From Sample

Got it!, :)
smpl if @during("1/01/2003 10/6/2003")<>1
thanks for your help.
by ecofin
Sat Apr 16, 2016 9:55 am
Forum: Data Manipulation
Topic: Exclude Mondays From Sample
Replies: 26
Views: 8987

Re: Exclude Mondays From Sample

the value 0.142857 at the last of smpl, or because the frequency weekday cause this, i can solve this by smpl if @date>@dateval("04/06/2003") because i have one interval in the beginning of smpl. but the problem when we have mult interval to exclude from smpl with the weekday frequency :?:...
by ecofin
Sat Apr 16, 2016 9:16 am
Forum: Data Manipulation
Topic: Exclude Mondays From Sample
Replies: 26
Views: 8987

Re: Exclude Mondays From Sample

why i get 121 obs for the weekday.
by ecofin
Sat Apr 16, 2016 7:54 am
Forum: Data Manipulation
Topic: Exclude Mondays From Sample
Replies: 26
Views: 8987

Re: Exclude Mondays From Sample

sorry!, for the weekday doesnt work i have 143 obs range when i use this: smpl if @during(" 1/01/2003 4/6/2003") i get 23 obs (143-23=120), with the code smpl if @during(" 1/01/2003 4/6/2003")<>1 i get 121 obs.
by ecofin
Sat Apr 16, 2016 7:27 am
Forum: Data Manipulation
Topic: Exclude Mondays From Sample
Replies: 26
Views: 8987

Re: Exclude Mondays From Sample

ok, how can exclude interval date from daily and monthly and weekly frequency?
for daily i have used: smpl if @during(" 1/01/2003 6/6/2003")
for monthly: smpl if @during(" 2003m1 2003m6")
for weekly: smpl if @during(" 1/01/2003 4/6/2003")
but all this doesn't work
by ecofin
Sat Apr 16, 2016 6:59 am
Forum: Data Manipulation
Topic: Exclude Mondays From Sample
Replies: 26
Views: 8987

Re: Exclude Mondays From Sample

i have three frequency in the three page, daily 7 day, monthly frequency (2nd page), and weekly in 3rd page.
by ecofin
Sat Apr 16, 2016 4:39 am
Forum: Data Manipulation
Topic: Exclude Mondays From Sample
Replies: 26
Views: 8987

Re: Exclude Mondays From Sample

but when i use smpl if @during(" 2/01/2003 6/6/2003") i get 257 obs, i have 1000 obs in the range it should be 743 obs in smpl
by ecofin
Sat Apr 16, 2016 3:58 am
Forum: Data Manipulation
Topic: Exclude Mondays From Sample
Replies: 26
Views: 8987

Re: Exclude Mondays From Sample

hi,
supose i would excluse an interval date from the range, for example from 2/01/2003 to 6/6/2003, i have use this: smpl if @date<>@during("2/01/2003 6/6/2003") but doesn't work.
by ecofin
Wed Apr 06, 2016 9:48 am
Forum: Data Manipulation
Topic: extract coefs as continues series
Replies: 2
Views: 1763

Re: extract coefs as continues series

:D thank you very much.

Go to advanced search