ProbDistKernel class

Superclasses: ProbDist

Object representing nonparametric probability distribution defined by kernel smoothing


ProbDistKernel will be removed in a future release. To create and fit probability distribution objects, use makedist and fitdist instead.


ProbDistKernel is an abstract class defining the properties and methods of a nonparametric distribution defined by a kernel smoothing function.


ProbDistKernel is an abstract class. You cannot create instances of this class directly. You can construct an object in a subclass, ProbDistUnivKernel by calling the subclass constructor, ProbDistUnivKernel.


cdfReturn cumulative distribution function (CDF) for ProbDist object
pdfReturn probability density function (PDF) for ProbDist object
randomGenerate random number drawn from ProbDist object

    Note:   The above methods are inherited from the ProbDist class.


BandWidthRead-only value specifying bandwidth of kernel smoothing function for ProbDistKernel object
DistNameRead-only string containing probability distribution name of ProbDist object
InputDataRead-only structure containing information about input data to ProbDist object
KernelRead-only string specifying name of kernel smoothing function for ProbDistKernel object
SupportRead-only structure containing information about support of ProbDist object

    Note:   Some of the above properties are inherited from the ProbDist class.

Copy Semantics

Value. To learn how this affects your use of the class, see Copying Objects in the MATLAB® Programming Fundamentals documentation.

Was this topic helpful?