Teachers

Canvas

This course uses Canvas. See tips and guides for Canvas.

Log into Canvas

The syllabus has now been updated, see /studier/emner/matnat/math/STK4021/h22/pensum/

Nov. 8, 2022 7:53 AM

Some of you might have got some results that looks strange for the models in problem 3 (all effects seems to be zero).

However, this seems mainly to be due to that the effects become small (but still significant). By using the option digits=5 either in the print or summary commands on the object you get, you will be able to see the results.  Further, if your object is fit.Bayes, you may get a better plot of the random effects by using the command

plot(fit5.Bayes,pars="b")

Geir

Nov. 2, 2022 10:40 AM

The last part about comparing waic (or loo) is a bit tricky and is ok if you skip this point. For those interested, note that  the pointwise object gives elppd. In order to get lppd you need to add p_waic (see eq (7.13) in the book). Then you can adjust the individual lppd values according to the transformation before you subtract p_waic again in order to get the elppd value on the right scale.

Oct. 27, 2022 11:26 AM