Package: MultiLevelOptimalBayes
Type: Package
Title: Regularized Bayesian Estimator for Two-Level Latent Variable
        Models
Version: 0.0.4.0
Authors@R: c(person("Valerii", "Dashuk", role = c("aut", "cre"), email = "vadashuk@gmail.com"),
	person("Binayak", "Timilsina", role = "aut", email = "binayak.timilsina001@gmail.com"),
	person("Martin", "Hecht", role = "aut", email = "martin.hecht@hsu-hh.de"),
	person("Steffen", "Zitzmann", role = "aut", email = "steffen.zitzmann@medicalschool-hamburg.de")
	)
Author: Valerii Dashuk [aut, cre],
  Binayak Timilsina [aut],
  Martin Hecht [aut],
  Steffen Zitzmann [aut]
Maintainer: Valerii Dashuk <vadashuk@gmail.com>
Description: Implements a regularized Bayesian estimator that optimizes the estimation
 of between-group coefficients for multilevel latent variable models by minimizing
 mean squared error (MSE) and balancing variance and bias. The package provides more reliable
 estimates in scenarios with limited data, offering a robust solution for accurate
 parameter estimation in two-level latent variable models. It is designed for
 researchers in psychology, education, and related fields who face challenges in
 estimating between-group effects under small sample sizes and low intraclass
 correlation coefficients. The package includes comprehensive S3 methods for result
 objects: print(), summary(), coef(), se(), vcov(), confint(), as.data.frame(),
 dim(), length(), names(), and update() for enhanced usability and integration
 with standard R workflows. Dashuk et al. (2025a) <doi:10.1017/psy.2025.10045>
 derived the optimal regularized Bayesian estimator;
 Dashuk et al. (2025b) <doi:10.1007/s41237-025-00264-7> extended it to 
 the multivariate case; and Luedtke et al. (2008) <doi:10.1037/a0012869>
 formalized the two-level latent variable framework.
Imports: pracma
License: GPL-3
Depends: R (>= 4.1.0)
Encoding: UTF-8
RoxygenNote: 7.3.2
Suggests: knitr, rmarkdown, testthat (>= 3.0.0)
Config/testthat/edition: 3
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2025-09-23 11:56:39 UTC; valerii.dashuk
Repository: CRAN
Date/Publication: 2025-09-23 12:30:02 UTC
Built: R 4.6.0; ; 2026-04-25 20:38:55 UTC; unix
