Spatial microsimulation with R:
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Boca Raton, FL
CRC Press, Taylor & Francis Group
[2016]
|
Schriftenreihe: | The R series
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | Includes bibliographical references (pages 253-257) and index |
Beschreibung: | xxi, 259 Seiten Illustrationen, Diagramme 23 cm |
ISBN: | 9781498711548 1498711545 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV045149968 | ||
003 | DE-604 | ||
005 | 20181107 | ||
007 | t | ||
008 | 180827s2016 xxua||| |||| 00||| eng d | ||
010 | |a 016302744 | ||
020 | |a 9781498711548 |9 978-1-4987-1154-8 | ||
020 | |a 1498711545 |9 1-4987-1154-5 | ||
020 | |c 9781498711562 | ||
020 | |c 1498711561 | ||
035 | |a (OCoLC)971259492 | ||
035 | |a (DE-599)BVBBV045149968 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
044 | |a xxu |c US | ||
049 | |a DE-384 | ||
084 | |a RB 10104 |0 (DE-625)142220:12617 |2 rvk | ||
100 | 1 | |a Lovelace, Robin |e Verfasser |0 (DE-588)1103567950 |4 aut | |
245 | 1 | 0 | |a Spatial microsimulation with R |c Robin Lovelace, Morgane Dumont ; with the assistance of Richard Ellison and Maja Založnik |
264 | 1 | |a Boca Raton, FL |b CRC Press, Taylor & Francis Group |c [2016] | |
264 | 4 | |c © 2016 | |
300 | |a xxi, 259 Seiten |b Illustrationen, Diagramme |c 23 cm | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a The R series | |
500 | |a Includes bibliographical references (pages 253-257) and index | ||
650 | 0 | 7 | |a R |g Programm |0 (DE-588)4705956-4 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a R |g Programm |0 (DE-588)4705956-4 |D s |
689 | 0 | |5 DE-604 | |
700 | 1 | |a Dumont, Morgane |e Verfasser |0 (DE-588)1103568035 |4 aut | |
856 | 4 | 2 | |m Digitalisierung UB Augsburg - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030539660&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-030539660 |
Datensatz im Suchindex
_version_ | 1804178822296240128 |
---|---|
adam_text | Contents
I Introducing spatial microsimulation with R 1
1 Introduction 3
1.1 Who this book is for and how to use it .................... 3
1.2 Motivations................................................ 5
1.3 A definition of spatial microsimulation ................... 7
1.4 Learning by doing ......................................... 9
1.5 Why spatial microsimulation with R? ................... 10
1.6 Learning the R language .................................. 12
1.7 Typographic conventions .................................. 13
1.8 An overview of the book ................................. 14
2 Simple World: A worked example of spatial microsimulation 17
2.1 Getting setup with the RStudio environment................ 18
2.1.1 Installing R........................................ 18
2.1.2 RStudio............................................. 19
2.1.3 Projects ........................................ 20
2.1.4 Downloading data for the book....................... 21
2.2 SimpleWorld data ......................................... 22
2.3 Generating a weight matrix................................ 25
2.4 Spatial microdata ........................................ 27
2.5 SimpleWorld in context.................................... 28
2.6 Chapter summary........................................... 29
vii
viii Contents
3 What is spatial microsimulation? 31
3.1 Terminology ................................................. 33
3.1.1 Spatial microsimulation as SimCity.................... 34
3.1.2 Spatial microsimulation: method or approach? .... 34
3.2 What spatial microsimulation is not.......................... 35
3.3 Applications ................................................ 38
3.3.1 Health applications................................... 38
3.3.2 Economic policy evaluation............................ 39
3.3.3 Transport............................................. 41
3.4 Assumptions ................................................. 43
3.5 Chapter summary ............................................. 44
II Generating spatial microdata 45
4 Data preparation 47
4.1 Accessing the input data .................................... 48
4.2 Target and constraint variables.............................. 50
4.3 Loading input data .......................................... 54
4.4 Subsetting to remove excess information ..................... 57
4.5 Re-categorising individual level variables .................. 58
4.6 Matching individual and aggregate level data names........... 59
4.7 ‘Flattening7 the individual level data................... 59
4.8 Chapter summary ............................................. 62
5 Population synthesis 65
5.1 Weighting algorithms ........................................ 66
5.2 Iterative Proportional Fitting............................... 70
5.2.1 IPF in theory......................................... 70
5.2.2 IPF in R ............................................. 72
5.2.3 IPF with ipfp ........................................ 79
5.2.4 IPF with mipfp........................................ 83
5.3 Integerisation............................................... 88
Contents
ix
5.3.1 Concept of integerisation .......................... 88
5.3.2 Example of integerisation........................... 93
5.4 Expansion ................................................. 95
5.4.1 Weights per individual.............................. 95
5.4.2 Weights per category................................ 96
5.5 Integerisation and expansion .............................. 97
5.6 Comparing ipfp with mipfp.................................. 98
5.6.1 Comparing the methods............................... 99
5.6.2 Comparing the weights for SimpleWorld...............101
5.6.3 Comparing the results for SimpleWorld...............107
5.6.4 Speed comparisons.................................. 108
5.7 Chapter summary........................................... 110
6 Alternative approaches to population synthesis 111
6.1 GREGWT ....................................................Ill
6.2 Population synthesis as an optimization problem........... 113
6.2.1 Reweighting with optim and GenSA................... 116
6.2.2 Combinatorial optimisation......................... 118
6.3 simPop ................................................... 120
6.4 The Urban Data Science Toolkit (UDST)......................121
6.5 Chapter summary .........................................121 7
7 Spatial microsimulation in the wild 123
7.1 Selection of constraint variables ........................ 124
7.2 Preparing the input data ................................. 126
7.3 Using the ipfp package.................................... 128
7.3.1 Performing IPF on CakeMap data..................... 128
7.3.2 Integerisation......................................131
7.4 Using the mipfp package .................................. 132
7.4.1 Performing IPF on CakeMap data...................... 132
7.5 Comparing methods of reweighting large datasets ...........137
X
Contents
7.5.1 Comparison of results................................ 138
7.5.2 Comparison of times.................................. 140
7.6 Chapter summary ............................................ 142
8 Model checking and evaluation 143
8.1 Internal validation......................................... 145
8.1.1 Pearson’s r.......................................... 146
8.1.2 Absolute error measures...............................147
8.1.3 Root mean squared error ............................. 148
8.1.4 Chi-squared.......................................... 149
8.1.5 Which test to use?................................... 149
8.1.6 Internal validation of CakeMap ...................... 150
8.2 Empty cells............................................... 158
8.3 External validation ........................................ 159
8.4 Chapter summary ............................................ 160
9 Population synthesis without microdata 161
9.1 Global cross-tables and local marginal distributions ........161
9.2 Two level aggregated data .................................. 168
9.3 Chapter summary ............................................ 170
10 Household allocation 171
10.1 Independent data (individuals and households)............ 172
10.1.1 Household type selection............................. 173
10.1.2 Constituent members selection........................ 173
10.1.3 End of the household generation process.............. 174
10.2 Cross data: individual and household level information . . . 174
10.2.1 Without additional household’s data.................. 175
10.2.2 With additional household’s data......................177
10.3 Chapter summary .............................................181
III Modelling spatial microdata
183
Contents
xi
11 The TRESIS approach to spatial microsimulation 185
11.1 Overview of TRESIS modelling system ...................... 186
11.1.1 Differences between TRESIS and other microsimulation
systems.................................................. 188
11.2 Synthetic households ........................................... 188
11.2.1 What are synthetic households?........................... 188
11.2.2 Required data for generating synthetic households . . 189
11.2.3 Synthetic households in R................................ 190
11.3 Using demand models to allocate synthetic households to zones
using R..........................................................197
11.3.1 Simple discrete choice model for residential location . 198
11.3.2 Results ..................................................201
11.4 Conclusions............................................... 203
11.4.1 Limitations.............................................. 203
11.4.2 MetroScan-TI , . , ...................................... 204
11.4.3 Extending residential location to transport models in R 205
11.5 Chapter summary ................................................ 205
12 Spatial microsimulation for agent-based models 207
12.1 ABM software ................................................... 208
12.2 Setting up Simple World in NetLogo ............................. 209
12.2.1 Graphical User Interface in NetLogo...................... 210
12.3 Allocating attributes to agents................................. 214
12.3.1 Defining variables ...................................... 215
12.3.2 Reading agent data - Option 1............................ 216
12.3.3 Reading agent data - Option 2.............................217
12.4 Running SimpleWorld............................................. 219
12.4.1 More variable definitions................................ 219
12.4.2 More setup procedures.....................................221
12.4.3 The main Go procedure.................................... 222
12.4.4 Adding plots to the model.................................227
12.4.5 Stopping behavior........................................ 228
Contents
xii
12.5 Control the ABM from R....................................231
12.5.1 Running a single NetLogo simulation................. 234
12.5.2 Running multiple NetLogo simulations.................237
12.6 Chapter summary .......................................... 240
13 Appendix: Getting up-to-speed with R 243
13.1 R understands vector algebra.............................. 243
13.2 R is object orientated ................................... 244
13.3 Subsetting in R .......................................... 245
13.4 Further R resources .......................................247
Glossary 249
Bibliography 253
Index
259
|
any_adam_object | 1 |
author | Lovelace, Robin Dumont, Morgane |
author_GND | (DE-588)1103567950 (DE-588)1103568035 |
author_facet | Lovelace, Robin Dumont, Morgane |
author_role | aut aut |
author_sort | Lovelace, Robin |
author_variant | r l rl m d md |
building | Verbundindex |
bvnumber | BV045149968 |
classification_rvk | RB 10104 |
ctrlnum | (OCoLC)971259492 (DE-599)BVBBV045149968 |
discipline | Geographie |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01671nam a2200421 c 4500</leader><controlfield tag="001">BV045149968</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20181107 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">180827s2016 xxua||| |||| 00||| eng d</controlfield><datafield tag="010" ind1=" " ind2=" "><subfield code="a">016302744</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781498711548</subfield><subfield code="9">978-1-4987-1154-8</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1498711545</subfield><subfield code="9">1-4987-1154-5</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="c">9781498711562</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="c">1498711561</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)971259492</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV045149968</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="044" ind1=" " ind2=" "><subfield code="a">xxu</subfield><subfield code="c">US</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-384</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">RB 10104</subfield><subfield code="0">(DE-625)142220:12617</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Lovelace, Robin</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1103567950</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Spatial microsimulation with R</subfield><subfield code="c">Robin Lovelace, Morgane Dumont ; with the assistance of Richard Ellison and Maja Založnik</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Boca Raton, FL</subfield><subfield code="b">CRC Press, Taylor & Francis Group</subfield><subfield code="c">[2016]</subfield></datafield><datafield tag="264" ind1=" " ind2="4"><subfield code="c">© 2016</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xxi, 259 Seiten</subfield><subfield code="b">Illustrationen, Diagramme</subfield><subfield code="c">23 cm</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">The R series</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Includes bibliographical references (pages 253-257) and index</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">R</subfield><subfield code="g">Programm</subfield><subfield code="0">(DE-588)4705956-4</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">R</subfield><subfield code="g">Programm</subfield><subfield code="0">(DE-588)4705956-4</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Dumont, Morgane</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1103568035</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Augsburg - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030539660&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-030539660</subfield></datafield></record></collection> |
id | DE-604.BV045149968 |
illustrated | Illustrated |
indexdate | 2024-07-10T08:10:05Z |
institution | BVB |
isbn | 9781498711548 1498711545 |
language | English |
lccn | 016302744 |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-030539660 |
oclc_num | 971259492 |
open_access_boolean | |
owner | DE-384 |
owner_facet | DE-384 |
physical | xxi, 259 Seiten Illustrationen, Diagramme 23 cm |
publishDate | 2016 |
publishDateSearch | 2016 |
publishDateSort | 2016 |
publisher | CRC Press, Taylor & Francis Group |
record_format | marc |
series2 | The R series |
spelling | Lovelace, Robin Verfasser (DE-588)1103567950 aut Spatial microsimulation with R Robin Lovelace, Morgane Dumont ; with the assistance of Richard Ellison and Maja Založnik Boca Raton, FL CRC Press, Taylor & Francis Group [2016] © 2016 xxi, 259 Seiten Illustrationen, Diagramme 23 cm txt rdacontent n rdamedia nc rdacarrier The R series Includes bibliographical references (pages 253-257) and index R Programm (DE-588)4705956-4 gnd rswk-swf R Programm (DE-588)4705956-4 s DE-604 Dumont, Morgane Verfasser (DE-588)1103568035 aut Digitalisierung UB Augsburg - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030539660&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Lovelace, Robin Dumont, Morgane Spatial microsimulation with R R Programm (DE-588)4705956-4 gnd |
subject_GND | (DE-588)4705956-4 |
title | Spatial microsimulation with R |
title_auth | Spatial microsimulation with R |
title_exact_search | Spatial microsimulation with R |
title_full | Spatial microsimulation with R Robin Lovelace, Morgane Dumont ; with the assistance of Richard Ellison and Maja Založnik |
title_fullStr | Spatial microsimulation with R Robin Lovelace, Morgane Dumont ; with the assistance of Richard Ellison and Maja Založnik |
title_full_unstemmed | Spatial microsimulation with R Robin Lovelace, Morgane Dumont ; with the assistance of Richard Ellison and Maja Založnik |
title_short | Spatial microsimulation with R |
title_sort | spatial microsimulation with r |
topic | R Programm (DE-588)4705956-4 gnd |
topic_facet | R Programm |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030539660&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT lovelacerobin spatialmicrosimulationwithr AT dumontmorgane spatialmicrosimulationwithr |