DerivativeResult

Result of smooth derivative estimation.

Usage

Source

DerivativeResult(
    term,
    x,
    derivative,
    se,
    lower,
    upper,
    level,
    order,
)

Attributes

term: str

Label for the smooth term.

x: NDArray

Covariate values at which derivatives are evaluated.

derivative: NDArray

Estimated derivative values, shape (n,).

se: NDArray

Standard errors of the derivative estimates.

lower: NDArray

Lower confidence band.

upper: NDArray

Upper confidence band.

level: float

Confidence level used.

order: int
Derivative order (1 or 2).