Description Usage Arguments Details Value Note Author(s) References See Also Examples
Compare estimated parameters and the original parameters used to generate the toydata.
1 | compare.estimate.and.truth(res, toy)
|
res |
DependencyModel object. |
toy |
Toydata which was used to learn the model. |
Given original data (including the original parameters) and model learned based on the data, compare the learned parameters to the original ones.
Vector with following elements
wtw.x, wtw.y |
Correlation between the original and estimated values for W*t(W) for X and Y, respectively. |
phi.x, phi.y |
Correlation between the original and estimated values for phi for X and Y, respectively. |
Additional tests added later.
Leo Lahti leo.lahti@iki.fi
See citation("dmt") for references.
1 2 3 4 5 6 7 8 9 10 11 12 |
# toy <- generate.toydata(N = N,
# zDim = zdim, xDim = xdim, yDim = ydim,
# marginal.covariances = marginalCovariances,
# priors = priors)
# res <- fit.dependency.model(toy$X, toy$Y,
# zDimension = zdim,
# marginalCovariances = marginalCovariances,
# priors = priors,
# matched = FALSE)
# vec <- compare.estimate.and.truth(res, toy)
#
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.