seas dummy bimonthly s=24, fortnight s=26...

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

ch2324
Posts: 133
Joined: Fri May 10, 2013 10:52 am

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby ch2324 » Tue Mar 22, 2016 10:30 am

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

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby EViews Gareth » Tue Mar 22, 2016 10:41 am

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.

ch2324
Posts: 133
Joined: Fri May 10, 2013 10:52 am

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby ch2324 » Tue Mar 22, 2016 11:02 am

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)

ch2324
Posts: 133
Joined: Fri May 10, 2013 10:52 am

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby ch2324 » Tue Mar 22, 2016 11:55 am

i hope that you understand me
Attachments
22-03-2016 19-25-22.png
22-03-2016 19-25-22.png (135.23 KiB) Viewed 12723 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby EViews Gareth » Tue Mar 22, 2016 12:11 pm

I understand what you're saying. I'm telling you you are wrong.

ch2324
Posts: 133
Joined: Fri May 10, 2013 10:52 am

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby ch2324 » Tue Mar 22, 2016 12:51 pm

i understand the logic of code, many thanks Mr Gareth. :D

ch2324
Posts: 133
Joined: Fri May 10, 2013 10:52 am

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby ch2324 » Fri Mar 25, 2016 8:04 am

How can extract all the dummy as series from the show @expand(@mod(@trend,24)+1).
Last edited by ch2324 on Fri Mar 25, 2016 8:19 am, edited 1 time in total.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby EViews Gareth » Fri Mar 25, 2016 8:09 am

Don't understand the question.

ch2324
Posts: 133
Joined: Fri May 10, 2013 10:52 am

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby ch2324 » Fri Mar 25, 2016 8:12 am

extract all 24 series dummy from the group g1

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby EViews Gareth » Fri Mar 25, 2016 8:38 am

Extract in to what?

ch2324
Posts: 133
Joined: Fri May 10, 2013 10:52 am

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby ch2324 » Fri Mar 25, 2016 8:47 am

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)) :cry:
you understood me.
Last edited by ch2324 on Fri Mar 25, 2016 9:26 am, edited 2 times in total.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby EViews Gareth » Fri Mar 25, 2016 8:51 am

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.

ch2324
Posts: 133
Joined: Fri May 10, 2013 10:52 am

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby ch2324 » Fri Mar 25, 2016 9:11 am

Great! :D thanks! Mr Gareth.

ch2324
Posts: 133
Joined: Fri May 10, 2013 10:52 am

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby ch2324 » Fri Mar 25, 2016 9:32 am

(*) 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.
:)

EViews Rebecca
EViews Developer
Posts: 113
Joined: Thu Apr 18, 2013 8:37 am

Re: seas dummy bimonthly s=24, fortnight s=26...

Postby EViews Rebecca » Tue Apr 12, 2016 12:27 pm

What specifically do you see wrong with (***)?


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests