Description Usage Arguments Value See Also
randwtgen
returns a function wchich produces random samples with the
distribution of a prescribed mixture component. The distribution is estimated
by a weighted sample.
1 | randwtgen(xs)
|
xs |
object from class |
a function f(m,n,delta)
.
The function generates a sample of size n
with the distribution
of the m
-th component of the mixture. delta
is the blurring
parameter.
If delta=0
the generated sample contains values from
xs$x0
sampled with probabilities given by the m
-th
column of xs$indiv
.
If delta>0
a random variable uniform on [-delta
,delta
]
is added to each sampled value.
The default value of delta
is a half of the minimal distance
between xs$x0
points.
Maiboroda R., Sugakova O. "Statistics of mixtures with varying concentrations with application to DNA microarray data analysis". Nonparametric statistics (2012) v.24:1, p. 201 - 215.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.