Skip to contents

Computes the gradient of the negative Whittle log-likelihood with respect to the coefficients.

Usage

whittle_loglik_grad(c, B, periodogram)

Arguments

c

Coefficient vector for the spectral basis expansion.

B

Design matrix (rows = frequencies, cols = basis functions).

periodogram

Vector of periodogram values.

Value

A numeric vector: the gradient with respect to c.