tsgam | Functions for using GAMs to model time series | Runtime Evironment library
kandi X-RAY | tsgam Summary
kandi X-RAY | tsgam Summary
Functions for using GAMs to model time series. I've abondonded this project, moving development to the schoenberg pkg.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tsgam
tsgam Key Features
tsgam Examples and Code Snippets
Community Discussions
Trending Discussions on tsgam
QUESTION
I need to fit a GAM to a time series of satellite-derived phenology data (EVI) for >1000 bird nests across North America. The GAM looks like this:
EVI ~ s(Day)
This model needs to be fit for each nest in multiple years. After fitting the GAM, I then need to extract the derivatives, which can be used to get the day that spring starts in each year for each nest.
Ideally I'm looking to use the tidyverse and associated packages to fit the GAMs for each nest and year. I'd then like to get the first derivatives for each of those models. Because it is a large data set (>1000 models) it is not feasible to do this manually for each model.
Here's what my code currently looks like:
Libraries:
...ANSWER
Answered 2017-Nov-01 at 07:38If I understand you right, you can use this solution :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tsgam
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page