You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to R-inla discussion group
Hello all,
I am having some issues understanding what the "seasonal" model is doing.
I have panel data with timeseries from over 800 locations. I want to add a seasonal structure to my data, as my data is the monthly incidence rate of a disease. I am using
f(time, model = "seasonal", season.length = 12).
Is this term adding a seasonal structure to my response or to my error term?
Thanks in advance and sorry if my question is too general.
Best,
Sebastian
Helpdesk
unread,
May 29, 2022, 11:43:04 AM5/29/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Sebastian Rodriguez, R-inla discussion group
with
y ~ 1 + x + f()
then with Gaussian likelihood, then ``1 + x + f()'' is the linear
predictor, and the likelihood account for the observational noise.
if you consider ``1 + x'' as the linear predictor, then -f(), plus the
iid for the Gaussian likelihood, will be the new likelihood, and -f()
goes into the observational `noise''.