nrvcregr

Calculates ml parameter estimates using Newton Raphson method for bivariate data

Contents

syntax

[q, info] = nrvcregr(func, p, varargin)

Description

Calculates ml parameter estimates using Newton Raphson method for normally distr random vars with constant variation coefficients

Input

   f = func (p, xyw) with
     p: k-vector with parameters; xyw: (n,c)-matrix; f: n-vector
   [f1, f2, ...] = func (p, xyw1, xyw2, ...) with  p: k-vector  and
    xywi: (ni,k)-matrix; fi: ni-vector with model predictions
   The dependent variable in the output f; For xyw see below.
   p(:,1) initial guesses for parameter values
   p(:,2) binaries with yes or no iteration (optional)
   xywi(:,1) independent variable i
   xywi(:,2) dependent variable i
   xywi(:,3) weight coefficients i (optional)
   xywi(:,>3) data-pont specific information data (optional)
   The number of data matrices xyw1, xyw2, ... is optional but >0

Output

Remarks

Calls nrdregr, and user-defined function 'func'. Set options with nrregr_options.

set options if necessary