Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: fda
See also: fdamean plotfd grfd evalfd

Quantlet: evalfdacov
Description: evaluates the cov function of a fdobject at the vector EVALARG x EVALARG

Usage: fdavar = evalfdacov(evalarg,fdobject)
Input:
evalarg m x 1 matrix for evaluation
fdobject list, functional object (fd object) with n replications
Output:
fdacov m^2 x 3 vector, values of cov(t1,t2) at t1,t2 in evalarg, fdacov[,3]=cov(fdacov[,1],fdacov[,2])

Example:
library("fda")
y = read("dailtemp.dat")
tvec=#(1:365)/365
fdb = createfdbasis("fourier", #(0,1),31,1)
fdtempf31=data2fd(y,tvec,fdb)
fdacovf=evalfdacov(grid(0,1/30,29),fdtempf31)
fdacovf

Result:
The cov function for temperature dataset is printed, using
31 Fourier functions



Author: M. Benko 20041205 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006