G.box: Family of box functions

View source: R/BoundingCovariateEffects.R

G.boxR Documentation

Family of box functions

Description

This function defined the class of box functions as defined in Willems et al. (2024+).

Usage

G.box(
  x,
  g.idx,
  data,
  n.box.per.cov,
  norm.func,
  cov.ranges = NULL,
  norm.cov.out = NULL,
  ...
)

Arguments

x

Vector of covariates to be normalized alongside the data. Default is x = NULL.

g.idx

Index of the instrumental function, in {1, ..., n.inst.func}.

data

Data frame.

n.box.per.cov

Number of box functions to consider per continuous covariate.

norm.func

Function to be used to normalize the covariates.

cov.ranges

Matrix of ranges of the covariates. Used for normalizing the data to the unit interval before applying the instrumental functions. Default is cov.ranges = NULL.

norm.cov.out

Output of a preliminary call to the supplied covariate normalization function.

...

Additional arguments will be ignored. Useful for allowing compatibility with the implementations of other instrument function families. Specifically, it allows to ignore the degree argument used in 'G.spline.R' and 'G.cd.R'.


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