search for: putphat

Displaying 1 result from an estimated 1 matches for "putphat".

Did you mean: putchar
2020 Oct 04
1
Help in R code
...obtained thefunctional principle component and from those FPCA i extract theircorresponding? FPCscores. Know i use the VAR model on those FPCscores forthe forecasting of each 24 hours through the VAR model, but the VAR give me theforecasted value for all 23hours? when i put phat=23, but whenever i putphat=24 i.e want to predict each 24 hours its give the results in the form ofNA. the code is given below ? fdata<- function(mat){ ? nb = 27 # number of basis functions for the data ? fbf = create.fourier.basis(rangeval=c(0,1), nbasis=nb) #basis for data ? args=seq(0,1,length=24) ? fdata1=Data2f...