NGBDistReg | R Documentation |
NGBoost regression distribution object
NGBoost regression distribution object
A NGBDist Class
new()
Initialize the NGBoost distribution object. It is initialize internally.
NGBDistReg$new(x)
x
A python ngboost.distns.distn.Distn.uncensor object
rvs()
Random variates of given type.
NGBDistReg$rvs()
Random variates
pdf()
Probability density function at x of the given RV.
NGBDistReg$pdf(quantiles, ...)
quantiles
The quantiles
...
Ignored
Probability density function evaluated at quantiles
logpdf()
Log of the probability density function at x of the given RV. This uses a more numerically accurate calculation if available.
NGBDistReg$logpdf(quantiles)
quantiles
The quantiles
Log of the probability density function evaluated at quantiles
cdf()
Cumulative distribution function of the given RV.
NGBDistReg$cdf(quantiles)
quantiles
The quantiles
Cumulative distribution function evaluated at quantiles
logcdf()
Log of the cumulative distribution function at x of the given RV.
NGBDistReg$logcdf(quantiles)
quantiles
The quantiles
Log of the cumulative distribution function evaluated at quantiles.
sf()
Survival function (1 - 'cdf') at x of the given RV.
NGBDistReg$sf(quantiles)
quantiles
The quantiles
Survival function evaluated at quantiles
logsf()
Log of the survival function of the given RV.
NGBDistReg$logsf(quantiles)
quantiles
The quantiles
return
Log of the survival function evaluated at quantiles
ppf()
Percent point function (inverse of 'cdf') at q of the given RV.
NGBDistReg$ppf(q, ...)
q
array, Lower tail probability.
...
Other arguments
quantile corresponding to the lower tail probability q
isf()
Inverse survival function (inverse of sf) at q of the given RV.
NGBDistReg$isf(q)
q
array, Lower tail probability.
Quantile corresponding to the upper tail probability, q.
entropy()
Differential entropy.
NGBDistReg$entropy()
Differential entropy
interval()
Confidence interval with equal areas around the median.
NGBDistReg$interval(confidence)
confidence
Probability that an rv will be drawn from the returned
range.
Each value should be in the range 0>= confidence <=1
.
nd-points of range that contain 100 * confidence
of
the rv's possible values.
mean()
Mean of the distribution.
NGBDistReg$mean()
The mean of the distribution
median()
Median of the distribution.
NGBDistReg$median()
The median of the distribution
std()
Standard deviation of the distribution
NGBDistReg$std()
The standard deviation of the distribution
var()
Variance of the distribution.
NGBDistReg$var()
The variance of the distribution.
clone()
The objects of this class are cloneable with this method.
NGBDistReg$clone(deep = FALSE)
deep
Whether to make a deep clone.
Resul Akay
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.