Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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
Was this topic helpful?