score.test(secr, ..., betaindex = NULL, trace = FALSE, ncores = 1)
score.table(object, ..., sort = TRUE, dmax = 10)
score.table
is a dataframe with one row per model, including the reference model.fdHess
of the betaindex
argument.
For example betaindex
= c(1,2,4) is the correct mapping when
comparing the null model (D$\sim{~}$1, g0$\sim{~}$1,
sigma$\sim{~}$1) to one with a behavioural effect on g0
(D$\sim{~}$1, g0$\sim{~}$b, sigma$\sim{~}$1).
score.table
summarises one or more score tests in the form of a
model comparison table. The ...argument here allows the inclusion of
additional score test objects (note the meaning differs from
score.test
). Approximate AICc values are used to compute relative
AIC model weights for all models within dmax AICc units of the best
model.
Multiple cores provide some speed improvment in score.test
when
comparing more than two models.AIC
, LR.test
AIC (secrdemo.0, secrdemo.b)
st <- score.test (secrdemo.0, g0 ~ b)
st
score.table(st)
Run the code above in your browser using DataLab