184 fY0[i] = x[index[i]];
227 prob[k-1] = (k-0.375)/(
fNpoints+0.25);
253 fX[i] = (1-pfrac)*
fY0[pint]+pfrac*
fY0[pint+1];
void MakeQuantiles()
When sample sizes are not equal, computes quantiles of the bigger sample by linear interpolation...
Int_t fNpoints
Current dimension of arrays fX and fY.
virtual const char * GetTitle() const
Returns title of object.
virtual Int_t GetQuantiles(Int_t nprobSum, Double_t *q, const Double_t *probSum)
Compute Quantiles for density distribution of this function.
void SetFunction(TF1 *f)
Sets the theoretical distribution function (density!) and computes its quantiles. ...
Double_t NormQuantile(Double_t p)
Computes quantiles for standard normal distribution N(0, 1) at probability p ALGORITHM AS241 APPL...
void MakeFunctionQuantiles()
Computes quantiles of theoretical distribution function.
Int_t FloorNint(Double_t x)
This class allows to draw quantile-quantile plots.
void Quantiles(Int_t n, Int_t nprob, Double_t *x, Double_t *quantiles, Double_t *prob, Bool_t isSorted=kTRUE, Int_t *index=0, Int_t type=7)
Computes sample quantiles, corresponding to the given probabilities Parameters: x -the data sample n ...
void Sort(Index n, const Element *a, Index *index, Bool_t down=kTRUE)
Bool_t CtorAllocate()
In constructors set fNpoints than call this method.
virtual ~TGraphQQ()
Destroys a TGraphQQ.
Short_t Max(Short_t a, Short_t b)
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
A Graph is a graphics object made of two arrays X and Y with npoints each.
void Quartiles()
compute quartiles a quartile is a 25 per cent or 75 per cent quantile
TF1 * fF
second dataset, if specified