Error when running in Google's Colaboratory

瀏覽次數:10 次
跳到第一則未讀訊息

Saran Ahluwalia

未讀,
2023年3月19日 下午3:48:442023/3/19
收件者:R-inla discussion group
Hi All:

I am trying to run a model in Collaboratory. Here is the link to the notebook.

 I welcome any and all feedback. Thank you, in advance, for your time.

Sincerely,
Saran 

Helpdesk (Haavard Rue)

未讀,
2023年3月19日 下午5:58:332023/3/19
收件者:Saran Ahluwalia、R-inla discussion group
can you add options

inla(..., verbose=TRUE, debug=TRUE)

and share the output?
> --
> You received this message because you are subscribed to the Google
> Groups "R-inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to r-inla-discussion...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/fdcec2be-eed0-45b0-b6ac-c1d90251369en%40googlegroups.com
> .

--
Håvard Rue
he...@r-inla.org

Insang Song

未讀,
2023年3月19日 晚上8:29:062023/3/19
收件者:R-inla discussion group
Hi,
Poisson likelihood accepts integer values, but your outcome variable Cases in NY8 seems double. I think you need to round up or take the integer from NY8@data$Cases.

NY8@data$Cases_int = round(NY8@data$Cases_int)
model_out = inla(Cases_int ~ 1 + AVGIDIST, data = NY8, ...)

Saran Ahluwalia

未讀,
2023年3月20日 上午11:46:512023/3/20
收件者:R-inla discussion group
Incorporating both of your feedback I receive the following (attached).

I believe that the initial error has been resolved?

Screen Shot 2023-03-20 at 11.44.54 AM.png

Helpdesk (Haavard Rue)

未讀,
2023年3月21日 上午8:14:392023/3/21
收件者:Saran Ahluwalia、R-inla discussion group
looks good to me
> --
> You received this message because you are subscribed to the Google
> Groups "R-inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to r-inla-discussion...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/823c48ec-d969-4515-9269-c3ccc737049fn%40googlegroups.com
回覆所有人
回覆作者
轉寄
0 則新訊息