sens: Master function to calculate the sensitivity function

View source: R/inf_mat_sens.R

sensR Documentation

Master function to calculate the sensitivity function

Description

Calculates the sensitivity function given the desired Criterion, an information matrix and other necessary values depending on the chosen criterion.

Usage

sens(Criterion, grad, M, par_int = c(1), matB = NA)

Arguments

Criterion

character variable with the chosen optimality criterion. Can be one of the following:

  • 'D-Optimality'

  • 'Ds-Optimality'

  • 'A-Optimality'

  • 'I-Optimality'

grad

A function in a single variable that returns the partial derivatives vector of the model.

M

Information Matrix for the sensitivity function.

par_int

Numeric vector of the indexes of the parameters of interest for Ds-Optimality.

matB

Matrix resulting from the integration of the one-point Information Matrix along the interest region.

Value

The sensitivity function as a matrix of single variable.


optedr documentation built on Nov. 18, 2022, 5:12 p.m.