{"part":"task","text":"# Datasets\nPass a dataset's id as the `dataset` argument.\n{\n \"id\": \"pres08\",\n \"rows\": 51,\n \"description\": \"Regression towards the mean represents an empirical phenomenon where an observation with a value of the predictor further away from the distribution\u2019s mean tends to have a value of an outcome variable closer to that mean. This tendency can be explained by chance alone.\\n\\nWe will examine whether or not the US presidential election data exhibit the regression towards the mean phenomenon. To do this, we use Obama\u2019s vote share in the 2008 election to predict his vote share in his 2012 reelection.\\n\\nThe CSV data file pres08.csv contains the election results by state of the 2008 US presidential election.\\nVariable Description\\nstate: abbreviated name of the state\\nstate.name: unabbreviated name of the state\\nObama: Obama\u2019s vote share (percentage)\\nMcCain: McCain\u2019s vote share (percentage)\\nEV: number of Electoral College votes for the state\\n\\nIn addition, we have the CSV file pres12.csv, which contains the election results by state of the 2012 US presidential election.\\nVariable Description\\nstate: abbreviated name of the state\\nObama: Obama\u2019s vote share (percentage)\\nRomney: Romney\u2019s vote share (percentage)\\nEV: number of Electoral College votes for the state\",\n \"columns\": {\n  \"state.name\": \"str\",\n  \"state\": \"str\",\n  \"Obama\": \"int64\",\n  \"McCain\": \"int64\",\n  \"EV\": \"int64\"\n }\n}\n{\n \"id\": \"pres12\",\n \"rows\": 51,\n \"description\": \"Data file pres12.csv of this question; the question's data description is the description of dataset 'pres08'.\",\n \"columns\": {\n  \"state\": \"str\",\n  \"Obama\": \"int64\",\n  \"Romney\": \"int64\",\n  \"EV\": \"int64\"\n }\n}"}