Given the gradient vector of a model in a single variable model and a design, calculates the information matrix.
inf_mat(grad, design)
The information matrix of the design, a \(k\times k\) matrix where k is the length of the gradient.
A function in a single variable that returns the partial derivatives vector of the model.
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 Point
s.