{"id":3446,"date":"2024-06-06T04:20:32","date_gmt":"2024-06-06T04:20:32","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=3446"},"modified":"2024-06-06T14:10:05","modified_gmt":"2024-06-06T14:10:05","slug":"tidyx-episode-181-likert-scales-planned-comparisons-function","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-episode-181-likert-scales-planned-comparisons-function\/","title":{"rendered":"TidyX Episode 181 &#8211; Likert Scales &#038; Planned Comparisons Function"},"content":{"rendered":"<p>This week, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a><\/strong><\/span> and I continue talking about ways to use for() loops and custom functions to speed up your work. Here, we take some data from the <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.google.com\/url?sa=t&amp;source=web&amp;rct=j&amp;opi=89978449&amp;url=https:\/\/github.com\/rfordatascience\/tidytuesday&amp;ved=2ahUKEwiHsIyOj8aGAxUZMDQIHez8CmAQFnoECBoQAQ&amp;usg=AOvVaw2IX1stMa7pUiafPt4NeJdK\">TidyTuesday project <\/a><\/span><\/strong>on coffee ratings. This data is based on a type of Likert scale where the respondents are scoring their coffee expertise from 0 to 10. The data is stratified by age groups. While there are a number of ways of analyzing Likert scale data (and a lot of disagreements), we felt this was just a useful data set to quickly grab and show how to leverage a for() loop to make comparisons in coffee expertise between age groups, using a t-test.<\/p>\n<p>To watch the screen cast, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.youtube.com\/watch?v=jjbxcUM-nAQ\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n<p>To access our code, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/thebioengineer\/TidyX\/blob\/master\/TidyTuesday_Explained\/181-I_Likert_Coffee\/Likert%20Scales%20%26%20Group%20Comparisons.R\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, Ellis Hughes and I continue talking about ways to use for() loops and custom functions to speed up your work. Here, we take some data from the TidyTuesday project on coffee ratings. This data is based on a type of Likert scale where the respondents are scoring their coffee expertise from 0 to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-3446","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/3446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/comments?post=3446"}],"version-history":[{"count":1,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/3446\/revisions"}],"predecessor-version":[{"id":3447,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/3446\/revisions\/3447"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=3446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=3446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=3446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}