hhh4contacts (version 0.13.1)

fitC: Estimate the Power of the Contact Matrix in a "hhh4" Model

Description

The profile log-likelihood of the log(power) parameter of the contact matrix (see powerC) is maximized using optim. The hhh4 fit for the optimal power value is returned with an additional element logpower which holds information on the result of the optimization.

Usage

fitC(object, C, normalize = TRUE, truncate = TRUE, optim.args = list(), ...)

Value

an object of class "fitC", which is an "hhh4"

object with an additional element logpower.

Arguments

object

a model fit of class "hhh4".

C

the contact matrix to use.

normalize, truncate

see powerC.

optim.args

a list to modify the default optimization parameters.

...

additional arguments for each run of update.hhh4.

Author

Sebastian Meyer