官术网_书友最值得收藏!

The Brexit votes example

In June 2016, a referendum was held in the United Kingdom (UK) to decide whether or not to remain part of the European Union (EU). 72% of registered voters took part, and of those, 51.2% voted to leave the EU. In February 2017, Martin Rosenbaum, freedom of information specialist at BBC News, published the article, Local Voting Figures Shed New Light on EU Referendum (http://www.bbc.co.uk/news/uk-politics-38762034). He obtained data from 1,070 electoral wards (the smallest administrative pision for electoral purposes in the UK), with numbers for Leave and Remain votes in each ward.

Martin Rosenbaum calculated some statistical associations between the proportion of Leave votes in a ward and some of its social, economic, and demographic characteristics by making use of the most recent UK census, which was conducted in 2011. He used his data for a university class, and that's the data we will use in this example, with some variables removed. The data is provided in a CSV file (data_brexit_referendum.csv) which can be found in the accompanying code repository for this book (https://github.com/PacktPublishing/R-Programming-By-Example). The table shows the variables included in the data:

Data variable descriptions

主站蜘蛛池模板: 清徐县| 建湖县| 房山区| 类乌齐县| 吉安县| 聊城市| 乐平市| 洛宁县| 塔城市| 稻城县| 彰化市| 丹凤县| 滕州市| 玛沁县| 丰城市| 巫山县| 唐海县| 济源市| 旬阳县| 木兰县| 名山县| 迁安市| 康乐县| 宽城| 扬中市| 台湾省| 新闻| 孟连| 库车县| 临城县| 满城县| 苏尼特左旗| 扶沟县| 阳西县| 紫金县| 江都市| 娱乐| 台中市| 布拖县| 晋江市| 罗平县|