Skip to content

RcppCensSpatial

Spatial Estimation and Prediction for Censored/Missing Responses

v1.0.0 · Mar 31, 2026 · GPL (>= 2)

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>.

Downloads

534

Last 30 days

7394th

1.5K

Last 90 days

1.6K

Last year

Trend: +1.5% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

C++ specification

Specified C++11: please drop specification unless essential
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.9Mb
  sub-directories of 1Mb or more:
    libs   7.7Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/RcppCensSpatial.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

C++ specification

Specified C++11: please drop specification unless essential
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.9Mb
  sub-directories of 1Mb or more:
    libs   7.7Mb
NOTE 10 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026
NOTE r-oldrel-macos-arm64

C++ specification

Specified C++11: please drop specification unless essential
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.9Mb
  sub-directories of 1Mb or more:
    libs   7.7Mb
ERROR 9 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 9, 2026
ERROR r-devel-linux-x86_64-debian-gcc

whether package can be installed

Installation failed.
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/RcppCensSpatial.Rcheck/00install.out’ for details.
NOTE r-oldrel-macos-arm64

C++ specification

Specified C++11: please drop specification unless essential
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.9Mb
  sub-directories of 1Mb or more:
    libs   7.7Mb
NOTE 6 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 1, 2026
NOTE r-oldrel-macos-arm64

C++ specification

Specified C++11: please drop specification unless essential
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.9Mb
  sub-directories of 1Mb or more:
    libs   7.7Mb

Dependency Network

Dependencies Reverse dependencies ggplot2 gridExtra MomTrunc mvtnorm Rcpp Rdpack relliptical StempCens RcppCensSpatial

Version History

3 tracked
new 1.0.0 Mar 31, 2026
update 0.3.0 ← 0.1.0 diff Jun 26, 2022
new 0.1.0 Sep 20, 2021