LW_pm_alpha_global_lambdacov_none_alphacov_none {cxr}R Documentation

Law-Watkinson model with a global alpha and no covariate effects

Description

Law-Watkinson model with a global alpha and no covariate effects

Usage

LW_pm_alpha_global_lambdacov_none_alphacov_none(
  par,
  fitness,
  neigh_intra_matrix = NULL,
  neigh_inter_matrix,
  covariates,
  fixed_parameters
)

Arguments

par

1d vector of initial parameters: lambda, alpha, and sigma.

fitness

1d vector of fitness observations, in log scale.

neigh_intra_matrix

included for compatibility, not used in this model.

neigh_inter_matrix

matrix of arbitrary columns, number of neighbours for each observation. As in this model there is a single alpha argument, do not distinguish neighbour identity

covariates

included for compatibility, not used in this model.

fixed_parameters

optional list specifying values of fixed parameters, with components "lambda","alpha_inter".

Value

log-likelihood value


[Package cxr version 1.1.1 Index]