Bayesian Data Analysis Global South (GSU) 2021

You are free to use these assignments in self study and other courses (CC-BY-NC 4.0), but please do not publish complete answers online.

If you are a student on this course, you are allowed to discuss assignments with your friends, but it is not allowed to copy solutions directly from other students or from internet. You can copy, e.g., plotting code from the course demos, but really try to solve the actual assignment problems with your own code and explanations.

## Weekly assignments

There are 9 weekly assignments. Assignments are linked from the schedule and can also be found from git repo assignments folder. The deadline days for the assignments are given in the course schedule.

• There are chat channels #assignment1 etc. you can ask questions about the assignments. Other students and TAs can answer these. There is no guaranteed response time. These channels are best for questions that are likely to have relatively simple answer.
• This course instance is volunteer based, but we try to organize some TA sessions for getting extra help. These sessions are useful if you think you need help that requires a bit more discussion. The questions are answered during the TA session time (if there are too many questions, they may be answered in the chat or next TA session).
• You can use R markdown template for the report. You can also use any other software, but please follow the outline and ideas in the template also available as PDF
• Students return their answers to peergrade by the end of Friday (hand-in period). The deadlines are on Fridays 23:59. We can’t accept late submissions due to the peergrading process.
• After this, each student reviews 3 random other students’ answers and provides feedback via online rubric form in peergrade during Monday (actually the feedback opens on Saturday, but I recommend to take weekends off) to Wednesday 23:59 (peer grading period). By reviewing other report you will see the correct answers in the rubrics, see others answers, and learn more actively by providing feedback for others.
• If you happen to get empty or almost empty report to review, check first if it is better when opened in external pdf reader. If the report is still empty or almost empty, mark the submission as problematic and you will get another report to review.
• If a student receives inappropriate feedback/grading or reaction, they may “flag” it for TAs to check from Wednesday to Sunday (flagging period). In this course instance there is no formal certificate for passing the course, so there is no need to flag lightly, but you can use flagging to report clear misbehavior and we can remove misbehaving students from the system.
• Peergrade alerts: If you are worried that you forget the deadlines, you can set peergade to send you email when assignment opens for submission, 24 hours before assignment close for submission, assignment is open for reviewing, 24 hours before an assignment closes for reviewing if you haven’t started yet, someone likes my feedback (once a day). Click your name -> User Settings to choose which alerts you want.

Report all results in a single, anonymous *.pdf -file and submit it in peergrade. Submitting empty or almost empty pdf files is not allowed. Include also any source code to the report (either in appendix or embedded in the answer). By anonymity it is meant that the report should not contain your name or email. In addition to the correctness of the answers, the overall quality and clearness of the report is also evaluated.

The assignments are mostly solved using computer (R or Python). Related demos for each assignment are available in the course web pages (links in Materials section).

Overall recommendation for many students is to include more text explanations as writing that text is active way of learning, and also it’s easier to see if you have understood the concepts correctly. If you make minimal reports, you will also get minimal feedback and you learn less. The main purpose of the course is to learn, and learning is more effective if you do it in active and interactive way.

Register to peergrade with your email. The class code needed for registration will be posted to all registered students before the course starts.

## Assignment scoring

Points are given from both submitting an assignment and giving feedback. Submission performance gives 70% and feedback performance 30% of the total score. Only those students who returned a given assignment are allowed to give feedback to the answers submitted by others.

### Submission score

After peer grading is over for an assignment, each submission receives a submission score. This score is between 0% and 100% depending on how well the peers evaluated the submission. This is mostly about the technical correcteness and small part about the presentation.

The numerical score for each criteria is normalised to be between 0% and 100%, where 0% is given to the worst, and 100% to the best possible answer. As an example, in a Scale-question with 5 levels, the different answers will count 0%, 25%, 50%, 75%, 100%.

The total submission score is calculated for a submission by averaging the scores from each of the peers. The score from an individual peer evaluating a submission is obtained by averaging over the criteria in the feedback rubric.

Within each assignment, there are two sections Basic requirements and Overall quality of the report. These segments are weighted so that they each provide 7.5% of that assignment’s total score. The remaining 85% is distributed evenly to the rest of the sections. Within each section, the points are distributed evenly among each question.

If a student has flagged some of their received evaluations and a TA has accepted the flag and overruled the original evaluation, then TA’s new evaluation is used for computing the score instead. If a teacher overrules a specific evaluation by one student, that answer is taken to be the correct one for that part of that submission. This means that the evaluations by other students on that part are disregarded in the final score of the submission.

There are 9 assignment rounds in total. Each round has different weighting when computing the total score. The assignment instructions list max points for each assignment as 3, 3, 9, 6, 6, 6, 6, 6, 3. These translate (approximately) to weights 6%, 6%, 19%, 12%, 12%, 12%, 12%, 12%, 6%.

### Feedback score

