How should I calculate the sample size required for an experiment where I compare two…
- User
How should I calculate the sample size required for an experiment where I compare two models on the same set of data?
Assistant
In this case, you would typically calculate the total number of observations needed such that the type I error rate is 0.05. This is the total number of observations needed such that the probability of a type I error (rejecting the null hypothesis when it is true) is 0.05. Then randomly divide the total number of observations into a test set and a training set in a 3:1 ratio. Train the model on the training set and then compare the performance of the model on the test set.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.