Hi,
1/how can replicate odd and even numbers: like this 0 2 4 6, 0 2 4 6..., same for odd numbers.
series oddn=@trend+1+@trend
series evn=@trend+1+@trend+1
2/i have workfile undated, i would like to generate series named tends like this: 1 1 1, 2 2 2, 3 3 3...etc.
any help.
replicate numbers
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: replicate numbers
You seem to have answered the first one yourself (although you should learn how to multiply ).
@floor(@trend/3+1)
@floor(@trend/3+1)
Follow us on Twitter @IHSEViews
Re: replicate numbers
Luckily , you are always there to enlighten us. thank you so much.
question: how can add citation below my user name?
Code: Select all
series oddn=2*@trend+1
series evn=2*@trend
series repodd=@mod(2*@trend+1,8)
series repevn=@mod(2*@trend,8)
question: how can add citation below my user name?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
-
- Posts: 1
- Joined: Wed Jun 07, 2017 6:22 am
Re: replicate numbers
EViews Gareth wrote:You seem to have answered the first one yourself Prêt bancaire
(although you should learn how to multiply ).
@floor(@trend/3+1)
Merci beaucoup de nous avoir apporté ces compléments d'informations.
Return to “General Information and Tips and Tricks”
Who is online
Users browsing this forum: No registered users and 21 guests