inf_mat {optedr}R 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.


[Package optedr version 2.0.0 Index]