Package: saeTrafo 1.0.2

Nora Würz

saeTrafo: Transformations for Unit-Level Small Area Models

The aim of this package is to offer new methodology for unit-level small area models under transformations and limited population auxiliary information. In addition to this new methodology, the widely used nested error regression model without transformations (see "An Error-Components Model for Prediction of County Crop Areas Using Survey and Satellite Data" by Battese, Harter and Fuller (1988) <doi:10.1080/01621459.1988.10478561>) and its well-known uncertainty estimate (see "The estimation of the mean squared error of small-area estimators" by Prasad and Rao (1990) <doi:10.1080/01621459.1995.10476570>) are provided. In this package, the log transformation and the data-driven log-shift transformation are provided. If a transformation is selected, an appropriate method is chosen depending on the respective input of the population data: Individual population data (see "Empirical best prediction under a nested error model with log transformation" by Molina and Martín (2018) <doi:10.1214/17-aos1608>) but also aggregated population data (see "Estimating regional income indicators under transformations and access to limited population auxiliary information" by Würz, Schmid and Tzavidis <unpublished>) can be entered. Especially under limited data access, new methodologies are provided in saeTrafo. Several options are available to assess the used model and to judge, present and export its results. For a detailed description of the package and the methods used see the corresponding vignette.

Authors:Nora Würz [aut]

saeTrafo_1.0.2.tar.gz
saeTrafo_1.0.2.zip(r-4.5)saeTrafo_1.0.2.zip(r-4.4)saeTrafo_1.0.2.zip(r-4.3)
saeTrafo_1.0.2.tgz(r-4.4-any)saeTrafo_1.0.2.tgz(r-4.3-any)
saeTrafo_1.0.2.tar.gz(r-4.5-noble)saeTrafo_1.0.2.tar.gz(r-4.4-noble)
saeTrafo_1.0.2.tgz(r-4.4-emscripten)saeTrafo_1.0.2.tgz(r-4.3-emscripten)
saeTrafo.pdf |saeTrafo.html
saeTrafo/json (API)

# Install 'saeTrafo' in R:
install.packages('saeTrafo', repos = c('https://norawuerz.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/norawuerz/saetrafo/issues

Datasets:
  • eusilcA_pop - Simulated eusilc data - population data
  • eusilcA_smp - Simulated eusilc data - sample data
  • pop_area_size - Aggregates from simulated eusilc population data: domain sizes
  • pop_cov - Aggregates from simulated eusilc population data: domain-specific covariances
  • pop_mean - Aggregates from simulated eusilc population data: domain-specific means

On CRAN:

28 exports 1.10 score 108 dependencies 237 downloads

Last updated 4 months agofrom:a8572c0552. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 21 2024
R-4.5-winNOTEAug 21 2024
R-4.5-linuxNOTEAug 21 2024
R-4.4-winNOTEAug 21 2024
R-4.4-macNOTEAug 21 2024
R-4.3-winNOTEAug 21 2024
R-4.3-macNOTEAug 21 2024

Exports:compare_plotcompare_predestimatorsfixed.effectsfixed.effects.NERfixeffixef.NERgetDatagetData.NERgetGroupsgetGroups.NERgetGroupsFormulagetGroupsFormula.NERgetResponsegetResponse.NERgetVarCovgetVarCov.NERintervalsintervals.NERload_shapeaustriamap_plotNER_Traforandom.effectsrandom.effects.NERranefranef.NERwrite.excelwrite.ods

Dependencies:aoosassertthatbackportsBBmiscbootbrewcachemcallrcellrangercheckmateclassclassIntclicolorspacecommonmarkcpp11data.tableDBIdeldirdescdiagonalsdplyre1071emdievaluatefansifarverfastmapformula.toolsfsgenericsggplot2ggrepelgluegridExtragtablehighrHLMdiaghmsinsightisobandjanitorKernSmoothknitrlabelinglatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvmintymodulesmomentsMuMInmunsellnlmeopenxlsxoperator.toolsparallelMappbapplypillarpkgbuildpkgconfigpkgloadplyrprocessxproxypspurrrR6RColorBrewerRcppRcppArmadilloreadODSrematchreshape2rlangroxygen2rprojroots2saeRobustscalessfsfsmiscsnakecasespspDataspdepstringistringrtibbletidyrtidyselecttimechangetzdbunitsutf8vctrsviridisLitewithrwkxfunxml2yamlzip

The R Package saeTrafo for Estimating unit-level Small Area Models under Transformations

Rendered fromvignettesaeTrafo.pdf.asisusingR.rsp::asison Aug 21 2024.

Last update: 2022-05-30
Started: 2022-05-30

Readme and manuals

Help Manual

Help pageTopics
Shows plots for the comparison of estimatescompare_plot compare_plot.NER compare_plots_saeTrafo
Compare predictions of model objectscompare_pred compare_pred.saeTrafo
Presents point, MSE and CV estimatesestimators estimators.saeTrafo
Simulated eusilc data - population dataeusilcA_pop
Simulated eusilc data - sample dataeusilcA_smp
Extract fixed effects from an saeTrafo objectfixed.effects fixed.effects.NER fixef fixef.NER
Extract saeTrafo object datagetData getData.NER
Extract grouping factors from an saeTrafo objectgetGroups getGroups.NER
Extract grouping formula from a saeTrafo objectgetGroupsFormula getGroupsFormula.NER
Extract response variable from an saeTrafo objectgetResponse getResponse.NER
Extract variance-covariance matrix from an saeTrafo objectgetVarCov getVarCov.NER
Confidence intervals on coefficients of an saeTrafo objectintervals intervals.NER
Loading the shape file for Austrian districtsload_shapeaustria
Visualizes regional disaggregated estimates on a mapmap_plot
Nested error regression Model under transformationsNER_Trafo
Plots for an saeTrafo objectplot.saeTrafo
Aggregates from simulated eusilc population data: domain sizespop_area_size
Aggregates from simulated eusilc population data: domain-specific covariancespop_cov
Aggregates from simulated eusilc population data: domain-specific meanspop_mean
Predictions from saeTrafo objectspredict.NER
Quantile-quantile plots for an saeTrafo objectqqnorm.saeTrafo
Extract random effects of saeTrafo objectrandom.effects random.effects.NER ranef ranef.NER
The R Package saeTrafo for Estimating unit-level Small Area Models under TransformationssaeTrafo-package saeTrafo
Fitted saeTrafoObjectsaeTrafoObject
Summarizes an saeTrafo objectsummaries.saeTrafo summary.NER
Exports an saeTrafo Object to an Excel file or OpenDocument Spreadsheetwrite.excel write.ods