Learn R Programming

refund (version 0.1-40)

compute_concurrent_effect: Compute concurrent functional effect: Xc(t) * beta_c(t)

Description

Computes the pointwise product of a concurrent functional covariate with a varying coefficient function.

Usage

compute_concurrent_effect(Xc, beta_t)

Value

Numeric matrix (n x n_yind) of effect contributions.

Arguments

Xc

Numeric matrix (n x n_yind) of concurrent covariate values.

beta_t

Numeric vector (length n_yind) of concurrent coefficient.