search for: centerfns

Displaying 2 results from an estimated 2 matches for "centerfns".

Did you mean: center's
2020 Oct 02
1
help in R code
...cretized y? return(fdata1)}prediction.ffpe = function(fdata1){? n = ncol(fdata1$coef)? D = nrow(fdata1$coef)? #center the data? #mu = mean.fd(fdata1)? data = center.fd(fdata1)? #ffpe = fFPE(fdata1, Pmax=10)? #p.hat = ffpe[2] #order of the model? d.hat=23? p.hat=6? #fPCA? fpca = pca.fd(data,nharm=D, centerfns=TRUE)? scores = fpca$scores[,0:d.hat]? # to avoid warnings from vars predict function below? colnames(scores) <- as.character(seq(1:d.hat))? VAR.pre= predict(VAR(scores, p.hat), n.ahead=1, type="const")$fcst??} kindly guide me that how can i solve out my problem or what error i doing....
2020 Oct 04
1
Help in R code
...} prediction.ffpe = function(fdata1){ ? n = ncol(fdata1$coef) ? D = nrow(fdata1$coef) ? #center the data ? #mu = mean.fd(fdata1) ? data = center.fd(fdata1) ? #ffpe = fFPE(fdata1, Pmax=10) ? #p.hat = ffpe[2] #order of the model ? d.hat=23 ? p.hat=6 ? #fPCA ? fpca = pca.fd(data,nharm=D, centerfns=TRUE) ? scores = fpca$scores[,0:d.hat] ? # to avoid warnings from vars predict function below ? colnames(scores) <- as.character(seq(1:d.hat)) ? VAR.pre= predict(VAR(scores, p.hat), n.ahead=1,type="const")$fcst ?? } ? kindly guide me that how can i solve out my problem or whate...