search for: spm2

Displaying 4 results from an estimated 4 matches for "spm2".

Did you mean: sp2
2023 Oct 23
2
running crossvalidation many times MSE for Lasso regression
For what it's worth it looks like spm2 is specifically for *spatial* predictive modeling; presumably its version of CV is doing something spatially aware. I agree that glmnet is old and reliable. One might want to use a tidymodels wrapper to create pipelines where you can more easily switch among predictive algorithms (see the...
2023 Oct 23
1
running crossvalidation many times MSE for Lasso regression
...#39;numeric')" > mean(unlist(lst)) [1] NA Warning message: In mean.default(unlist(lst)) : ? argument is not numeric or logical: returning NA Le lundi 23 octobre 2023 ? 19:59:15 UTC+2, Ben Bolker <bbolker at gmail.com> a ?crit : ? For what it's worth it looks like spm2 is specifically for *spatial* predictive modeling; presumably its version of CV is doing something spatially aware. ? I agree that glmnet is old and reliable.? One might want to use a tidymodels wrapper to create pipelines where you can more easily switch among predictive algorithms (see the `...
2023 Oct 24
1
running crossvalidation many times MSE for Lasso regression
...fault(unlist(lst)) : > ? argument is not numeric or logical: returning NA > > > > > > > > > Le lundi 23 octobre 2023 ? 19:59:15 UTC+2, Ben Bolker <bbolker at gmail.com> a ?crit : > > > > > > ? For what it's worth it looks like spm2 is specifically for *spatial* > predictive modeling; presumably its version of CV is doing something > spatially aware. > > ? I agree that glmnet is old and reliable.? One might want to use a > tidymodels wrapper to create pipelines where you can more easily switch > among predi...
2005 Feb 18
1
Two-factorial Huynh-Feldt-Test
...ow I could do this, where I could find information about it etc? Google doesn't help much except more SAS examples...:-( hf <- function(mtxCov,ncol,nrow) { X <- mtxCov*(nrow-1) r <- length(X[,1]) D <- 0 for (i in 1: r) D<- D+ X[i,i] D <- D/r SPm <- mean(X) SPm2 <- sum(X^2) SSrm <- 0 for (i in 1: r) SSrm<- SSrm + mean(X[i,])^2 epsilon <- (ncol^2*(D-SPm)^2) / ((ncol-1) * (SPm2 - 2*ncol*SSrm + ncol^2*SPm^2)) print(epsilon) } # 2. do variance-covariance matrices for conditions first avCov2 <- matrix(rep(0,36),ncol=length(unique( roi )...