Hi Will - I've tided my script and moved the code into three functions to read in the data, tidy the data, and model the data. I've also calculated the odds ratio for each of the predictors in the ordinal model. You might want to check I've done that right!
We can easily add more predictors if you like by adding them to the model definition in the model_data() function.
Hi Will - I've tided my script and moved the code into three functions to read in the data, tidy the data, and model the data. I've also calculated the odds ratio for each of the predictors in the ordinal model. You might want to check I've done that right!
We can easily add more predictors if you like by adding them to the model definition in the model_data() function.