Products & Services Industries Academia Support User Community Company

Learn more about Statistics Toolbox   

boundary - Class: piecewisedistribution

Piecewise distribution boundaries

Syntax

[p,q] = boundary(obj)
[p,q] = boundary(obj,i)

Description

[p,q] = boundary(obj) returns the boundary points between segments of the piecewise distribution object obj. p is a vector of cumulative probabilities at each boundary. q is a vector of quantiles at each boundary.

[p,q] = boundary(obj,i) returns p and q for the ith boundary.

Examples

Fit Pareto tails to a t distribution at cumulative probabilities 0.1 and 0.9:

t = trnd(3,100,1);
obj = paretotails(t,0.1,0.9);
[p,q] = boundary(obj)
p =
    0.1000
    0.9000
q =
   -1.7766
    1.8432

See Also

paretotails, cdf, icdf, nsegments

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS