GetFitHReg {ptest}R Documentation

Compute loglikelihood ratio test statistic

Description

The loglikelihood ratio test statistic is computed for testing for periodicity

Usage

GetFitHReg(y, t, Numf=50)

Arguments

y vector containing the series
t vector of corresponding time points
Numf number of frequencies

Value

vector of length 2 containing the residual sum of squares and estimated frequency


[Package ptest version 1.01 Index]