﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
150	Problem with AutoCor functions	César Pérez Álvarez	danirus	"If we execute the following code we have a problem in AutoCor function

Serie calInd = CalInd(WD(4), Diario);
// Observe that the first serie has two zeros less than the second one
Serie calNormal = SubSer(calInd, y2002m01d03, y2003m01d01);
Serie calZero   = SubSer(calInd, y2002m01d01, y2003m01d01);

// All is OK: cork = covk/cov0
Matrix covNormal = AutoCov(calNormal,40);
Matrix corNormal = AutoCor(calNormal,40);

// There is a problem: cork =! covk/cov0
// The problem is that corZero = corNormal (I think that the number of data to 
calculate estimated covarianzes in both cases is the same, when we have two 
zeros more in the second case than the first one)
Matrix covZero = AutoCov(calZero,40);
Matrix corZero = AutoCor(calZero,40);"	defect	closed	high		Math	head	major	fixed		