The feedback score depends on the reactions, such that a student’s feedback score on an assignment is an average of the reactions received. If no reactions have been given to the student’s reviews, no feedback score is computed and it will simply show as “-”.

When you provide feedback, you can provide constructive and positive feedback n how to improve presentation or tell what is already very good. By providing that kind of feedback you are more likely to receive higher feedback score.

The following are reasons to react positively to feedback:

• Reviewer giving you tips on how to improve the presentation of the report or specific answer.
• Reviewer making the effort of finding and pointing out where your bug originates from.

Be kind when reacting to to the feedback. If you didn’t like the feedback, think first a moment, and then re-consider whether it was just the wording that got you angry and maybe there is something useful in the feedback.

Note that the baseline feedback reaction is “Somewhat useful. Could be more elaborate.” which corresponds to 0.5 points or as Peergrade shows it to 50%. It might make you feel better if you consider that the middle option is 100%, as then you have already provided useful feedback which is the goal, and then the higher categories “Very useful” and “Extremely useful” would be 150% and 200% and you can consider receiving bonus points.

## Be polite

Remember to be polite when peergrading, giving feedback, and reacting to feedback. Do not spend a lot of time fighting over the grading of one question from one student. If you don’t agree you can submit a flag or in extreme case contact the TAs. Also, keep in mind that in most of the cases, which we’ve seen, the students have been fighting for points which have less than a 1/1000 effect on the final score. Long fight over that is not worth the time and energy. If you get feedback which makes you angry, breath and wait a moment before unleashing your anger back. We ask you to honor the system and be polite to your peers.

## TA sessions

You can get help for the assignments by asking in the course chat from other students or in TA sessions by asking TAs.

• There are chat channels #assignment1 etc. you can ask questions about the assignments. Other students and TAs can answer these. There is no guaranteed response time. These channels are best for questions that are likely to have relatively simple answer and thus are likely to be answered before the next TA session.
• There are TA sessions for getting one-on-one help. These sessions are not obligatory. These sessions are useful if you think you need help that requires a bit more discussion. The questions are answered duirng the TA session time (if there are two many questions, they may be answered in the chat or next TA session).

As this course instance is based on volunteer TAs we can’t guarantee how many TA session we have each week. TA sessions will be announced during the course.

During the TA session you can get help in the following forms:

• Written communication on the course chat: you will chat with a TA using the “direct messages” feature on the course chat. You can also, for example, share code snippets and equations through chat direct messages if it helps.
• Oral communication on Zoom: you will chat with a TA using a video conference on Zoom. You can also use, for example, screen sharing on Zoom if it helps.

We will use the channel #queue in the course chat to coordinate everything. We announce there when the TA session starts. Then you can write your help request there, describing in sufficient detail exactly what is the problem with which you would need help (see below).

Once a TA is free and your question is the first request in the queue, a TA will mark it with a check mark reaction. Then the TA will contact you and help with your problem. Finally, once the problem is solved, the TA who helped you will delete your request from the queue.

### Getting help via the course chat

• Go to the chat channel #queue.
• Write a help request (see below), starting with the keyword “Chat”.
• A TA will send you a direct message on Chat.
• You will discuss through direct messages until your problem is solved, and then the TA will close the discussion and delete your help request.

Please do not send direct messages to TAs without going through the above protocol. If you have follow-up questions later, please put a new request to the queue.

### Getting help via Zoom

• Open Zoom, and make sure your video and audio are configured correctly. Create a new Zoom conference call, and copy the meeting URL.
• Go to the Chat channel #queue.
• Write a help request (see below), starting with the keyword “Zoom”, and end it with the Zoom meeting URL.
• A TA will click on the meeting URL to join the Zoom conference that you created.
• You will get help until your problem is solved, and then the TA will close the call and delete your help request.

### What to write in the help request?

Your help request should contain a concise summary of exactly what kind of help you would need. Ideally, after reading the help request, a TA should be able to already have an answer for you.

Try to describe what is the problem, what you have tried, what you already know, and exactly what is the relevant part of the code. Please highlight the important parts. Here are some fictional examples of good help requests:

Chat: I am not able to get the correct solution to assignment 2 part c) by using the test data. According to the assignment pdf, the correct solution is 0.4511238, but I am getting the answer 0.3771946. The code for my function is:

EXAMPLE CODE 1

I thought that I have an error in …, so I tried changing … to …, but then I got a different wrong answer, 0.4285443. I think the error may be on line 3 in the code, but I do not know how to fix that.

Zoom: I am trying to install the R package … on my personal laptop and I am getting the following error:

EXAMPLE ERROR

My operating system is …, I have version … of R installed and I am using RStudio. I tried googling the error but was not able to solve the issue. Zoom meeting link: https://aalto.zoom.us/j/XXX

### Acknowledgements

TA session instructions above have been copied from Programming Parallel Computers by Jukka Suomela with CC-BY-4.0 license.