Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uproll_lm checks nrow(x) > width rather than nrow(x) > min_obs #3
Comments
|
Thanks for the feedback. Fyi, I typically use the Anyway, in your example, I could just use My concern is when users, who don’t change In general, maybe a better solution is dependent on whether the |
|
I have simplified checks for the
Specifically, if the |
Right now roll_lm throws the error when you try to run a rolling regression on data that is shorter than width:
It seems more appropriate to check the nrow(x) and nrow(y) are just greater than min_obs. Here's an example: