Skip to contents
  • get_true_values() returns the true values of the freely estimated theta values in this order: \(\lambda\) (loadings), \(\rho\) (factor correlations), \(\tau\) (thresholds).

  • get_theoretical_uni_bi_moments() returns the univariate (pidot1) and bivariate (pidot2) theoretical probabilities of successes.

Usage

get_true_values(model_no, arrange = c("lambda", "rho", "tau"))

get_theoretical_uni_bi_moments(model_no, collapse = FALSE)

Arguments

model_no

(integer) Choose from 1–5. See pkgdown articles for details.

arrange

How should the true values be arranged? By default it is in the order of loadings, factor correlations, and thresholds.

collapse

(logical) Should a vector be returned instead of a list separating the univariate and bivariate quantities?

Value

A vector of true parameter values used for the simulations.

Examples

get_true_values(1)
#> lambda1 lambda2 lambda3 lambda4 lambda5    tau1    tau2    tau3    tau4    tau5 
#>    0.80    0.70    0.47    0.38    0.34   -1.43   -0.55   -0.13   -0.72   -1.13 
get_theoretical_uni_bi_moments(1)
#> $pidot1
#> [1] 0.9236415 0.7088403 0.5517168 0.7642375 0.8707619
#> 
#> $pidot2
#>  [1] 0.6874899 0.5311301 0.7213463 0.8143565 0.4368475 0.5714570 0.6356945
#>  [8] 0.4436331 0.4938743 0.6742887
#>