Learn R Programming

refund (version 0.1-40)

center_ff_beta: Center beta(s,t) surface for ff identifiability

Description

Centers beta so that weighted sum over s equals 0 for each t: sum_s w(s) * beta(s, t) = 0 for all t. This matches pffr's identifiability constraint for ff terms. Uses Simpson weights to be consistent with pffr's default integration.

Usage

center_ff_beta(beta_st, xind)

Value

Centered beta matrix with same dimensions.

Arguments

beta_st

Numeric matrix (n_xind x n_yind) coefficient surface.

xind

Numeric vector of x evaluation points (for integration weights).