In this technical assignment, you will have the opportunity to apply the statistical knowledge that you’ve learned so far. The assignment will require you to use R Studio and import data. We recognize that doing both of these things may be new to you, so please make sure to ask your Lab TA, lecture TA, or Dr. Woodward any questions that may come up. Though the assignment is not due until Sunday, it is strongly recommended that you start the assignment before then.
You are allowed to work in groups of up to 3 students. However, you need to write the names of the people that you’ve worked with.
I worked by myself
For this assignment, we’ll be using the world happiness report data 2022. It is provided by Ajaypal Singh on Kaggle.com, a website with different types of data.
#attach(PSY3801.WorldHappinessReport2022Fall)
#View(PSY3801.WorldHappinessReport2022Fall)
#PSY3801.WorldHappinessReport2022Fall[ , c(2)]
Nominal data measurement was used to collect the country data, because we couldn’t rank these countries without the other data.
#PSY3801.WorldHappinessReport2022Fall[ , c(1)]
I think interval data measurement was used to collect the rank data, because the country rankings are equal to the happiness level, i.e. the country with the hoghest happiness level is ranked number one.
#PSY3801.WorldHappinessReport2022Fall[ , c(3)]
I think the happiness variable is a way of combining other variables, such as gdp, generosity, life expectancy, etc.., and using them to create a variable that represents “happiness”.
Interval data measurements were used to calculate this data, because the data has order, proportional intervals, and categories. I dont think it could be ratio data, because the 0 value is abritrary.