# Bayesian Estimation and Forecasting of Age-Specific Rates

## Documentation for package ‘bage’ version 0.10.8

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A C D F G H I K L M N P R S T U W

## -- A --

AR | Autoregressive Prior
AR1 | Autoregressive Prior of Order 1
augment.bage_mod | Extract Data and Modeled Values

## -- C --

components.bage_mod | Extract Values for Hyper-Parameters
components.bage_ssvd | Extract Components used by SVD Summary
computations | Information on Computations Performed During Model Fitting
confidential | Confidentialization
CSA | Scaled SVD Components from Census School Attendance Data

## -- D --

datamods | Data Models
datasets | Datasets
data_wmd | Data to Create Scaled SVD Object Based on World Marriage Database
dispersion | Extract Values for Dispersion
DRW | Damped Random Walk Prior
DRW2 | Damped Second-Order Random Walk Prior

## -- F --

fit.bage_mod | Fit a Model
forecast.bage_mod | Use a Model to Make a Forecast

## -- G --

generate.bage_prior_ar | Generate Values from Priors
generate.bage_prior_drw2random | Generate Values from Priors
generate.bage_prior_drw2zero | Generate Values from Priors
generate.bage_prior_drwrandom | Generate Values from Priors
generate.bage_prior_drwzero | Generate Values from Priors
generate.bage_prior_known | Generate Values from Priors
generate.bage_prior_lin | Generate Values from Priors
generate.bage_prior_linar | Generate Values from Priors
generate.bage_prior_linex | Generate Values from Priors
generate.bage_prior_norm | Generate Values from Priors
generate.bage_prior_normfixed | Generate Values from Priors
generate.bage_prior_rw2random | Generate Values from Priors
generate.bage_prior_rw2randomseasfix | Generate Values from Priors
generate.bage_prior_rw2randomseasvary | Generate Values from Priors
generate.bage_prior_rw2zero | Generate Values from Priors
generate.bage_prior_rw2zeroseasfix | Generate Values from Priors
generate.bage_prior_rw2zeroseasvary | Generate Values from Priors
generate.bage_prior_rwrandom | Generate Values from Priors
generate.bage_prior_rwrandomseasfix | Generate Values from Priors
generate.bage_prior_rwrandomseasvary | Generate Values from Priors
generate.bage_prior_rwzero | Generate Values from Priors
generate.bage_prior_rwzeroseasfix | Generate Values from Priors
generate.bage_prior_rwzeroseasvary | Generate Values from Priors
generate.bage_prior_spline | Generate Values from Priors
generate.bage_prior_svd | Generate Values from Priors
generate.bage_prior_svd_ar | Generate Values from Priors
generate.bage_prior_svd_drw2random | Generate Values from Priors
generate.bage_prior_svd_drw2zero | Generate Values from Priors
generate.bage_prior_svd_drwrandom | Generate Values from Priors
generate.bage_prior_svd_drwzero | Generate Values from Priors
generate.bage_prior_svd_lin | Generate Values from Priors
generate.bage_prior_svd_linex | Generate Values from Priors
generate.bage_prior_svd_rw2random | Generate Values from Priors
generate.bage_prior_svd_rw2zero | Generate Values from Priors
generate.bage_prior_svd_rwrandom | Generate Values from Priors
generate.bage_prior_svd_rwzero | Generate Values from Priors
generate.bage_ssvd | Generate Random Age or Age-Sex Profiles

## -- H --

HFD | Scaled SVD Components from Human Fertility Database
HIMD_P1 | Scaled SVD Components from Human Internal Migration Database
HIMD_P5 | Scaled SVD Components from Human Internal Migration Database
HIMD_R | Scaled SVD Components from Human Internal Migration Database
HMD | Scaled SVD Components from Human Mortality Database

## -- I --

isl_deaths | Deaths in Iceland
is_fitted | Test Whether a Model has Been Fitted

## -- K --

Known | Known Prior
kor_births | Births in South Korea

## -- L --

LFP | Scaled SVD Components from OECD Labor Force Participation Data
Lin | Linear Prior with Independent Normal Errors
Lin_AR | Linear Prior with Autoregressive Errors
Lin_AR1 | Linear Prior with Autoregressive Errors of Order 1

## -- M --

mod_binom | Specify a Binomial Model
mod_norm | Specify a Normal Model
mod_pois | Specify a Poisson Model

## -- N --

N | Normal Prior
NFix | Normal Prior with Fixed Variance
nld_expenditure | Per Capita Health Expenditure in the Netherlands, 2003-2011
nzl_divorces | Divorces in New Zealand
nzl_households | People in One-Person Households in New Zealand
nzl_injuries | Fatal Injuries in New Zealand
n_draw.bage_mod | Get the Number of Draws for a Model Object

## -- P --

print.bage_mod | Printing a Model
priors | Priors for Intercept, Main Effects, Interactions
prt_deaths | Deaths in Portugal

## -- R --

replicate_data | Create Replicate Data
report_sim | Simulation Study of a Model
RW | Random Walk Prior
RW2 | Second-Order Random Walk Prior
RW2_Infant | Second-Order Random Walk Prior with 'Infant' Indicator
RW2_Seas | Second-Order Random Walk Prior with Seasonal Effect
RW_Seas | Random Walk Prior with Seasonal Effect

## -- S --

set_confidential_rr3 | Specify RR3 Confidentialization
set_covariates | Specify Covariates
set_datamod_exposure | Specify Exposure Data Model
set_datamod_miscount | Specify Miscount Data Model
set_datamod_noise | Specify Noise Data Model
set_datamod_outcome_rr3 | Specify RR3 Data Model
set_datamod_overcount | Specify Overcount Data Model
set_datamod_undercount | Specify Undercount Data Model
set_disp | Specify Prior for Dispersion or Standard Deviation
set_n_draw | Specify Number of Draws from Prior or Posterior Distribution
set_prior | Specify Prior for Model Term
set_seeds | Reset Random Seeds in Model Object
set_var_age | Specify Age Variable
set_var_sexgender | Specify Sex or Gender Variable
set_var_time | Specify Time Variable
Sp | P-Spline Prior
ssvd | Create Object to Hold Data from a Scaled SVD
SVD | SVD-Based Prior for Age or Age-Sex Profiles
svds | Scaled SVDs
SVD_AR | Dynamic SVD-Based Priors for Age Profiles or Age-Sex Profiles
SVD_AR1 | Dynamic SVD-Based Priors for Age Profiles or Age-Sex Profiles
SVD_DRW | Dynamic SVD-Based Priors for Age Profiles or Age-Sex Profiles
SVD_DRW2 | Dynamic SVD-Based Priors for Age Profiles or Age-Sex Profiles
SVD_Lin | Dynamic SVD-Based Priors for Age Profiles or Age-Sex Profiles
SVD_RW | Dynamic SVD-Based Priors for Age Profiles or Age-Sex Profiles
SVD_RW2 | Dynamic SVD-Based Priors for Age Profiles or Age-Sex Profiles
swe_infant | Infant Mortality in Sweden

## -- T --

tidy.bage_mod | Summarize Terms from a Fitted Model

## -- U --

unfit | Unfit a Model
usa_deaths | Accidental Deaths in the USA

## -- W --

WMD_C | Scaled SVD Components from World Marriage Database
WMD_E | Scaled SVD Components from World Marriage Database