sandwich_meat: Meat of U sandwich estimator

View source: R/sandwich_meat.R

sandwich_meatR Documentation

Meat of U sandwich estimator

Description

Meat of U sandwich estimator

Usage

sandwich_meat(y, X, b, link, w)

Arguments

y

numeric A vector of pseudo observations.

X

matrix The pairwise difference of original design matrix.

b

numeric The PIM parameter.

link

character The link function: "logit", or "probit".

w

numeric The weights, default is NULL.

Value

matrix A p x p matrix.


ge-li/upim documentation built on Oct. 30, 2022, 3:36 a.m.