Package: RcppCensSpatial
Type: Package
Title: Spatial Estimation and Prediction for Censored/Missing Responses
Version: 1.0.0
Authors@R: 
  c(person(given = "Katherine A.",
           family = "L. Valeriano",
           role = c("aut", "cre"),
           email = "katandreina@gmail.com",
           comment = c(ORCID = "0000-0001-6388-4753")),
  person(given = "Christian",
           family = "Galarza Morales",
           role = "ctb",
           email = "cgalarza88@gmail.com",
           comment = c(ORCID = "0000-0002-4818-6006")),
  person(given = "Larissa",
           family = "Avila Matos",
           role = "ctb",
           email = "larissam@unicamp.br",
           comment = c(ORCID = "0000-0002-2635-0901")))
Description: It provides functions for estimating parameters in linear spatial models with censored or missing responses using the Expectation-Maximization (EM), Stochastic Approximation EM (SAEM), and Monte Carlo EM (MCEM) algorithms. These methods are widely used to obtain maximum likelihood (ML) estimates in the presence of incomplete data. The EM algorithm computes ML estimates when a closed-form expression for the conditional expectation of the complete-data log-likelihood is available. The MCEM algorithm replaces this expectation with a Monte Carlo approximation based on independent simulations of the missing data. In contrast, the SAEM algorithm decomposes the E-step into simulation and stochastic approximation steps, improving computational efficiency in complex settings. In addition, the package provides standard error estimation based on the Louis method. It also includes functionality for spatial prediction at new locations. 
  References used for this package: Galarza, C. E., Matos, L. A., Castro, L. M., & Lachos, V. H. (2022). Moments of the doubly truncated selection elliptical distributions with emphasis on the unified multivariate skew-t distribution. Journal of Multivariate Analysis, 189, 104944 <doi:10.1016/j.jmva.2021.104944>; Valeriano, K. A., Galarza, C. E., & Matos, L. A. (2023). Moments and random number generation for the truncated elliptical family of distributions. Statistics and Computing, 33(1), 32 <doi:10.1007/s11222-022-10200-4>.
License: GPL (>= 2)
Encoding: UTF-8
RoxygenNote: 7.3.3
Imports: ggplot2, gridExtra, MomTrunc, mvtnorm, Rcpp, Rdpack,
        relliptical, stats, StempCens
RdMacros: Rdpack
LinkingTo: RcppArmadillo, Rcpp, RcppProgress, roptim
Depends: R (>= 2.10)
LazyData: true
NeedsCompilation: yes
Packaged: 2026-03-31 02:37:22 UTC; 55199
Author: Katherine A. L. Valeriano [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-6388-4753>),
  Christian Galarza Morales [ctb] (ORCID:
    <https://orcid.org/0000-0002-4818-6006>),
  Larissa Avila Matos [ctb] (ORCID:
    <https://orcid.org/0000-0002-2635-0901>)
Maintainer: Katherine A. L. Valeriano <katandreina@gmail.com>
Repository: CRAN
Date/Publication: 2026-03-31 22:40:42 UTC
Built: R 4.6.0; aarch64-apple-darwin23; 2026-04-26 14:44:36 UTC; unix
Archs: RcppCensSpatial.so.dSYM
