ssr: Recursive SSR computation of a segment

View source: R/Utilities.R

ssrR Documentation

Recursive SSR computation of a segment

Description

Function computes the recursive residuals of period from 'start' to 'last'

Usage

ssr(start, y, z, h, last)

Arguments

start

starting index of the sample used

y

dependent vars

z

matrix of time-variant regressors (dimension q)

h

minimal length of segment

last

ending index of the last segment considered

Value

out The vector of recursive SSR of length (last-start+1)


RoDivinity/BP2003 documentation built on Oct. 9, 2022, 9:33 a.m.