conditionalSECdistr | R Documentation |
For a multivariate (extended) skew-normal distribution, compute its conditional distribution for given values of some of its components.
conditionalSECdistr(object, fixed.comp, fixed.values, name, drop = TRUE)
object |
an object of class |
fixed.comp |
a vector containing a subset of |
fixed.values |
a numeric vector of values taken on by the components
|
name |
an optional character string with the name of the outcome distribution; if missing, one such string is constructed. |
drop |
logical (default= |
For background information, see Section 5.3.2 of the reference below.
an object of class SECdistrMv
, except in the case when
drop=TRUE
operates, leading to an object of class
SECdistrUv-class
.
Azzalini, A. and Capitanio, A. (2014). The Skew-normal and Related Families. Cambridge University Press, IMS Monographs series.
makeSECdistr
, SECdistrMv-class
,
affineTransSECdistr
Omega <- diag(3) + outer(1:3,1:3)
sn <- makeSECdistr(dp=list(xi=rep(0,3), Omega=Omega, alpha=1:3), family="SN")
esn <- conditionalSECdistr(sn, fixed.comp=2, fixed.values=1.5)
show(esn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.