Description Usage Arguments Details Value Author(s) References See Also
Function for fitting Multivariate semi-continuous proportionally constrained two-part fixed effects model.
1 2 3 4 5 6 7 8 9 10 11 |
logistic |
A one sided formula with only right hand side describing the predictors to be included in the logistic part of the model. |
positive1 |
A formula describing the response and predictors to be used as the first positive part of the model. |
positive2 |
A formula describing the response and predictors to be used as the second positive part of the model. |
data |
Data containing responses and predictors. |
search.space |
A named list containing usual parameters for controlling the optimization process of log-likelihood function. All combinations of the given values in the list will be considered. Valid arguments inside the list are:
Default is |
control.pars |
Additional control parameters used by optim function. Default is |
parallel |
Logical indicating whether optimization of different combinations in search.space must be done in parallel mode or not. Default is |
core.nums |
Number of CPU cores to be used for parallel computation. Default is |
g.funs |
A single function or a list of length two containing the functions to be used for transforming non-zero responses. If |
When search.space is NULL
, a pre-defined search space will be used which is:
1 2 3 4 5 6 7 8 9 |
S3 print class of method 'bc2'
which is A list of length 3 containing fitting information of the logistic and the two positive parts.
This list is a part of a more comprehensive return that can be accessed when the fit is saved in an object. The full return set contains:
$Data
: Cleaned data-set with original and un-transformed responses. Also see g.funs
argument.
$`Structured data`
: A list of divided and cleaned data to be used in the fitting process. If g.funs
were specified, transformed responses will be included in this part.
$`Optimization info`
: A tibble containing information about evaluation of different combinations that was given in search.space for optimization.
$`Best combination`
: The best combination of parameters that results in the best set of estimations.
$`Final tables`
: The default print output of class bc2 that was mentioned earlier.
Shahin Roshani
https://journals.sagepub.com/doi/abs/10.1177/0962280218807730
https://shahin-roshani.github.io/BC2/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.