dNBllcol_constr: The score function of the response function for 1 taxon at...

View source: R/F_dNBllcol_constr.R

dNBllcol_constrR Documentation

The score function of the response function for 1 taxon at the time

Description

The score function of the response function for 1 taxon at the time

Usage

dNBllcol_constr(betas, X, reg, theta, muMarg, psi, allowMissingness, naId)

Arguments

betas

a vector of v parameters of the response function of a single taxon

X

the count vector of length n

reg

a n-by-v matrix of regressors

theta

The dispersion parameter of this taxon

muMarg

offset of length n

psi

a scalar, the importance parameter

allowMissingness

A boolean, are missing values present

naId

The numeric index of the missing values in X

Even though this approach does not imply normalization over the parameters of all taxa, it is very fast and they can be normalized afterwards

Value

A vector of length v with the evaluation of the score functions


CenterForStatistics-UGent/RCM documentation built on April 24, 2023, 8:26 p.m.