Questions tagged [quantile]

Quantiles are points taken at regular intervals from the cumulative distribution function (CDF) of a random variable.

In scientific software for statistical computing and graphics, the quantile of a numeric vector can be found by function quantile.

755 questions
-2
votes
2 answers

Matrix of booleans based on quantile in R

I have a matrix whose columns are stock returns and whose rows are dates, which looks like this: ES1.Index VG1.Index TY1.Comdty RX1.Comdty GC1.Comdty 1999-01-05 0.009828476 0.012405717 -0.003058466 -0.0003480884…
Danny Zuko
  • 483
  • 4
  • 12
-2
votes
2 answers

How to find quartiles grouped by 2 different columns

I have a dataset that looks like this year month age 2007 1 17 2007 1 18 2007 1 19 2007 1 30 2007 1 31 2007 2 18 2007 2 19 2007 2 30 2008 2 41 2008 2 52 2008 2 49 2008 3 23 2008 3 19 2008 3 …
user1274037
  • 395
  • 1
  • 2
  • 10
-3
votes
1 answer

Java a function for Poisson Distribution to obtain Quantile

A challenge for me is to use Java to obtain Poisson Distribution quantile (an integer). As I am new to Java, I googled a lot and wrote some code, not sure this is correct or not, could someone help me on it? According to Poisson Distribution pdf…
Chenxi
  • 297
  • 1
  • 4
  • 15
-3
votes
1 answer

Explain a snippet of c++ codes

I just started learning "class" and other advanced techniques in C++ in order to understand the following C++ snippet. Please don't down rate the question if you think it's silly because I've searched online before asking! The code implements an…
user39086
  • 175
  • 3
  • 10
-4
votes
1 answer

Calculate statistical parameters (quantile and median) from a serie of ECDF with R

Edit: Okay, sorry i will try to be more clear, I have 50 scenarios (here i create it randomly), and i put it all of this scenarios in a matrix. After i can apply the ecdf function, that give me a list of 50 ecdf. And i want to calculate, from all…
1 2 3
50
51