Question: ### MIDTERM ANALYSIS ### # complete the analysis below. # most questions just require code -- no need to copy output or write comments/words. #
### MIDTERM ANALYSIS ### # complete the analysis below. # most questions just require code -- no need to copy output or write comments/words. # some questions are for you to answer with comments/words -- those are indicated. # there are hints at the bottom if you get stuck, but try it without hints first. # remember, your goal is to make sure you understand the material to solve this! ##### section 0: GET STARTED ########## # 0.1 load the packages you need # 0.2 load the nettle.csv data and assign it to a variable # 0.3 take a look at the data using a few functions of your choice # 0.4 which variables are categorical and which are continuous? # (answer in words/comments) # This data comes from Nettle (1998). # # This paper discusses how there are 6500 languages but they are not evenly distributed geographically. # They investigated the relationship between weather patterns and language diversity, # specifically wondering whether places with longer growing seasons have more language diversity. # # Each row of the data represents one country. Other variables are: # continent -- which continent the country belongs to # langs -- number of languages spoken there # population -- number of millions of people living there # area -- the area of the country in square kilometers # growing.season -- the average number of months of the year that crops can grow # 0.5 what are the outcome and predictor variables? # (answer in words/comments) ##### section 1: CHECKING OUT TH
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
