Page 2 of 3
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Tue Mar 22, 2016 10:30 am
by ch2324
i would like this
(@expand(@mod(@trend,24)+1)=9 take 1 for 01/05/1973 and 01/05/1974.....etc
(@expand(@mod(@trend,24)+1)=10 take 1 for 16/05/1973 and 01/05/1974...etc
....and so on
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Tue Mar 22, 2016 10:41 am
by EViews Gareth
That's like saying you would like:
@sqrt(9)=4
What you're describing is mathematically impossible. You can't change the definition of mathematical functions.
Again, I think you need to ask yourself whether the order of the dummy variables really matters or not.
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Tue Mar 22, 2016 11:02 am
by ch2324
yes, but for the monthly data it make regular dummy:
1973m5 = @month=5 take 1
1973m6= @month=6 take 1
...etc
why for bimonthly not? s=26 it should start from 5th month ( the 1st bimonthly of May)
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Tue Mar 22, 2016 11:55 am
by ch2324
i hope that you understand me
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Tue Mar 22, 2016 12:11 pm
by EViews Gareth
I understand what you're saying. I'm telling you you are wrong.
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Tue Mar 22, 2016 12:51 pm
by ch2324
i understand the logic of code, many thanks Mr Gareth. :D
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Fri Mar 25, 2016 8:04 am
by ch2324
How can extract all the dummy as series from the show @expand(@mod(@trend,24)+1).
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Fri Mar 25, 2016 8:09 am
by EViews Gareth
Don't understand the question.
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Fri Mar 25, 2016 8:12 am
by ch2324
extract all 24 series dummy from the group g1
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Fri Mar 25, 2016 8:38 am
by EViews Gareth
Extract in to what?
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Fri Mar 25, 2016 8:47 am
by ch2324
to use some of them in regression, every time you will use manually @drop(1) to @drop(10) and some others, can i dropping a sequence?
y @expand(@mod(@trend,24)+1, drop(1)............drop(10))
you understood me.
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Fri Mar 25, 2016 8:51 am
by EViews Gareth
Just use the group. Or if you only want some of them use g1(1) to refer to the first entry in the group etc....
Or if you are only using a couple of them, don't use the @expand at all, but type out the individual expressions in the regression.
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Fri Mar 25, 2016 9:11 am
by ch2324
Great! :D thanks! Mr Gareth.
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Fri Mar 25, 2016 9:32 am
by ch2324
(*) EV 9 Users Guide II, page 29.
Code: Select all
@expand(sex, region, @drop(0,"West"), @drop(1,"North")
add parenthesis at the end of the code
")".
(**) EV 9 Object Ref, adjust table of contents.
(***) EV 9 Help, Statistical Distribution Functions, adjust the right table for some distribution functions.
:)
Re: seas dummy bimonthly s=24, fortnight s=26...
Posted: Tue Apr 12, 2016 12:27 pm
by EViews Rebecca
What specifically do you see wrong with (***)?