TBF {TBFmultinomial} | R Documentation |
Test-based Bayes factor
Description
This function computes the TBF as well as g
Usage
TBF(ingredients = NULL, fullModel = NULL, method = "LEB", data = NULL,
discreteSurv = TRUE, prior = NULL, package = "nnet", maxit = 150)
Arguments
ingredients |
|
fullModel |
if |
method |
tells us which method for the definition of g should be
used. Possibilities are: |
data |
the data frame with all the information. Only needed if
|
discreteSurv |
Boolean variable telling us whether a 'simple' multinomial regression is looked for or if the goal is a discrete survival-time model for multiple modes of failure is needed. |
prior |
should a dependent or a flat prior be used on the model space?
Only needed if |
package |
Which package should be used to fit the models; by default
the |
maxit |
Only needs to be specified with package |
Value
A list with the TBF and the g (if it is fixed) for all the candidate models.
Author(s)
Rachel Heyard