using Distributions, Turing, StatsPlots, Random, RDatasets
Students |
---|
Name | Id |
---|---|
Ploni Almoni | 123489589 |
John Smith | 923352302 |
In this assignment we apply checking, evaluation, and comparison techniques to our models.. The assignment is based on the class material:
The assignment consists of two problems. Solve the problems in either Jupyter or Pluto notebook.
Julia provides to R datasets via package RDatasets. We will use the warpbreaks dataset for this problem. You can load the dataset into data frame df
as follows:
df = RDatasets.dataset("datasets", "warpbreaks");
Infer the probability distribution of warp breaks for each of two wool types. Compare the results under separate and hierarchical models. Conduct two studies:
Check, evaluate, and compare the models.
In class, we explored the data set for reedfrog survival experiment. We developed a simple hierarchical model based on the number of aquarium only, as well as a cross-classified model taking predation into account.
NB: Use cross-validation for evaluation.