Type: Package
Title: Influence Function Based Estimate Objects
Version: 0.1.12
Maintainer: Nicholas Williams <ntwilliams.personal@gmail.com>
Description: Implements an S7 class for estimates based on influence functions. Standard arithmetic operations are defined for the class.
License: GPL (≥ 3)
Encoding: UTF-8
Imports: cli, generics, S7
RoxygenNote: 7.3.2
Suggests: testthat (≥ 3.0.0)
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2025-02-15 02:38:12 UTC; nicholaswilliams
Author: Nicholas Williams ORCID iD [aut, cre, cph]
Repository: CRAN
Date/Publication: 2025-02-15 03:30:02 UTC

Create a new 'influence_func_estimate' object

Description

Create a new 'influence_func_estimate' object

Usage

ife(
  x,
  eif,
  weights = rep(1, length(eif)),
  id = as.character(1:length(eif)),
  critical_value = qnorm(0.975)
)

influence_func_estimate(
  x,
  eif,
  weights = rep(1, length(eif)),
  id = as.character(1:length(eif)),
  critical_value = qnorm(0.975)
)

Arguments

x

[numeric(1)]
The estimate.

eif

[numeric(n)]
The influence function.

weights

[numeric(n)]
Optional sampling weights.

id

[character(n)]
Optional cluster identifiers.

critical_value

[numeric(1)]
Optional critical value for constructing confidence interval.

Value

An 'S7' object of class influence_func_estimate.

Examples

x <- influence_func_estimate(5, runif(10))
y <- ife(5, runif(10))
x + y
x + 1
1 - y
x / y
x * y
tidy(x)

Objects exported from other packages

Description

These objects are imported from other packages. Follow the links below to see their documentation.

generics

tidy