respFunJacMat {RCM}R Documentation

Calculates the Jacobian of the parametric response functions

Description

Calculates the Jacobian of the parametric response functions

Usage

respFunJacMat(betas, X, reg, thetaMat, muMarg, psi, v, p, IDmat, IndVec)

Arguments

betas

a vector of length (deg+1)*(p+1) with regression parameters with deg the degree of the response function and the lagrangian multipliers

X

the nxp data matrix

reg

a vector of regressors with the dimension n-by-v

thetaMat

The n-by-p matrix with dispersion parameters

muMarg

offset matrix of size nxp

psi

a scalar, the importance parameter

v

an integer, one plus the degree of the response function

p

an integer, the number of taxa

IDmat

an logical matrix with indices of non-zero elements

IndVec

a vector with indices with non-zero elements

Value

The jacobian, a square matrix of dimension (deg+1)*(p+1)


[Package RCM version 1.2.0 Index]