Hi all,
I've built a stan model used k-fold cross validation as done in Aki's paper. The only difference from the paper is that I've monitored the sum of the log likelihoods as opposed to the individual log likelihoods. I did this because of memory issues as I'm dealing with a large dataset.
In my case, the point of doing cross validation was to compare predictive accuracy between a suite of models and ultimately choose a single 'best' model. I was hoping to do this using the mean and credible intervals of the monitored log likelihoods pooled across kfolds.
Specifically I'd:
Pool the samples of the sum log likelihood across all K-fold fits and then estimate the mean and the lower and upper 95% quantiles. My thinking was that this would capture the full uncertainty associated with estimating the log likelihood of the heldout data and allow people to determine whether there was a significant difference between model predictive accuracy.
However, I'm beginning to think my approach isn't technically correct. Reading Aki's paper again I see that the standard error is estimated as: SQRT(N) x SD(log likelihoods).
Another approach I've seen people use is a point estimate approach whereby they extract the mean log likelihood for each kfold and then use these values to estimate the average log likelihood and confidence interval (i.e. across kfolds).
Does anyone have any guidance on how I should best approach this?