Description Usage Arguments Details Value References See Also Examples
Generate random deviates of the number N^{\textrm{MNO, rep}} of individuals according to the MNO according to the original number of individuals N^{\textrm{MNO}} detected by the MNO
1 2 3 |
n |
number of points to generate |
nMNO |
non-negative integer vectors with the number of individuals detected according to the network operator |
nReg |
non-negative integer vectors with the number of individuals detected according to the population register |
fu |
named list with the prior marginal distribution of the parameter |
fv |
named list with the prior marginal distributions of the parameter |
flambda |
named list with the prior distribution of the parameter λ |
relTol |
relative tolerance in the computation of the |
nSim |
number of two-dimensional points to generate to compute the integral. Default value
is |
nStrata |
integer vector of length 3 with the number of strata in each dimension. Default
value is |
verbose |
logical (default |
nThreads |
number (default the number of all cores, including logical cores) to use for computation |
The prior distributions are specified as named lists where the first component of each list must be the name of distribution ('unif', 'triang', 'gamma') and the rest components must be named according to the name of the parameters of the random generator of the corresponding distribution according to:
unif: xMin
, xMax
for the minimum, maximum of the sampled interval.
degen: x0
for the degenerate value of the random variable.
triang: xMin
, xMax
, xMode
for minimum, maximum and mode (see
qtriang
).
gamma: scale
and shape
with the same meaning as in rgamma
.
rMNOrep
returns a data.table with the values of generated points
(column nMNO
) for each value of the parameters u, v, λ together with priors
for the hierarchical model.
https://github.com/MobilePhoneESSnetBigData
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.