I’m trying to build a regression model that estimates the amount of sales of a beer product on a given day based on the prices of the product and competitors, the weather, the season and the day of week of that specific day
My question is how to split the data into train and test
Because I pretend to use the model to make a prediction for a future day, I think I could split the data so that the test set is composed of those observations with recent dates and the train test with past dates
This make sense or I should split at random?