process_batch | R Documentation |
Automatically process batch of new data, and write estimates in correct form for INE systems
Automatically process batch of new data, and write estimates in correct form for INE systems
Automatically process batch of new data, and write estimates in correct form for INE systems
process_batch(
path_name,
file_name,
log_file,
path_out,
path_mailbox,
team = "default",
even = "0",
n_iter = 300,
n_chains = 4,
n_warmup = 200,
adapt_delta = 0.8,
max_treedepth = 10,
nominal_max = 1000,
seed = 221285,
use_inv_metric = TRUE
)
ratio_process_batch(path_name, file_name, path_out, B, team = "default")
ratio_diputados_process_batch(
path_name,
file_name,
path_out,
path_mailbox,
B,
team = "default"
)
path_name |
Path to a file that will be used for estimation. On election day it will be a file with a subset of the sample. |
file_name |
Name of the file with the data. |
log_file |
Path to logfile of process |
path_out |
Path to directory where partial results will be saved. |
path_mailbox |
Additional path to directory where partial results will be saved. |
team |
Name of team running the model, to be used in INE reports. |
even |
skipping of batches |
n_iter |
number of stan sampling iterations |
n_chains |
number of stan chains |
n_warmup |
numer of stan warmup iterations |
adapt_delta |
The adaptation target acceptance statistic (default 0.80. |
max_treedepth |
The maximum allowed tree depth for the NUTS engine (default 10) |
nominal_max |
maximum number of votes in special stations |
seed |
random seed |
use_inv_metric |
use initial metric from previous run |
B |
Number of bootstrap replicates used to compute standard errors, defaults to 50. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.