View source: R/intData_utils.r
| meanU2 | R Documentation |
Obtain the mean of the square of the latent variables inherent to the macrodata.
meanU2(
LatentDist = c("Unif", "Triang", "TNorm", "InvTri", "Beta", "KDE", "Degenerated"),
TriangParam = 0,
BetaParam.a = 1,
BetaParam.b = 1,
Umicro = NULL,
p = NULL
)
LatentDist |
A string or vector of strings specifying the distribution(s) of the latent variables. If the variables are identically distributed it can be one of ( |
TriangParam |
Mode of the triangular distribution. If the latent variables are identically distributed, it is only necessary to provide a number, if not a vector is needed.
The default is |
BetaParam.a |
Parameter alpha of the Beta distribution. If the latent variables are identically distributed, it is only necessary to provide a number, if not a vector is needed.
The default is |
BetaParam.b |
Parameter beta of the Beta distribution. If the latent variables are identically distributed, it is only necessary to provide a number, if not a vector is needed.
The default is |
Umicro |
Latent microdata observations. Needed if |
p |
Number of variables. |
Either a diagonal matrix with the mean of the square of each variable or a value if the variables are identically distributed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.