dev2

Calculates deviance for bivariate data

Contents

Syntax

d = dev2(func, p, t, y, N)

Description

Calculates deviance for bivariate data

Input

% func: string with name of user-defined function

   f = func (p, t, y) with p: np-vector; t: nt-vector; y: ny-vector
   f: (nt,ny)-matrix with model-predictions for surviving numbers
   p(:,1) initial guesses for parameter values
   p(:,2) binaries with yes or no iteration (optional)

Output

Remarks

See dev. Calls user-defined function 'func'