Hello,
I have imported data from excel, 1 column corresponding to some daily returns, and 5 other colums corresponding to dummy (1 or 0) corresponding to the day of the week of the daily return
I could get the Histogram and stats of whole daily return (using the menu Quick>Serie Statistic>Histogram and stats...) but now I would like to get the histogram and stat particular of each day of the week.
How could I do? Putting conditions like "get Histogram and stats if Day1(i)=1" ?
Thank you for your help!!!
Histogram and stats [with condition]
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Histogram and stats [with condition]
Set the sample to be "if day=1" or something similar.
Re: Histogram and stats [with condition]
thank you for your reply,
How should i write the line code in the console, when I go through Quick>Histo and stats, it just ask me for the serie's name?
How should i write the line code in the console, when I go through Quick>Histo and stats, it just ask me for the serie's name?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Histogram and stats [with condition]
Code: Select all
smpl if day=1
Re: Histogram and stats [with condition]
it seems to be working thank you!! :)
Who is online
Users browsing this forum: No registered users and 2 guests
