- y
A vector of n observations of the (univariate) binary outcome
variable y
- x
A (n x p) matrix of n observations of p covariates
- xtype
A vector of p characters that have to take the value
"c_a", "c_p", "d_b" or "d_b", to indicate whether each margin of the
is continuous with full support, continuous with support on the positive
real line, discrete (binary) or a counting variable.
- family_set
A vector of strings that specifies the set of
pair-copula families that the fitting algorithm chooses from. For an
overview of which values that can be specified, see the documentation for
bicop.
- oos_validation
Whether to use an external sample for validation
instead of an in-sample likelihood based criteria. Would require that
both test_x and test_y are provided if set to TRUE.
- tau
Parameter used when selecting the structure, where the
the criteria is (new_likelihood - previous_likelihood - tau),
so that an additional edge in the copulas is only accepted if it leads to
an increase in the likelihood that exceeds tau. Setting tau to NULL, has
the same effect as -Inf.
- which_include
The column indices of the covariates that could be
included in the copula effects.
- reg.method
The method by which the initial regression coefficients
are fitted.
- maxit_final
The maximum number of gradient optimisation iterations
to use when the full structure has been selected to refit all the
parameters. Defaults to 1000.
- maxit_intermediate
The maximum number of gradient optimisation
iterations to use when adding a newly selected component to refit the
parameters. Defaults to 10.
- verbose
Whether information about the progress should be printed
to the console.
- adjust_intercept
Whether to intermediately refit the intercept
during the model/structure selection procedure. Defaults to true.
- max_t
The maximum number of trees in the copula models. Defaults
to Inf, i.e., no maximum.
- test_x
Part of the optional validation set,
see @oos_validation.
- test_y
Part of the optional validation set,
see @oos_validation.
- set_nonsig_zero
If true, non-significant regression coefficients
(in the initial glm model) will be set to zero
- reltol
Relative convergence tolerance, see the documentation for
optim.