Calculating conditional mean
Posted: Wed Nov 16, 2011 7:26 am
Hi;
I want to calculate a conditional mean of a series, however i am new to Eviews proigraming. i have ordered observations from largest to smallest. what i want to do is to calculate the mean of all the observations that are smaller than a particular value x.
given a series y, i want to find the mean(y|y<x)
your help will be very much appreciated.
Thanks
Alexy.
I want to calculate a conditional mean of a series, however i am new to Eviews proigraming. i have ordered observations from largest to smallest. what i want to do is to calculate the mean of all the observations that are smaller than a particular value x.
given a series y, i want to find the mean(y|y<x)
your help will be very much appreciated.
Thanks
Alexy.