-9018.631165000001
-4107.883231
-2741.856
-1977.900775
-1363.424099
-695.0278893
-366.0882408
-258.1590605
-5.82e-11
-5.82e-11
-5.82e-11
-5.82e-11
-5.82e-11
-5.82e-11
-5.82e-11
-5.82e-11
-2.91e-11
-2.91e-11
-2.91e-11
-2.91e-11
-2.91e-11
-2.91e-11
-2.91e-11
According to function @quantile(xxx , 0.02 , "g"), why can't I calculate 2nd percentile of above data?
And why option of this function can't change the result in any rank?
problem with quantile function
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13605
- Joined: Tue Sep 16, 2008 5:38 pm
Re: problem with quantile function
What do you mean you can't calculate it? I just tried it on that data, and it returned a result.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: problem with quantile function
When I try it I get all NA. Could this have to do with asking for the second percentile with only 3 obs?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13605
- Joined: Tue Sep 16, 2008 5:38 pm
Re: problem with quantile function
Ah, it seems to depend on whether you use it as a series or a scalar expression. Scalar seems to work. I'll take a look at why series is not.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13605
- Joined: Tue Sep 16, 2008 5:38 pm
Re: problem with quantile function
Ok, there was a bug in the series version of @quantile that meant that the "g" option wasn't being recognised. We'll fix that in the next patch. In the meantime you can change your code to be:
where the "6" is a magic option that means "gumbel", and it works without the fix.
Code: Select all
@quantile(xxx , 0.02 , 6)
-
tospol.kaw
- Posts: 2
- Joined: Mon May 21, 2012 1:52 am
Re: problem with quantile function
Thanks a lot.
Who is online
Users browsing this forum: No registered users and 2 guests
