predictAccount: Use results from function estimateAccount to make...

View source: R/estimate-functions.R

predictAccountR Documentation

Use results from function estimateAccount to make predictions.

Description

Not written yet.

Usage

predictAccount(
  filenameEst,
  filenamePred,
  along = NULL,
  labels = NULL,
  n = NULL,
  data = NULL,
  aggregate = NULL,
  lower = NULL,
  upper = NULL,
  nBurnin = 0L,
  parallel = TRUE,
  outfile = NULL,
  verbose = FALSE,
  useC = TRUE
)

Arguments

filenameEst

Filename used to estimateModel.

filenamePred

Filename to be used by predictModel.

along

Name or index along which prediction should occur.

labels

Labels of new categories.

n

Number of new categories. Can only be used when predicting along "time", "age", or "cohort" dimensions, and when the units have equal length.

data

A named list containing future values of covariates.

aggregate

An object of class SpecAggregate.

lower

A lower bound for estimates of data-level rates, probabilities, or means.

upper

An upper bound for estimates of data-level rate, probabilities, or means.

nBurnin

Number of iteration discarded before recording begins.

parallel

Logical. If TRUE (the default), parallel processing is used.

outfile

Where to direct the ‘stdout’ and ‘stderr’ connection output from the workers when parallel processing. Passed to function [parallel]{makeCluster}.

verbose

Logical. If TRUE (the default) a message is printed at the end of the calculations.

useC

Logical. If TRUE (the default), the calculations are done in C. Setting useC to FALSE may be useful for debugging.


StatisticsNZ/demest documentation built on Nov. 2, 2023, 7:56 p.m.