sensi.trm: Compute the sensitivity of TRM to coefficients modification.

Description Usage Arguments Value Examples

Description

Compute the sensitivity of TRM to coefficients modification. The returned value corresponds to the local sensitivity of a Tweedie Bayesian network.

Usage

1
sensi.trm(beta, phi, p, db, X)

Arguments

beta

a vector of regression coefficients.

phi

the dispersion parameter of the Tweedie regression model.

p

the power parameter of the Tweedie regression model.

db

a vector of modification of the Tweedie regression coefficients.

X

a data frame containing the variables in the model.

Value

This function returns the sensitivity of the tweedie regression model induced by the regression coefficients modification.

Examples

1
2
3
4
## Not run: 
sensi.trm(c(0.2,0,0,1,-2),1,2, c(-0.1,0,0,-0.2,0), X)

## End(Not run)

km20/tbn documentation built on May 29, 2019, 11:44 a.m.