I tried to come up with an example let's say with a single predictor x where a cutoff very different from 0.5 would maximize the accuracy on the training data, and failed.
Hi @gung! I came across an old answer of yours stats.stackexchange.com/a/225935/28666 that I was a bit confused about. I posted a comment there, but would also be happy to briefly discuss here in chat if you have a moment. Cheers!
I thought it must be a typo in the paper so I emailed the first author, but he replied that the p-value as reported is correct. He wrote that the chi-square statistic was converted into a p-value via pchisq(..., log.p=TRUE) and then the outcome was exponentiated.
I agree that your Q is off-topic here. The upvotes etc. show that it is very useful. We have a number of questions like that; these are usually old threads that were tolerated when they were asked but are off-topic according to today's interpretation of the rules. They get closed but stay on our site.
On the usefulness of "trivial" edits: this unanswered Q from three years ago stats.stackexchange.com/questions/145612 had 1 upvote and no comments until yesterday when @kjetil edited it to add [probability] tag. I noticed it on the front page, thought the question was interesting, and edited the title to be more understandable and catchy. A couple of edits later, I put a bounty on it, and now it has 10 upvotes and turns out to be an interesting open problem.
(which maybe can be shortened a bit, I'm not sure. E.g. do you need both figures for ZY? I don't even understand the second, without looking into the paper. What's on the x axis?
And (2) don't you want to add B&G to the literature review? I'm thinking of putting their Figure from Experiment 2. You could say that this essentially replicates your experiments presented above.
@XavierBourretSicotte I'm away from next week myself, and have some urgent stuff to take care of now, so I don't even have time to discuss this really. I thought mostly of two things: (1) I'd maybe put some main results from your outliers simulation into the main answer. Basically after you present all the results from the main model, you can say that with outliers it can looks differently, blablabla, see more details in my other answer.
My major quibble is that you explicitly list linear regression as a stable algorithm and then go on presenting a simulation using linear regression that has larger variance with LOOCV
I have to say that I find EPE a more natural quantity to think about. I am never in a situation when I train a model on a given dataset and then am planning to "deploy" it, meaning run it on actual test data without modifying the model. This sounds like something that could happen "in production". There one could be interested in PE.
Their paper is about EPE. You say you are interested in PE. I am not quite sure if one can "adapt" their three-component variance decomposition to PE; intuitively it would seem so but I am not sure it works out.
Regarding variance, I find B&G paper very clear about this: there is expected error of the model trained on this dataset (expectation over all possible test cases), and expected error of this algorithm trained on a dataset of this size (expectation over all possible training datasets and test cases). B&G call it PE and EPE.
Hi @cbeleites! I do speak/read German but I'm not very accustomed to the scientific writing in German. Regarding writing a paper, I'm not very sure what exactly you have in mind, but am happy to discuss. I have to say though that I have quite a lot of stuff in the pipeline that I need to finish asap so I'm not sure if I can meaningfully contribute here.
bon jour @xavier! the last figure you posted is interesting: looks like a clear minimum at k=20 and higher variance for larger k. It looks quite noisy though, especially for 1000 reps! How did you generate it? What's the difference from the previous one?