Functions for accessing names of the MCMC parameters, either country-independent or country-specific.
tfr.parameter.names(trans = NULL, meta = NULL)
tfr.parameter.names.cs(country.code = NULL, trans = NULL, back.trans = TRUE)
tfr.parameter.names.extended()
tfr.parameter.names.cs.extended(country.code = NULL)tfr3.parameter.names()
tfr3.parameter.names.cs(country.code = NULL)
tfr.parameter.names
returns names of the country-independent Phase II parameters.
tfr.parameter.names.cs
returns names of the country-specific Phase II parameters.
tfr.parameter.names.extended
returns names of all country-independent Phase II parameters, including the transformed parameters. Parameters ‘alpha’, ‘delta’, ‘alphat’, and‘deltat’ are in their extended format with the postfix ‘_1’, ‘_2’ and ‘_3’.
tfr.parameter.names.cs.extended
returns names of all country-specific Phase II parameters, including the transformed parameters. Parameters ‘gamma’ and‘gammat’ are in their extended format with the postfix ‘_1’, ‘_2’ and ‘_3’.
tfr3.parameter.names
returns names of the country-independent Phase III parameters.
tfr3.parameter.names.cs
returns names of the country-specific Phase III parameters.
It can be NULL
or logical. If TRUE
,
names of the transformable parameters (i.e. ‘alpha’ in case of country-independent parameters, or ‘gamma’ in case of country-specific parameters) are replaced by the names of the transformed parameters (i.e. ‘alphat’, or ‘gammat’). If trans=FALSE
, there is no such replacement. If trans=NULL
, all parameter names,
including the transformable parameters are returned.
It can be NULL
or a bayesTFR.mcmc.meta
object. If not NULL
and its element ar.phase2
is TRUE
(i.e. the simulation considered an additional AR(1) parameter in the estimation), then the names include also ‘phi’.
Country code. If it is given, the country-specific parameter names contain the postfix ‘_c\(x\)’ where \(x\) is the country.code
.
Logical indicating if back-transformable parameter names (i.e. ‘Triangle_c1’, ..., ‘Triangle_c3’) should be returned.
Hana Sevcikova
tfr.parameter.names()
tfr.parameter.names.extended()
tfr.parameter.names.cs()
tfr.parameter.names.cs.extended()
tfr3.parameter.names()
tfr3.parameter.names.cs()
Run the code above in your browser using DataLab