R Under development (unstable) (2024-10-01 r87205 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(disaggregation) > > test_check("disaggregation") Fitting model. This may be slow. The data contains 100 polygons and 400 pixels The largest polygon contains 4 pixels and the smallest polygon contains 4 pixels There are 2 covariates Covariate summary: layer1 layer2 Min. :-6.624 Min. :-5.353 1st Qu.: 5.459 1st Qu.: 5.245 Median :10.422 Median :10.184 Mean :10.445 Mean :10.449 3rd Qu.:15.687 3rd Qu.:15.639 Max. :27.074 Max. :25.318 They data contains 100 polygons and 400 pixels The largest polygon contains 4 pixels and the smallest polygon contains 4 pixels There are 2 covariates Likelihood function: poisson Link function: log Model parameters: Estimate Std. Error intercept 4.2117998190 0.29927489 layer1 0.0003111766 0.01862238 layer2 0.0243920892 0.01781718 iideffect_log_tau -0.0530732117 0.14802098 log_sigma -2.4694291003 0.88270825 log_rho 2.7991791297 0.84848107 Model convergence: 0 (relative convergence (4)) Negative log likelihood: -513.626610616458 In sample performance: RMSE MAE pearson spearman log_pearson 1 0.9612894 0.7026072 0.9999986 1 0.9982898 Bayesian disaggregation model result Likelihood function: poisson Link function: log Parameter values: intercept layer1 layer2 iideffect_log_tau 4.2117998190 0.0003111766 0.0243920892 -0.0530732117 log_sigma log_rho -2.4694291003 2.7991791297 Predction from disaggregation model Components of the model: covariates field There are 100 uncertainty realisations The mean predicted values range from 59.2 to 127 The predicted IQR takes values from 33.2 to 201 Predction from disaggregation model Components of the model: covariates field There are 100 uncertainty realisations[ FAIL 0 | WARN 0 | SKIP 0 | PASS 299 ] > > > proc.time() user system elapsed 275.40 5.00 280.31