class: center, middle, inverse, title-slide .title[ # DS Skills Lab 01 ] .subtitle[ ##
IntRoductions
] .author[ ### Dr Danielle Evans & Dr Lazaros Gonidis ] .date[ ### 06 Oct 2023 ] --- class: no-scribble <style type="text/css"> a { color: #2ec0f0; font-weight: bold; } a.glossary { font-weight: bold; color: #a497f0; cursor: help; position: relative; } .remark-inline-code { font-size: var(--code-inline-font-size); color: #59a4de; padding: 2px; } strong { font-weight: bold; color: black; } .remark-slide-number { color: black; opacity: 1; font-size: 0.9rem; } .hljs-github .hljs-string, .hljs-github .hljs-doctag { color: #333; } .hljs-github .hljs-literal { color: #333; } .hiddenFrame{ height:1px; width:1px; opacity: 0; } </style> ## Overview - **Module Information** - **ExtRas** + LeadRboard, Cloud ChallengRs, EasteR Eggs, & Hex Awards - **BarbenheimR Recap** - **KahootR** --- class: no-scribble ## Welcome to Discovering Statistics! <p><img style="width: 20%; height: 20%; float: right; padding: 1px;" src="data:image/png;base64,#img/discovr_hex.png"/></p> - In this module we will build on the foundational skills in **R** and **critical** and **statistical thinking** from first year - We'll be by diving into the many permutations of the **linear model** first introduced in **Analysing Data** last term - At the end of this module, you will have a diverse toolkit of **ideas**, **techniques**, and **analyses** for your third year projects! --- class: no-scribble ## About Us **Module Leads** - **Dr Danielle Evans** + Practicals, skills labs, worksheets, mid-term take-away paper - **Professor Andy Field** + Lectures, tutorials, A1 take-away paper - **Dr Lazaros Gonidis** + Practicals - If you haven't done so already, join the [Discord Server](https://discord.gg/MX8hXWGwfA) to ask us questions about the content! --- class: no-scribble ## Teaching Sessions - **Practicals** + Led by **Dr Danielle Evans** and **Dr Lazaros Gonidis** along with a team of **doctoral tutors** + These sessions alternate each week between online and in person - **Lectures** + Delivered in person by **Professor Andy Field** + Usually one lecture per week but for the first two weeks of term only there are two lectures per week - check your timetable on Sussex Direct to make sure you don't miss them! - **Skills Labs** + Delivered in person by **Dr Danielle Evans** <br> .center[ <b>See each linked week page on [Canvas](https://canvas.sussex.ac.uk/courses/26318) for slides, materials, and more information!</b> ] --- class: no-scribble ## Assessments - Look on [Canvas](https://canvas.sussex.ac.uk/courses/26318/pages/assessment-information) for more information about assessments! - [Practical Worksheets](https://canvas.sussex.ac.uk/courses/26318/pages/worksheet-information) every week - 20% - [Mid-term Take Away Paper (TAP)](https://canvas.sussex.ac.uk/courses/26318/pages/mid-term-tap-assessment-information) in Week 7 - 25% - [Research Participation (SONA)](https://canvas.sussex.ac.uk/courses/26318/pages/research-participation-module-credits-scheme) - 5% - [A1 Take Away Paper (TAP)](https://canvas.sussex.ac.uk/courses/26318/pages/a1-tap-assessment-information-2) - 50% - You will also use your analytical and interpretation skills from the **mid-term TAP** assessment to complete your **Developmental Psychology lab report** due in Week 10 --- class: no-scribble ## LeadRboard - In every **Skills Lab**, you'll have the opportunity to earn points by participating in **Kahoot quizzes** - At the end of term, the students with the highest score will receive a **pRize** for all their hard work! + You just need to make sure to use the same username each week so that your points are counted + You don't have to use your real name, but choose something memorable and unique to you & write it down! + You must [submit your username on Canvas](https://canvas.sussex.ac.uk/courses/26318/quizzes/39816) so that we can verify winnRs at the end of term, so please do this now if you haven't done so already! ??? choose something sensible, unique to you and memorable it must be the same username each week Please note that this username will be publicly visible. Anything offensive will be removed and subject to the usual University reporting procedures. be mature --- class: no-scribble ## LeadRboard - After the first Kahoot, you'll be able to view your score on the **leadRboard** on [Canvas](https://canvas.sussex.ac.uk/courses/26318/pages/kahoot-leadrboard) <br> <iframe src="https://de-sussex.shinyapps.io/leadeRboard/"style="height: 40%; width: 100%"frameBorder="0"></iframe> <style type="text/css"> .tooltip { position: relative; display: inline-block; } .tooltip .tooltiptext { visibility: hidden; width: 280px; background-color: #c8c0f6; color: #fff; text-align: center; border-radius: 6px; padding: 5px 0; position: absolute; z-index: 1; bottom: 35%; left: 124%; margin-left: -60px; opacity: 0; transition: opacity 0.3s; } .tooltip .tooltiptext::after { content: ""; position: absolute; top: 50%; right: 100%; /* To the left of the tooltip */ margin-top: -5px; border-width: 5px; border-style: solid; border-color: transparent #c8c0f6 transparent transparent; } .tooltip:hover .tooltiptext { visibility: visible; opacity: 1; } </style> --- class: no-scribble ## Cloud ChallengRs - As self-proclaimed neRds, we love nothing more than creating cool stuff in **R** and telling anybody who will listen all about it - This process of problem-solving and having a go at creating something really helps to develop R skills, plus it's something fun to do in **R** that usually isn't stats related... 😁 + For example, I LOVE building apps/websites in R, showing them to my friends and saying '**LOOK HOW PRETTY THIS IS**', and making **Spotify playlists** - they're my fave! --- class: no-scribble ## Cloud ChallengRs - So, on the **DS workspace** on the Cloud, there's a list of **Cloud ChallengRs** for you to play around with... + Have you ever wanted to find out the most used emojis/words in your Whatsapp group chat? There's a Cloud ChallengR for that! + Ever wanted to create a meme using code? There's a Cloud ChallengR for that! + Ever wanted to find out the most common lip sync song from RuPaul's drag race? There's a Cloud ChallengR for that! - For each Cloud ChallengR you attempt, you can earn **500 points** to add to your **Kahoot score**, you just need to submit your attempt to [Canvas](https://canvas.sussex.ac.uk/courses/26318/quizzes) to get the extra points added - We'd love to see what you create so please do share them with us in practicals/after skills labs too so we can neRd out with you 😁 --- class: no-scribble <div class="tooltip"><a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" style="color:#ed2791;"><h2>EasteR Eggs 🐣</a></h2><span class="tooltiptext"><i>Go on, click me, I dare you</i></span></div> - I like to hide '<a class='glossary' title='An Easter egg refers to a hidden or secret message, reference, feature, or inside joke that is intentionally placed by the creators of a piece of content, such as a movie, TV show, video game, book, or software application. These hidden elements are often meant to be discovered by attentive and observant audiences, adding an element of surprise, delight, or amusement to the overall experience.'>EasteR Eggs</a>' in my teaching materials because I'm a <s>troll</s> cool lecturer - They might be hidden in definitions (hover over '<b><span style="color: #a497f0;";>EasteR Eggs</span></b>' above), slide text, or in images (hover over the emoji in the slide title) - EasteR Eggs are worth **250 Kahoot points** each, and there might be multiple to find within one Skills Lab lecture - For today, there's just **one to find**, and I've already told you where to look... but usually it won't be that obvious! - You just need to submit what hidden treasuRe you find to the right week on [Canvas](https://canvas.sussex.ac.uk/courses/26318/quizzes) to get your extra points added each week! -- .center[ ### Good Luck Hunting <img src="data:image/png;base64,#./img/43.png" height="70px" style="vertical-align:middle;margin:0px 0px 20px 0px";/> ] --- class: no-scribble ## Hex Stickers - Learning R is hard work, and working hard deserves the best kind of reward: **Hex Stickers**!! - Hexagonal ("hex") stickers have been a feature of the RStats community for years + R enthusiasts give out or get stickers at meetings or conferences, and use them to display their **pRide** - So, for every **Research Methods** module you pass (PAAS, AnD, DS, & QQM), you can collect a Hex sticker: <br> <img src="data:image/png;base64,#./img/official_hex_stickers.jpg" width="75%" style="display: block; margin: auto;" /> --- class: no-scribble ## Hex Awards - [Hex Awards](https://canvas.sussex.ac.uk/courses/26318/pages/hex-awards) are special hex stickers that recognise particular achievements or contributions to this module - There are two weekly awards: <p><img style="width: 20%; height: 20%; float: right; padding: 10px;" src="data:image/png;base64,#img/keen_bean.png"/></p> **Keen Bean** + This award will go to students who are proactive in their learning by asking questions, actively engaging in practicals and showing enthusiasm, dedication, and curiosity <p><img style="width: 20%; height: 20%; float: right; padding: 10px;" src="data:image/png;base64,#img/savioR.png"/></p> **SavioR** + This award will go to students who go out of their way to help other students learn and understand + You can [nominate anyone](https://canvas.sussex.ac.uk/courses/26318/quizzes/39822) who has helped you debug your code or understand a new concept, supported or encouraged you, or any other acts of kindness on this module --- class: no-scribble ## Hex Awards <p><img style="width: 20%; height: 20%; float: right; padding: 10px;" src="data:image/png;base64,#img/high_flyR.png"/></p> - There are two awards at the end of term: **High FlyR** + This award will go students who get top marks for their final overall mark on Discovering Statistics <br> <p><img style="width: 20%; height: 20%; float: right; padding: 10px;" src="data:image/png;base64,#img/climbR.png"/></p> **ClimbR** + This award will go to students who have the biggest improvement between their final overall mark on Analysing Data and their final overall mark on Discovering Statistics --- class: no-scribble ## Calling all gRaphic DesignRs! <p><img style="width: 32%; height: 32%; float: right; padding: 1px;" src="data:image/png;base64,#img/paint.png"/></p> - Do you consider yourself an aRtiste with a flaiR for gRaphic design? - Are you a creative poweRhouse with an eye for beauty that can turn heads and spark inspiRation? - Do you have a passion for coding, statistics, and psychology? --- class: no-scribble ## Calling all gRaphic DesignRs! <p><img style="width: 30%; height: 30%; float: right; padding: 1px;" src="data:image/png;base64,#img/sussex_hex_gull.png"/></p> - Do you consider yourself an aRtiste with a flaiR for gRaphic design? - Are you a creative poweRhouse with an eye for beauty that can turn heads and spark inspiRation? - Do you have a passion for coding, statistics, and psychology? - **Can you create something better than some of the world's brightest statistical minds?** <br><br> -- .center[ ### Then we need you!! ] --- class: no-scribble ## Design-a-hex - We have a competition open to **all students & staff** to design our new Sussex Psychology Hex Sticker! - The requirements: - It must be a hexagon & in the general style of [R hex stickers](https://github.com/rstudio/hex-stickers) - It must capture the spirit of Sussex and coding in **R** in the design - You can use whatever appropriate software you have - Adobe Illustrator is available on all student PCs and you can find free icons [here](https://fontawesome.com/icons) - Let your cReative juices flow and go wild!!! <br><br> <div class="love" style="font-size:90%"> <p><b>Wow!</b> If you want some inspiRation, my favourite package and hex sticker is from <a href="https://github.com/crsh/papaja#papajaprepare-apa-journal-articleswith-r-markdown" style='color: black; font-weight:bold'>papaja</a>... The <a href="https://dplyr.tidyverse.org/" style='color: black; font-weight:bold'>dplyr</a> hex is also pretty cool! </p> </div> --- class: no-scribble ## Design-a-hex - Deadline & Submission: - Submit an image file of your hex sticker to [Canvas](https://canvas.sussex.ac.uk/courses/26318/quizzes/41392) by **24th Nov** (week 8) - We'll shortlist/vote on the submissions and will have the winning hex sticker ready to collect in the final skills lab at the end of term! 😱 - As well as having the pride of seeing your hex sticker on everyone's devices, the winner will also receive an additional pRize for their sticker... <br><br> -- .center[ ### So good luck, & have fun cReating! <img src="data:image/png;base64,#./img/8.png" height="70px" style="vertical-align:middle;margin:0px 0px 20px 0px";/> ] --- class: no-scribble ## Getting Help - This module focuses on developing **R** and **Statistics** skills - These are subjects that need **a lot of practice!!** - But we are here to help you: - Ask questions in practicals, after lectures, at the [R help desk](https://canvas.sussex.ac.uk/courses/26318/external_tools/9050) - Post on [Discord](https://discord.gg/MX8hXWGwfA) - Problem-solve with friends and classmates - Contact the [student mentors](https://canvas.sussex.ac.uk/courses/3317/pages/student-mentors) - There's no such thing as a stupid question when it comes to R/stats!! - It's best to **seek help as early as possible** so we can support you - The worst thing you can do is avoid R entirely and disappear!! --- ## Remember, R is a LeaRning CuRve <br><br> <img src="data:image/png;base64,#./img/time.jpg" width="90%" style="display: block; margin: auto;" /> --- class: no-scribble ## It's never too late to staRt! > <p style="font-size:90%">When I began at Sussex, I didn’t realise that R was a part of my course. As a lazy student, I didn’t even read my prospectus before joining, so it was a complete (unpleasant) surprise that I was studying statistics and coding. <b style="color:#7d6aea">I was absolutely terrified to learn that I now had to learn coding and statistics.</b> </p> > <p style="font-size:90%">I would often put it off, or leave early in the first year, which lead to me getting 42% in my module. <b style="color:#7d6aea">I just couldn't begin to understand this seemingly foreign language of R</b>. As my final year approached, <b style="color:#7d6aea">I began prioritising my time around learning R</b> and stumbled into the mountainous task of completing three different methods of statistical analyses for my dissertation. </p> > <p style="font-size:90%">I had never even tried to learn how to do any of those analyses before. I was unbelievably stressed. With Dr Danielle's guidance, I achieved a 68 in my dissertation. Fast forward two months later, and <b style="color:#7d6aea">I now work as a Data Analyst in the R Programming Language. I love my job</b>. </p> > <p style="font-size:90%">As above, I was never confident in my mathematical or technical abilities. I spent a long period of my academic career putting off learning how to code. <b style="color:#7d6aea">If I can get this far, you all can too. It takes time, be patient and kind to yourself</b>. </p> <i><p style="text-align:right; font-size:80%">Former Student</i></p> --- class: no-scribble ## BarbenheimR Recap 💣 - In our practicals this week, we looked at the Barbenheimer phenomenon, and attempted a few different tasks to remind ourselves about the linear model - **What hypotheses did you test? ** - **Did you find any interesting results?** - If we still have some time left, let's take a look at what I came up with for some of the tasks! - We'll be sticking with the linear model for quite a few weeks so even if we don't get to this today, we'll be looking at it in depth next week onwards! --- class: no-scribble ## KahootR - This is your last chance to [submit your Kahoot username](https://canvas.sussex.ac.uk/courses/26318/quizzes/39816) before we begin! <iframe src="https://embed.kahoot.it/1b14bfad-08c6-4dda-ad97-ddc6b41c9bd3" width=100% height=50% frameBorder="0"></iframe> .center[ ### Kahoot pin: .can-edit.black[ ] ]