Hello
I need a series or vector with the median values for lots of series-objects. Is there a function to calculate the row-wise median in a group? Or a function to calculate the median for each column in a matrix? I only found this kind of functions for the mean.
Thank you!
row-wise median for group
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: row-wise median for group
Unfortunately there isn't. It is on our list of things to add.
Until then, all you can do is convert the group into a matrix (stom), then extract the rows one at a time (@rowextract) and calculate the median of each row vector.
Until then, all you can do is convert the group into a matrix (stom), then extract the rows one at a time (@rowextract) and calculate the median of each row vector.
Who is online
Users browsing this forum: No registered users and 2 guests
