welcome to the community and thanks for your question!
In addition, you might wanna take a look at Time Series Modeling or prediction with:
- Arima Models which touch upon @balaji.ambresh‘s great input.
- Hidden Markov Models which outline a stochastic approach so sample and put together patterns based on states to obtain time series data.
Hope that helps, @Kavia_Aravind.
Best regards
Christian