No video

How to Perform Rolling Regression in R

  Рет қаралды 145

The Data Hall

The Data Hall

2 ай бұрын

In this video we discuss how to estimate beta using rolling regression I..e to perform rolling regression in R. We have used two packages i.e. the broom package and the slider package. The broom package have a function called rollapply and the slider package have different functions but the one we used is slider_period.
Download do and exercise file:
payhip.com/b/xD4ck
Website: thedatahall.com
As an Amazon Associate, I earn from qualifying purchases.

Пікірлер: 5
@frankmeier7595
@frankmeier7595 2 ай бұрын
can you share the complete code?
@thedatahall
@thedatahall 2 ай бұрын
Thanks for identifying. I have added it in the description.
@stephenhilton2255
@stephenhilton2255 2 ай бұрын
If you group_by the stock, would that prevent you from needing to run it in a loop? Or would these not recognize the grouping?
@frankmeier7595
@frankmeier7595 Ай бұрын
I am new in working with R, so you might correct me but I was not able to get it working by grouping for stocks. Maybe @The Data Hall can demonstrate how to use rolling regression on more then 1 company with multiple Facots like HML, SMB and Mkt-Rf on a month base.
@thedatahall
@thedatahall Ай бұрын
@frankmeier7595 you can email me your data and code i will look into it
Stata Time Series Tutorial: The Rolling Regression
17:53
Mike Jonas Econometrics
Рет қаралды 10 М.
Fama and French Five Factor Model in Stata
5:40
The Data Hall
Рет қаралды 233
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 16 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 26 МЛН
Advent of Code in Rust
16:21
MathleteDev
Рет қаралды 185
Learn R in 39 minutes
38:56
Equitable Equations
Рет қаралды 628 М.
STATA Time Series Tutorial: the Rolling Window RARDL
18:44
Noman Arshed
Рет қаралды 2 М.
Animation vs. Math
14:03
Alan Becker
Рет қаралды 66 МЛН
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 265 М.
Fill Gaps in Time Series and Panel Data in R
7:37
The Data Hall
Рет қаралды 69
Rolling regression definition for investment modeling
4:43
FactorPad
Рет қаралды 12 М.
Working With Missing Values in R
8:04
The Data Hall
Рет қаралды 27