nmvcregr2

Calculates ml estimates using Nelder Mead's simplex method for bivariate data and constant variation coefficient

Contents

Syntax

[q, info] = nmvcregr2(func, p, x, y, Z, W)

Description

Calculates ml estimates using Nelder Mead's simplex method for bivariate data and constant variation coefficient

Input

   f = func (p, x, y) with p: np-vector; x: nx-vector; y: ny-vector
   f: (nx,ny)-matrix with model-predictions for dependent variable
   p(:,1) initial guesses for parameter values
   p(:,2) binaries with yes or no iteration (optional)

Output

Remarks

Salls nrdregr2, and user-defined function 'func'. Set options with nrregr_options. Similar to nmregr2, but standard deviation proportional to mean