hello! I have been looking for an easy way to traxsform discrete time series data into binary format, e.g. for the return series
+3%
-1%
-2%
+5%
+1%
I would like to create a series that reflects only the sign of the returns (return<0--> "0", return>0 --> "1")
that would then be the following series in this case:
1
0
0
1
1
is there an easy way to do this?
thanks,
Wolfgang
binary series out of discrete data
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: binary series out of discrete data
Series discrete=return>0
Re: binary series out of discrete data
thanks! now thats what i call easy ;-)
Who is online
Users browsing this forum: No registered users and 2 guests
