Hyperparameter Tuning for Time Series Causal Impact Analysis in R | Machine Learning

Опубликовано: 23 Февраль 2026
на канале: Grab N Go Info
936
14

CausalImpactpackage created by Google estimates the impact of an intervention on a time series. In this tutorial, we will talk about how to tune the hyperparameters of the time series causal impact model using the R package CausalImpact.

⏰ Timecodes ⏰
0:00 - Intro
0:14 - Step 1: Install and Import R Libraries
1:04 - Step 2: Create Dataset
2:59 - Step 3: Set Pre and Post Periods
3:53 - Step 4: Causal Impact on Time Series with Default Hyperparameters
5:06 - Step 5: Hyperparameter Tuning for niter
5:30 - Step 6: Hyperparameter Tuning for standardize.data
5:57 - Step 7: Hyperparameter Tuning for prior.level.sd
7:11 - Step 8: Hyperparameter Tuning for nseasons
8:14 - Step 9: Hyperparameter Tuning for season.duration
9:16 - Step 10: Hyperparameter Tuning for dynamic.regression

❤️ Blog post with code for this video:   / hyperparameter-tuning-for-time-series-caus...  
📒 Code Notebook: https://mailchi.mp/4b671ac9ad46/poni3...
🚛 GrabNGoInfo Machine Learning Tutorials Inventory:   / grabngoinfo-machine-learning-tutorials-inv...  

🏪 Purchase data science and computer science themed products in my Amazon store: https://amzn.to/40HUTsl
🙏 Give me a tip to show your appreciation: https://www.paypal.com/donate/?hosted...
✅ Join Medium Membership: If you are not a Medium member and want to support me as a writer to keep providing free content(😄 Buy me a cup of coffee ☕), join Medium membership through this link:   / membership  
You will get full access to posts on Medium for $5 per month, and I will receive a portion of it. Thank you for your support!

🎞️ Time Series Causal Impact Analysis in R:    • Time Series Causal Impact Analysis in R | ...  
🎞️ How to Use R with Google Colab Notebook:    • How to Use R with Google Colab Notebook  
🎞️ Causal Inference playlist:    • Causal Inference  
🎞️ Time Series playlist:    • Time Series  

🔥 Check out more machine learning tutorials on my website!
https://grabngoinfo.com/tutorials/
🛎️ SUBSCRIBE to GrabNGoInfo https://bit.ly/3keifBY
📧 CONTACT me at [email protected]

📣 Speech software used in the video: Descript https://www.descript.com/?lmref=h7XYQw

#causalinference #causality #timeseriesanalysis #datascience #machinelearning