inf_mat: Information Matrix

View source: R/inf_mat_sens.R

inf_matR Documentation

Information Matrix

Description

Given the gradient vector of a model in a single variable model and a design, calculates the information matrix.

Usage

inf_mat(grad, design)

Arguments

grad

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

design

A dataframe that represents the design. Must have two columns:

  • Point contains the support points of the design.

  • Weight contains the corresponding weights of the Points.

Value

The information matrix of the design, a k\times k matrix where k is the length of the gradient.


Kezrael/optedr documentation built on Oct. 12, 2024, 8:40 p.m.