get.cond.moment.evals: Compute the conditional moment evaluations

View source: R/BoundingCovariateEffects.R

get.cond.moment.evalsR Documentation

Compute the conditional moment evaluations

Description

This function computes the 1(Y <= t) - Lambda(X^T beta(t)) and Lambda(X^T beta(t)) - 1(Y <= t, Delta = 1) parts of the moment functions. (Used in function get.mi.mat.R)

Usage

get.cond.moment.evals(data, beta, t, hp)

Arguments

data

Data frame.

beta

Vector of coefficients.

t

Time point of interest.

hp

List of hyperparameters.

Value

A vector of 2n elements containing in the first n positions the evaluations of 1(Y <= t) - Lambda(X^T beta(t)) and in the last n positions the evaluations of Lambda(X^T beta(t)) - 1(Y <= t, Delta = 1).


depCensoring documentation built on April 4, 2025, 1:52 a.m.