massive transfer of risk-reliability book
133
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,133 @@
|
|||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
pip-wheel-metadata/
|
||||
share/python-wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
.vscode/
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
*.py,cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
.python-version
|
||||
|
||||
# pipenv
|
||||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
||||
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
||||
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
||||
# install all needed dependencies.
|
||||
#Pipfile.lock
|
||||
|
||||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
||||
__pypackages__/
|
||||
|
||||
# Celery stuff
|
||||
celerybeat-schedule
|
||||
celerybeat.pid
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# Jupyter Book
|
||||
_build/
|
||||
75
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
stages:
|
||||
- test
|
||||
- build
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||
REGISTRY_HOST: localhost:5000
|
||||
TAG_LATEST: $REGISTRY_HOST/$CI_PROJECT_NAME/$CI_COMMIT_REF_NAME:latest
|
||||
TAG_DRAFT: $REGISTRY_HOST/$CI_PROJECT_NAME-draft/$CI_COMMIT_REF_NAME:latest
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- .cache/pip
|
||||
|
||||
# This job tests if the book compiles gracefully after a new addition
|
||||
test-build:
|
||||
stage: test
|
||||
image: python:3.11-bullseye
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
script:
|
||||
- pip install -r requirements.txt
|
||||
- jupyter-book clean book/
|
||||
- jupyter-book build book/
|
||||
|
||||
# This job builds the Docker container
|
||||
build-book:
|
||||
stage: build
|
||||
image: docker
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "publish" && $CI_PIPELINE_SOURCE == "push"
|
||||
variables:
|
||||
TAG: $TAG_LATEST
|
||||
- if: $CI_COMMIT_BRANCH == "main" && $CI_PIPELINE_SOURCE == "push"
|
||||
variables:
|
||||
TAG: $TAG_DRAFT
|
||||
before_script:
|
||||
- docker info
|
||||
script:
|
||||
- if [ "$TAG" = "$TAG_LATEST" ]; then sed --in-place=".bak" '/# START DRAFT/,/# END DRAFT/{//!d}' book/_config.yml; fi
|
||||
- docker build -t $TAG .
|
||||
- docker push $TAG
|
||||
|
||||
# This job takes down the existing container and starts the new one
|
||||
deploy-book:
|
||||
stage: deploy
|
||||
image: docker
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "publish" && $CI_PIPELINE_SOURCE == "push"
|
||||
before_script:
|
||||
- docker info
|
||||
- docker stop $CI_PROJECT_NAME || exit_code=$?
|
||||
- if [ $exit_code -ne 0 ]; then echo "Container not found, cannot stop"; else docker rm $CI_PROJECT_NAME; fi
|
||||
script:
|
||||
- docker run -d --restart always -p 8014:8000 --name $CI_PROJECT_NAME $TAG_LATEST # Make sure to use a different port for each book!
|
||||
environment:
|
||||
name: production
|
||||
url: https://interactivetextbooks.citg.tudelft.nl/$CI_PROJECT_NAME
|
||||
|
||||
# Deploy the draft version of the book
|
||||
deploy-draft:
|
||||
stage: deploy
|
||||
image: docker
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "main" && $CI_PIPELINE_SOURCE == "push"
|
||||
before_script:
|
||||
- docker info
|
||||
- docker stop $CI_PROJECT_NAME-draft || exit_code=$?
|
||||
- if [ $exit_code -ne 0 ]; then echo "Container not found, cannot stop"; else docker rm $CI_PROJECT_NAME-draft; fi
|
||||
script:
|
||||
- docker run -d --restart always -p 8015:8000 --name $CI_PROJECT_NAME-draft $TAG_DRAFT
|
||||
environment:
|
||||
name: draft
|
||||
url: https://interactivetextbooks.citg.tudelft.nl/$CI_PROJECT_NAME-draft
|
||||
9
Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM continuumio/miniconda3
|
||||
WORKDIR /book
|
||||
COPY book/ .
|
||||
RUN apt-get update && apt-get -y install git gcc
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
RUN jupyter book clean .
|
||||
RUN jupyter book build .
|
||||
ENTRYPOINT [ "python", "-m", "http.server", "8000", "--directory", "/book/_build/html"]
|
||||
3
LICENSE.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
This book is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
|
||||
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png"/></a>
|
||||
396
book/_bibliography/references.bib
Normal file
|
|
@ -0,0 +1,396 @@
|
|||
@book{adk2022,
|
||||
title={Structural and System Reliability},
|
||||
author={Der Kiureghian, Armen},
|
||||
year={2022},
|
||||
publisher={Cambridge University Press}
|
||||
}
|
||||
|
||||
@article{baecher1982,
|
||||
author = {Baecher, Gregory B},
|
||||
journal = {Engineering Foundations: Updating Subsurface Samplings of Soils and Rocks and their In-Situ Testing, Santa Barbara},
|
||||
title = {Statistical methods in site characterization},
|
||||
year = {1982},
|
||||
pages = {463--492}
|
||||
}
|
||||
|
||||
@book{baecher2003,
|
||||
title={Reliability and statistics in geotechnical engineering},
|
||||
author={Baecher, Gregory B and Christian, John T},
|
||||
year={2003},
|
||||
publisher={John Wiley \& Sons}
|
||||
}
|
||||
|
||||
@misc{baecher2021,
|
||||
title={IFCEE 2021: Karl Terzaghi Lecture: Greg Baecher: Geotechnical Systems, Uncertainty, and Risk},
|
||||
author={Baecher, Gregory B},
|
||||
howpublished={Presentation, YouTube: \url{https://www.youtube.com/watch?v=Y5w1p3uAe0I&ab_channel=Geo-InstituteofASCE}},
|
||||
year={2021}
|
||||
}
|
||||
|
||||
@incollection{cardona2012,
|
||||
title={Determinants of risk: exposure and vulnerability},
|
||||
author={Cardona, Omar Dario and Van Aalst, Maarten K and Birkmann, J{\"o}rn and Fordham, Maureen and Mc Gregor, Glenn and Rosa, Perez and Pulwarty, Roger S and Schipper, E Lisa F and Sinh, Bach Tan and D{\'e}camps, Henri and others},
|
||||
booktitle={Managing the risks of extreme events and disasters to advance climate change adaptation: special report of the intergovernmental panel on climate change},
|
||||
pages={65--108},
|
||||
year={2012},
|
||||
publisher={Cambridge University Press}
|
||||
}
|
||||
|
||||
@book{ditlevsen1996,
|
||||
title={Structural reliability methods},
|
||||
author={Ditlevsen, Ove and Madsen, Henrik O},
|
||||
volume={178},
|
||||
year={1996},
|
||||
publisher={Wiley New York}
|
||||
}
|
||||
|
||||
@article{Eijgenraam2006,
|
||||
author = {C.J.J. Eijgenraam},
|
||||
journal = {CPB discussion paper},
|
||||
title = {Optimal safety standards for dike ring areas},
|
||||
volume = {62},
|
||||
year = {2006},
|
||||
}
|
||||
|
||||
@book{moss2020,
|
||||
title={Applied civil engineering risk analysis},
|
||||
author={Moss, Robb Eric S},
|
||||
year={2020},
|
||||
publisher={Springer}
|
||||
}
|
||||
|
||||
@article{vandantzig1956,
|
||||
author = {D. van Dantzig},
|
||||
journal = {Econometrica},
|
||||
title = {Economic decision problems for flood prevention},
|
||||
volume = {24},
|
||||
year = {1956}
|
||||
}
|
||||
|
||||
@article{vnk2014,
|
||||
author = {{Veiligheid Nederland in Kaart}},
|
||||
title = {De veiligheid van Nederland in kaart},
|
||||
year = {2014},
|
||||
journal = {Rijkswaterstaat},
|
||||
url = {https://www.helpdeskwater.nl/publish/pages/131663/eindrapport_vnk.pdf},
|
||||
}
|
||||
|
||||
@article{vrijling1990,
|
||||
author = {Vrijling, J.K. and van Beurden, J.A.},
|
||||
journal = {Proceedings of the International Conference on Coastal Engineering},
|
||||
title = {Sealevel rise: a probabilistic design problem},
|
||||
year = {1990}
|
||||
}
|
||||
|
||||
@article{vangelder1997,
|
||||
author = {P.H.A.J.M. Van Gelder and J.K. Vrijling and K.A.H. Slijkhuis},
|
||||
journal = {Water for a Changing Global Community},
|
||||
pages = {554-559},
|
||||
title = {Coping with uncertainty in the economical optimization of a dike design},
|
||||
year = {1997},
|
||||
}
|
||||
|
||||
@phdthesis{voorendt2017,
|
||||
title={Design principles of multifunctional flood defences},
|
||||
author={Voorendt, Mark},
|
||||
school={Delft University of Technology, the Netherlands},
|
||||
year={2017}
|
||||
}
|
||||
|
||||
@misc{sympy_why,
|
||||
title={Sympy documentation},
|
||||
author={{SymPy Development Team}},
|
||||
howpublished={\url{https://docs.sympy.org/latest/tutorials/intro-tutorial/intro.html}},
|
||||
year={2023}
|
||||
}
|
||||
|
||||
@misc{jason_moore,
|
||||
title={Learn Multibody Dynamics, SymPy},
|
||||
author={Moore, Jason},
|
||||
howpublished={\url{https://moorepants.github.io/learn-multibody-dynamics/sympy.html}},
|
||||
year={2023}
|
||||
}
|
||||
|
||||
@misc{BFG,
|
||||
title={Animation of the unit circle with angles},
|
||||
author={BFG},
|
||||
howpublished={\url{https://commons.wikimedia.org/wiki/File:Unitycircle-complex.gif}},
|
||||
year={2020}
|
||||
}
|
||||
|
||||
@article{kaplan1981,
|
||||
author = {Kaplan, S. and Garrick, B.J.},
|
||||
journal = {Risk Analysis},
|
||||
pages = {11-27},
|
||||
title = {On The Quantitative Definition of Risk},
|
||||
year = {1981},
|
||||
}
|
||||
|
||||
@inproceedings{farmer1967,
|
||||
title = {Siting Criteria - A New Approach},
|
||||
author = {Farmer, F.R.},
|
||||
year = 1967,
|
||||
month = {April},
|
||||
booktitle = {Proceedings of IAEA Symposium on the Containment and Siting of Nuclear Power Plants},
|
||||
publisher = {International Atomic Energy Agency (IAEA)},
|
||||
address = {Vienna},
|
||||
pages = {303-324},
|
||||
}
|
||||
|
||||
@book{kendall1977,
|
||||
title={The Risks of Nuclear Power Reactors, A Review of the NRC Reactor Safety Study WASH-1400 (NUREG-75/014)},
|
||||
author={Kendall, H.W. and Hubbard, R.B. and Minor, G.C. and Bryan, W.M. (Union of Concerned Scientists)},
|
||||
year={1977},
|
||||
publisher={Cambridge}
|
||||
}
|
||||
|
||||
@article{vlek1996,
|
||||
author = {Vlek, C.A.J.},
|
||||
journal = {Risk Decision and Policy},
|
||||
pages = {9-31},
|
||||
title = {A multi-level, multi-stage and multi-attribute perspective on risk assessment, decision-making and risk control},
|
||||
year = {1996},
|
||||
}
|
||||
|
||||
@article{slovic1987,
|
||||
author = {Slovic, P.},
|
||||
journal = {Science},
|
||||
pages = {280-285},
|
||||
title = {Perception of Risk},
|
||||
year = {1987},
|
||||
}
|
||||
|
||||
@article{voortman2004,
|
||||
author = {Voortman, H.G. and Vrijling, J.K.},
|
||||
journal = {Heron},
|
||||
pages = {75-94},
|
||||
title = {Optimal design of flood defence systems in a changing climate},
|
||||
year = {2004},
|
||||
}
|
||||
|
||||
@article{apostolakis2004,
|
||||
author = {Apostolakis, G.E.},
|
||||
journal = {Risk Analysis},
|
||||
pages = {515-520},
|
||||
title = {How Useful Is Quantitative Risk Assessment?},
|
||||
year = {2004},
|
||||
}
|
||||
|
||||
@article{faber2003,
|
||||
title = {Risk Assessment for Civil Engineering Facilities: Critical Overview and Discussion},
|
||||
journal = {Reliability Engineering & System Safety},
|
||||
volume = {80},
|
||||
number = {2},
|
||||
pages = {173-184},
|
||||
year = {2003},
|
||||
issn = {0951-8320},
|
||||
doi = {https://doi.org/10.1016/S0951-8320(03)00027-9},
|
||||
url = {https://www.sciencedirect.com/science/article/pii/S0951832003000279},
|
||||
author = {Faber, M.H. and Stewart, M.G.},
|
||||
}
|
||||
|
||||
@phdthesis{jongejan2008,
|
||||
title={How safe is safe enough? The government's response to industrial and flood risks},
|
||||
author={Jongejan, R.B.},
|
||||
school={Delft University of Technology, the Netherlands},
|
||||
year={2008}
|
||||
}
|
||||
|
||||
@misc{CUR1997,
|
||||
title={Kansen in de Civiele Techniek, Deel 1: Probabilistisch ontwerpen in theorie},
|
||||
author={CUR{\ }(Civieltechnisch{\ }Centrum{\ }Uitvoering{\ }Research{\ }en{\ }Regelgeving)},
|
||||
howpublished={CUR rapport 190},
|
||||
year={1997}
|
||||
}
|
||||
|
||||
@misc{CIB2001,
|
||||
title={A framework for risk management and risk communications, Work{\ }Group{\ }32,{\ }CIB},
|
||||
author={Vrouwenvelder, T. and Lovegrove, R. and Holicky, M.},
|
||||
howpublished={CIB report 259},
|
||||
year={2001}
|
||||
}
|
||||
|
||||
@article{bea1998,
|
||||
author = {Bea, R.G.},
|
||||
journal = {Reliability Engineering & System Safety},
|
||||
pages = {109-126},
|
||||
title = {Human and Organization Factors: Engineering Operating Safety Into Offshore Structures},
|
||||
year = {1998},
|
||||
}
|
||||
|
||||
@misc{eurocode2001,
|
||||
title={Eurocode - Basis of Structural Design},
|
||||
author={EN 1990:2002 E, Eurocode},
|
||||
howpublished={CEN},
|
||||
year={2001}
|
||||
}
|
||||
|
||||
@book{vrouwenvelder1996,
|
||||
author = {Vrouwenvelder, A.C.W.M. and Vrijling, J.K},
|
||||
title = {Collegedictaat Probabilistisch ontwerpen b3},
|
||||
year = {1996},
|
||||
publisher={TU Delft}
|
||||
}
|
||||
|
||||
@article{starr1967,
|
||||
author = {Starr, C.},
|
||||
journal = {Science},
|
||||
pages = {1232-1238},
|
||||
title = {Social benefit versus technological risk},
|
||||
year = {1967},
|
||||
}
|
||||
|
||||
@inproceedings{taerwe1986,
|
||||
title = {Mastering Global Quality by an Interactive Concept},
|
||||
author = {Taerwe, L.},
|
||||
year = 1986,
|
||||
booktitle = {Proceedings IABSE Symposium Tokyo 1986: Safety and Quality Assurance of Civil Engineering Structures},
|
||||
pages = {317-325},
|
||||
}
|
||||
|
||||
@book{raiffa1961,
|
||||
author = {Raiffa, H. and Schlaifer, R.},
|
||||
title = {Applied Statistical Decision Theory},
|
||||
year = {1961},
|
||||
publisher={Harvard University press},
|
||||
address = {Cambridge, Massachusetts, United States},
|
||||
}
|
||||
|
||||
@book{benjamin1970,
|
||||
author = {Benjamin, J.R. and Cornell, C.A.},
|
||||
title = {Probability, Statistics and Decision for Civil Engineers},
|
||||
year = {1970},
|
||||
publisher={McGraw Hill},
|
||||
}
|
||||
|
||||
@inproceedings{don2003,
|
||||
author = {Don, F.H. and Stolwijk, H.J.J.},
|
||||
booktitle = {CUR (2003) 50 jaar na stormvloed 1953, terugblik en toekomst},
|
||||
title = {Investeren in veiligheid: de watersnoodramp van 1953 en de kosten en baten van het deltaplan},
|
||||
pages={79-98},
|
||||
year = {2003},
|
||||
howpublished={CUR rapport 212},
|
||||
}
|
||||
|
||||
@inproceedings{vrijling2000,
|
||||
title={An Analysis of the Valuation of a Human Life},
|
||||
author={Vrijling, J.K. and Gelder, P.H.A.J.M. van},
|
||||
booktitle={Foresight and Precaution: Proceedings of ESREL 2000, SARS and SRA-Europe Annual Conference. Edited by M.P. Cottam, D.W. Harvey, R.P. Pape and J. Tait},
|
||||
pages={197-200},
|
||||
volume={1},
|
||||
year={2000},
|
||||
address={Edinburgh, Scotland}
|
||||
}
|
||||
|
||||
@article{jongejan2005,
|
||||
author = {Jongejan, R.B. and Jonkman, S.N. and Vrijling, J.K.},
|
||||
journal = {ESREL},
|
||||
title = {Methods for the Valuation of Human Life},
|
||||
year = {2005},
|
||||
}
|
||||
|
||||
@misc{SWOV2012,
|
||||
title={Waardering van immateriële kosten van verkeersdoden},
|
||||
author={SWOV{\ }(Stichting{\ }Wetenschappelijk{\ }Onderzoek{\ }Verkeersveiligheid)},
|
||||
howpublished={Factsheet, \url{http://www.swov.nl/rapport/Factsheets/NL/Factsheet_Immateriele_kosten.pdf}},
|
||||
year={2012},
|
||||
}
|
||||
|
||||
@inproceedings{jeuken2013,
|
||||
author = {Jeuken, A. and Kind, J. and Slootjes, N. and Gauderis, J. and Vos, R.},
|
||||
year = {2013},
|
||||
month = {01},
|
||||
pages = {},
|
||||
title = {Cost-benefit Analysis of Flood Risk Management Strategies for the Rhine-Meuse Delta},
|
||||
booktitle = {Comprehensive Flood Risk Management, Taylor & Francis Group},
|
||||
}
|
||||
|
||||
@article{tengs1995,
|
||||
author = {Tengs, T.O. and Adams, M.E. and Pliskin, J.S. and Gelb Safran, D. and Siegel, J.E. and Weinstein, M.C. and Graham, J.D.},
|
||||
journal = {Risk Analysis},
|
||||
volume={15},
|
||||
number={3},
|
||||
pages={369-390},
|
||||
title = {Five-hundred Live Saving Interventions and Their Cost Effectiveness},
|
||||
year = {1995},
|
||||
}
|
||||
|
||||
@misc{TAW1985,
|
||||
title={Some Considerations of an Acceptable Level of Risk in the Netherlands},
|
||||
author={TAW{\ }(Technical{\ }Advisory{\ }Committee{\ }on{\ }Water{\ }Defences)},
|
||||
howpublished={Report by TAW workgroup 10 'Probabilistic methods'},
|
||||
year={1985},
|
||||
}
|
||||
|
||||
@article{vrijling1995,
|
||||
author = {Vrijling, J.K. and Hengel, W. van and Houben, R.J.},
|
||||
journal = {Journal of Hazardous Materials},
|
||||
volume={43},
|
||||
pages = {245-261},
|
||||
title = {A Framework for Risk Evaluation},
|
||||
year = {1995},
|
||||
}
|
||||
|
||||
@article{vrijling1998,
|
||||
author = {Vrijling, J.K. and Hengel, W. van and Houben, R.J.},
|
||||
journal = {Reliability Engineering and System Safety},
|
||||
volume={59},
|
||||
pages = {141-150},
|
||||
title = {Acceptable Risk as a Basis for Design},
|
||||
year = {1998},
|
||||
}
|
||||
|
||||
@article{jonkman2003,
|
||||
author = {Jonkman, S.N. and van Gelder, P.H.A.J.M. and Vrijling, J.K.},
|
||||
journal = {Journal of Hazardous Materials},
|
||||
volume={A99},
|
||||
pages = {1-30},
|
||||
title = {An Overview of Quantitative Risk Measures for Loss of Life and Economic Damage},
|
||||
year = {2003},
|
||||
}
|
||||
|
||||
@article{bottelberghs2000,
|
||||
author = {Bottelberghs, P.H.},
|
||||
journal = {Journal of Hazardous Materials},
|
||||
volume={71},
|
||||
pages = {117-123},
|
||||
title = {Risk Analysis and Safety Policy Developments in the Netherlands},
|
||||
year = {2000},
|
||||
}
|
||||
|
||||
@article{vrijling2001,
|
||||
title = {Probabilistic Design of Water Defense Systems in The Netherlands},
|
||||
journal = {Reliability Engineering & System Safety},
|
||||
volume = {74},
|
||||
number = {3},
|
||||
pages = {337-344},
|
||||
year = {2001},
|
||||
issn = {0951-8320},
|
||||
doi = {https://doi.org/10.1016/S0951-8320(01)00082-5},
|
||||
url = {https://www.sciencedirect.com/science/article/pii/S0951832001000825},
|
||||
author = {Vrijling, J.K.},
|
||||
}
|
||||
|
||||
@misc{delta2014,
|
||||
title={Deltaprogramma Veiligheid. Synthesedocument Veiligheid},
|
||||
author={Deltaprogramma},
|
||||
howpublished={Achtergronddocument B1},
|
||||
year={2014}
|
||||
}
|
||||
|
||||
@article{sitar1987,
|
||||
title = {First-order Reliability Approach to Stochastic Analysis of Subsurface Flow and Contaminant Transport},
|
||||
journal = {Water Resources Research},
|
||||
volume = {23},
|
||||
number = {5},
|
||||
pages = {794-804},
|
||||
year = {1987},
|
||||
author = {Sitar, N. and Cawlfield, J. D. and Der Kiureghian, A.},
|
||||
}
|
||||
|
||||
@misc{usace14,
|
||||
title={Safety and Health Requirements Manual},
|
||||
author={U.S.{\ }Army{\ }Corps{\ }of{\ }Engineers},
|
||||
howpublished={EM 385-1-1},
|
||||
year={2014}
|
||||
}
|
||||
61
book/_config.yml
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
title: Risk and Reliability for Engineers
|
||||
author: Robert Lanzafame
|
||||
logo: figures/cover_small.png
|
||||
copyright: Delft University of Technology, CC BY 4.0 # overriden by extra footer/sphinx config
|
||||
|
||||
execute:
|
||||
execute_notebooks: "off"
|
||||
|
||||
launch_buttons:
|
||||
thebe: true
|
||||
|
||||
only_build_toc_files: true
|
||||
|
||||
repository:
|
||||
url: https://gitlab.tudelft.nl/interactivetextbooks-citg/risk-and-reliability/
|
||||
branch: main/book # for edit button; need to check branch permissions non-TUD user access
|
||||
|
||||
html:
|
||||
# X START DRAFT # temporarily enable Hypothesis for published book until Library finishes
|
||||
comments:
|
||||
hypothesis: true
|
||||
# X END DRAFT
|
||||
use_edit_page_button: false
|
||||
use_repository_button: true
|
||||
extra_footer: |
|
||||
<p>
|
||||
© Delft University of Technology, CC BY 4.0
|
||||
<img src="https://gitlab.tudelft.nl/interactivetextbooks-citg/risk-and-reliability/-/raw/main/book/images/TUDelft_logo_rgb.png?ref_type=heads" width="88px">
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">
|
||||
<img alt="Creative Commons License" style="border-width:; width:80px; height:auto; padding-top:0px" src="https://i.creativecommons.org/l/by/4.0/88x31.png" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
sphinx:
|
||||
config:
|
||||
html_show_copyright: false
|
||||
html_js_files:
|
||||
- https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js
|
||||
thebe_config:
|
||||
use_thebe_lite: true
|
||||
exclude_patterns: ["**/_*.yml", "**/*.md", "**/*.ipynb"]
|
||||
# Reference issues
|
||||
# See: https://github.com/executablebooks/jupyter-book/issues/1090
|
||||
# and Milestone 10:
|
||||
# https://gitlab.tudelft.nl/groups/interactivetextbooks-citg/-/milestones/10#tab-issues
|
||||
# This next line was from Caspar/citg-jb-stack and doesn't work (see Issue 24)
|
||||
# https://gitlab.tudelft.nl/interactivetextbooks-citg/risk-and-reliability/-/issues/24
|
||||
# bibtex_reference_style: author_year
|
||||
bibtex_reference_style: author_year_round
|
||||
bibtex_default_style: myapastyle
|
||||
extra_extensions:
|
||||
- sphinx.ext.imgconverter
|
||||
- download_link_replacer
|
||||
- jupyterbook_patches
|
||||
# Local extensions are for bibtex (Thirza's hydrology hack); see above
|
||||
local_extensions:
|
||||
apastyle: _ext/
|
||||
bracket_citation_style: _ext/
|
||||
|
||||
bibtex_bibfiles:
|
||||
- _bibliography/references.bib
|
||||
17
book/_ext/apastyle.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
# from pybtex.style.formatting.unsrt import Style
|
||||
from pybtexapastyle.formatting.apa import APAStyle
|
||||
from pybtexapastyle.labels.apa import LabelStyle as APALabelStyle
|
||||
from pybtex.plugin import register_plugin
|
||||
# from pybtex.style.template import names, sentence
|
||||
|
||||
class MyAPALabelStyle(APALabelStyle):
|
||||
def format_label(self, entry):
|
||||
return APALabelStyle.format_label(self, entry)
|
||||
|
||||
class MyAPAStyle(APAStyle):
|
||||
default_label_style = 'myapa'
|
||||
|
||||
def setup(app):
|
||||
register_plugin('pybtex.style.labels', 'myapa', MyAPALabelStyle)
|
||||
register_plugin('pybtex.style.formatting', 'myapastyle', MyAPAStyle)
|
||||
27
book/_ext/bracket_citation_style.py
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
from dataclasses import dataclass, field
|
||||
import sphinxcontrib.bibtex.plugin
|
||||
|
||||
from sphinxcontrib.bibtex.style.referencing import BracketStyle
|
||||
from sphinxcontrib.bibtex.style.referencing.author_year import AuthorYearReferenceStyle
|
||||
|
||||
|
||||
def bracket_style() -> BracketStyle:
|
||||
return BracketStyle(
|
||||
left='(',
|
||||
right=')',
|
||||
)
|
||||
|
||||
|
||||
@dataclass
|
||||
class MyReferenceStyle(AuthorYearReferenceStyle):
|
||||
bracket_parenthetical: BracketStyle = field(default_factory=bracket_style)
|
||||
bracket_textual: BracketStyle = field(default_factory=bracket_style)
|
||||
bracket_author: BracketStyle = field(default_factory=bracket_style)
|
||||
bracket_label: BracketStyle = field(default_factory=bracket_style)
|
||||
bracket_year: BracketStyle = field(default_factory=bracket_style)
|
||||
|
||||
|
||||
def setup(app):
|
||||
sphinxcontrib.bibtex.plugin.register_plugin(
|
||||
'sphinxcontrib.bibtex.style.referencing',
|
||||
'author_year_round', MyReferenceStyle)
|
||||
114
book/_ext/pybtexapastyle/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
|
||||
# Created by https://www.gitignore.io/api/python
|
||||
|
||||
### Python ###
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# pyenv
|
||||
.python-version
|
||||
|
||||
# celery beat schedule file
|
||||
celerybeat-schedule
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
|
||||
### Python Patch ###
|
||||
.venv/
|
||||
|
||||
|
||||
# End of https://www.gitignore.io/api/python
|
||||
21
book/_ext/pybtexapastyle/LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2018 Naeka
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
0
book/_ext/pybtexapastyle/formatting/__init__.py
Normal file
486
book/_ext/pybtexapastyle/formatting/apa.py
Normal file
|
|
@ -0,0 +1,486 @@
|
|||
# -*- coding:Utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
from pybtex.plugin import find_plugin
|
||||
from pybtex.style.formatting import BaseStyle, toplevel
|
||||
from pybtex.style.template import (
|
||||
field, first_of, href, join, optional, optional_field, sentence, tag,
|
||||
together, words, node, FieldIsMissing
|
||||
)
|
||||
|
||||
from pybtex.richtext import Text, Symbol
|
||||
|
||||
|
||||
firstlast = find_plugin('pybtex.style.names', 'lastfirst')()
|
||||
|
||||
if six.PY2:
|
||||
def format_pages(text):
|
||||
dash_re = re.compile(r'-+')
|
||||
pages = Text(Symbol('ndash')).join(
|
||||
re.split(dash_re, six.text_type(text)))
|
||||
if re.search('[-‒–—―]', six.text_type(text)):
|
||||
return Text("pp.", Symbol('nbsp'), pages)
|
||||
return Text("p.", Symbol('nbsp'), pages)
|
||||
else:
|
||||
def format_pages(text):
|
||||
dash_re = re.compile(r'-+')
|
||||
pages = Text(Symbol('ndash')).join(text.split(dash_re))
|
||||
if re.search('[-‒–—―]', str(text)):
|
||||
return Text("pp.", Symbol('nbsp'), pages)
|
||||
return Text("p.", Symbol('nbsp'), pages)
|
||||
|
||||
|
||||
pages = field('pages', apply_func=format_pages)
|
||||
date = words[field('year'), optional[", ", field('month')]]
|
||||
|
||||
|
||||
@node
|
||||
def apa_names(children, context, role, **kwargs):
|
||||
"""
|
||||
Returns formatted names as an APA compliant reference list citation.
|
||||
"""
|
||||
assert not children
|
||||
|
||||
try:
|
||||
persons = context['entry'].persons[role]
|
||||
except KeyError:
|
||||
raise FieldIsMissing(role, context['entry'])
|
||||
|
||||
style = context['style']
|
||||
|
||||
if len(persons) > 7:
|
||||
persons = persons[:6] + persons[-1:]
|
||||
formatted_names = [style.format_name(
|
||||
person, style.abbreviate_names) for person in persons]
|
||||
return join(sep=', ', last_sep=', … ')[
|
||||
formatted_names].format_data(context)
|
||||
else:
|
||||
formatted_names = [style.format_name(
|
||||
person, style.abbreviate_names) for person in persons]
|
||||
return join(sep=', ', sep2=', & ', last_sep=', & ')[
|
||||
formatted_names].format_data(context)
|
||||
|
||||
|
||||
@node
|
||||
def editor_names(children, context, with_suffix=True, **kwargs):
|
||||
"""
|
||||
Returns formatted editor names for inbook.
|
||||
"""
|
||||
assert not children
|
||||
|
||||
try:
|
||||
editors = context['entry'].persons['editor']
|
||||
except KeyError:
|
||||
raise FieldIsMissing('editor', context['entry'])
|
||||
|
||||
formatted_names = [
|
||||
firstlast.format(editor, True) for editor in editors]
|
||||
|
||||
if with_suffix:
|
||||
return words[
|
||||
join(sep=', ', sep2=', & ', last_sep=', & ')[formatted_names],
|
||||
"(Eds.)" if len(editors) > 1 else "(Ed.)"
|
||||
].format_data(context)
|
||||
|
||||
return join(sep=', ', sep2=', & ', last_sep=', & ')[
|
||||
formatted_names
|
||||
].format_data(context)
|
||||
|
||||
|
||||
class APAStyle(BaseStyle):
|
||||
name = 'apa'
|
||||
default_name_style = 'lastfirst'
|
||||
default_sorting_style = 'author_year_title'
|
||||
default_label_style = 'apa'
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(APAStyle, self).__init__(*args, **kwargs)
|
||||
self.abbreviate_names = True
|
||||
|
||||
def format_names(self, role, as_sentence=True):
|
||||
formatted_names = apa_names(role)
|
||||
if as_sentence:
|
||||
return sentence(capfirst=False)[formatted_names]
|
||||
else:
|
||||
return formatted_names
|
||||
|
||||
def format_author_or_editor_and_date(self, e):
|
||||
if 'author' in e.persons and 'editor' in e.persons:
|
||||
return sentence(sep=' ')[
|
||||
self.format_names('author'), join["(", date, ")."],
|
||||
self.format_editor(e, as_sentence=False)]
|
||||
elif 'author' in e.persons:
|
||||
return sentence(sep=' ')[
|
||||
self.format_names('author'), join["(", date, ")"]]
|
||||
else:
|
||||
return sentence(sep=' ')[
|
||||
self.format_editor(e, as_sentence=False),
|
||||
join["(", date, ")"]]
|
||||
|
||||
def format_editor(self, e, as_sentence=True):
|
||||
editors = self.format_names('editor', as_sentence=False)
|
||||
if 'editor' not in e.persons:
|
||||
# when parsing the template, a FieldIsMissing exception
|
||||
# will be thrown anyway; no need to do anything now,
|
||||
# just return the template that will throw the exception
|
||||
return editors
|
||||
if len(e.persons['editor']) > 1:
|
||||
word = '(Eds.)'
|
||||
else:
|
||||
word = '(Ed.)'
|
||||
result = join(sep=' ')[editors, word]
|
||||
if as_sentence:
|
||||
return sentence[result]
|
||||
else:
|
||||
return result
|
||||
|
||||
def format_volume(self, e, for_article=False):
|
||||
prefix = "Vol."
|
||||
if for_article:
|
||||
return join[
|
||||
tag('em')[field('volume')],
|
||||
optional['(', field('number'), ')'],
|
||||
]
|
||||
else:
|
||||
return optional[together[prefix, field('volume')]]
|
||||
|
||||
def format_title(self, e, which_field, as_sentence=True):
|
||||
formatted_title = field(
|
||||
which_field, apply_func=lambda text: text.capitalize()
|
||||
)
|
||||
if as_sentence:
|
||||
return sentence[formatted_title]
|
||||
else:
|
||||
return formatted_title
|
||||
|
||||
def format_btitle(self, e, which_field, as_sentence=True):
|
||||
formatted_title = tag('em')[field(which_field)]
|
||||
if as_sentence:
|
||||
return sentence[formatted_title]
|
||||
else:
|
||||
return formatted_title
|
||||
|
||||
def format_web_refs(self, e):
|
||||
# Based on urlbst output.web.refs
|
||||
return sentence(add_period=False)[
|
||||
optional[self.format_url(e)],
|
||||
optional[self.format_eprint(e)],
|
||||
optional[self.format_pubmed(e)],
|
||||
optional[self.format_doi(e)],
|
||||
]
|
||||
|
||||
def format_url(self, e):
|
||||
# Based on urlbst format.url
|
||||
return words[
|
||||
'URL:',
|
||||
href[
|
||||
field('url', raw=True),
|
||||
field('url', raw=True)
|
||||
]
|
||||
]
|
||||
|
||||
def format_pubmed(self, e):
|
||||
# Based on urlbst format.pubmed
|
||||
return href[
|
||||
join[
|
||||
'https://www.ncbi.nlm.nih.gov/pubmed/',
|
||||
field('pubmed', raw=True)
|
||||
],
|
||||
join[
|
||||
'PMID:',
|
||||
field('pubmed', raw=True)
|
||||
]
|
||||
]
|
||||
|
||||
def format_doi(self, e):
|
||||
# Based on urlbst format.doi
|
||||
return href[
|
||||
join[
|
||||
'https://doi.org/',
|
||||
field('doi', raw=True)
|
||||
],
|
||||
join[
|
||||
'doi:',
|
||||
field('doi', raw=True)
|
||||
]
|
||||
]
|
||||
|
||||
def format_eprint(self, e):
|
||||
# Based on urlbst format.eprint
|
||||
return href[
|
||||
join[
|
||||
'https://arxiv.org/abs/',
|
||||
field('eprint', raw=True)
|
||||
],
|
||||
join[
|
||||
'arXiv:',
|
||||
field('eprint', raw=True)
|
||||
]
|
||||
]
|
||||
|
||||
def get_article_template(self, e):
|
||||
# Required fields: author, title, journal, year
|
||||
# Optional fields: volume, number, pages, month, note, key
|
||||
volume_and_pages = first_of[
|
||||
# Volume and pages, with optional issue number
|
||||
optional[
|
||||
join[
|
||||
self.format_volume(e, for_article=True),
|
||||
optional[', ', field('pages')]
|
||||
],
|
||||
],
|
||||
# Pages only
|
||||
pages,
|
||||
]
|
||||
template = toplevel[
|
||||
self.format_names('author'),
|
||||
sentence[
|
||||
join["(", date, ")"]
|
||||
],
|
||||
self.format_title(e, 'title'),
|
||||
sentence[
|
||||
tag('em')[field('journal')],
|
||||
optional[volume_and_pages],
|
||||
],
|
||||
sentence[optional_field('note')],
|
||||
self.format_web_refs(e),
|
||||
]
|
||||
return template
|
||||
|
||||
def get_book_template(self, e):
|
||||
# Required fields: author/editor, title, publisher, year
|
||||
# Optional fields: volume, series, address, edition, month, note, key,
|
||||
# isbn
|
||||
return toplevel[
|
||||
self.format_author_or_editor_and_date(e),
|
||||
sentence(sep=' ')[
|
||||
self.format_btitle(e, 'title'),
|
||||
optional[
|
||||
sentence[
|
||||
optional[field('edition'), ' ed.'],
|
||||
self.format_volume(e),
|
||||
]
|
||||
]
|
||||
],
|
||||
sentence(sep=': ')[
|
||||
optional_field('address'),
|
||||
field('publisher'),
|
||||
],
|
||||
sentence[optional_field('note')],
|
||||
]
|
||||
|
||||
def get_booklet_template(self, e):
|
||||
# Required fields: title
|
||||
# Optional fields: author, howpublished, address, month, year, note,
|
||||
# key
|
||||
return toplevel[
|
||||
sentence(sep=' ')[
|
||||
first_of[
|
||||
optional[self.format_names(
|
||||
'author', as_sentence=False)],
|
||||
"None to claim their bones"
|
||||
],
|
||||
join["(", first_of[optional[date], "n.d."], ")"]
|
||||
],
|
||||
self.format_title(e, 'title'),
|
||||
sentence[optional_field('address')],
|
||||
sentence[optional_field('note')],
|
||||
]
|
||||
|
||||
def get_inbook_template(self, e):
|
||||
# Required fields: author/editor, title, chapter/pages, publisher, year
|
||||
# Optional fields: volume, series, address, edition, month, note, key
|
||||
return toplevel[
|
||||
sentence(sep=' ')[
|
||||
self.format_names('author'),
|
||||
join["(", date, ")"]
|
||||
],
|
||||
self.format_title(e, 'title'),
|
||||
sentence(sep=' ')[
|
||||
optional[
|
||||
"In ",
|
||||
editor_names(),
|
||||
","
|
||||
],
|
||||
self.format_btitle(e, 'booktitle', as_sentence=False),
|
||||
optional[
|
||||
join[
|
||||
"(",
|
||||
sentence(add_period=False)[
|
||||
optional[field('edition'), ' ed.'],
|
||||
self.format_volume(e),
|
||||
pages,
|
||||
],
|
||||
")"
|
||||
]
|
||||
]
|
||||
],
|
||||
sentence(sep=': ')[
|
||||
optional_field('address'),
|
||||
field('publisher'),
|
||||
],
|
||||
sentence[optional_field('note')],
|
||||
]
|
||||
|
||||
def get_incollection_template(self, e):
|
||||
# Required fields: author, title, booktitle, year
|
||||
# Optional fields: editor, pages, organization, publisher, address,
|
||||
# month, note, key
|
||||
return toplevel[
|
||||
self.format_author_or_editor_and_date(e),
|
||||
self.format_title(e, 'title'),
|
||||
sentence(sep=' ')[
|
||||
self.format_btitle(e, 'booktitle', as_sentence=False),
|
||||
optional["(", pages, ")"]
|
||||
],
|
||||
sentence(sep=': ')[
|
||||
optional_field('address'),
|
||||
optional_field('publisher'),
|
||||
],
|
||||
sentence[optional_field('note')],
|
||||
]
|
||||
|
||||
def get_inproceedings_template(self, e):
|
||||
# Required fields: author, title, booktitle, year
|
||||
# Optional fields: editor, pages, organization, publisher, address,
|
||||
# month, note, key
|
||||
return toplevel[
|
||||
self.format_author_or_editor_and_date(e),
|
||||
self.format_title(e, 'title'),
|
||||
sentence(sep=' ')[
|
||||
self.format_btitle(e, 'booktitle', as_sentence=False),
|
||||
optional["(", pages, ")"]
|
||||
],
|
||||
sentence(sep=': ')[
|
||||
optional_field('address'),
|
||||
optional_field('publisher'),
|
||||
],
|
||||
sentence[optional_field('note')],
|
||||
self.format_web_refs(e)
|
||||
]
|
||||
|
||||
def get_manual_template(self, e):
|
||||
# Required fields: title
|
||||
# Optional fields: author, organization, address, edition, month, year,
|
||||
# note, key
|
||||
return toplevel[
|
||||
sentence(sep=' ')[
|
||||
first_of[
|
||||
optional[self.format_names('author', as_sentence=False)],
|
||||
optional_field('organization'),
|
||||
"None to claim their bones"
|
||||
],
|
||||
join["(", first_of[optional[date], "n.d."], ")"]
|
||||
],
|
||||
self.format_btitle(e, 'title'),
|
||||
sentence[optional_field('address')],
|
||||
sentence[optional_field('note')],
|
||||
self.format_web_refs(e)
|
||||
]
|
||||
|
||||
def get_mastersthesis_template(self, e):
|
||||
# Required fields: author, title, school, year
|
||||
# Optional fields: address, month, note, key
|
||||
return toplevel[
|
||||
sentence(sep=' ')[
|
||||
self.format_names('author'),
|
||||
join["(", date, ")"]
|
||||
],
|
||||
sentence(sep=' ')[
|
||||
self.format_btitle(e, 'title', as_sentence=False),
|
||||
"(Master's thesis)"
|
||||
],
|
||||
sentence[
|
||||
field('school'),
|
||||
optional_field('address'),
|
||||
],
|
||||
sentence[optional_field('note')],
|
||||
]
|
||||
|
||||
def get_misc_template(self, e):
|
||||
# Required fields: aucun
|
||||
# Optional fields: author, title, howpublished, month, year, note, key,
|
||||
# type
|
||||
template = toplevel[
|
||||
sentence(sep=' ')[
|
||||
first_of[
|
||||
optional[self.format_names('author', as_sentence=False)],
|
||||
optional_field('publisher'),
|
||||
"None to claim their bones"
|
||||
],
|
||||
join["(", first_of[optional[date], "n.d."], ")"]
|
||||
],
|
||||
optional[self.format_title(e, 'title')],
|
||||
sentence[optional_field('note')],
|
||||
self.format_web_refs(e)
|
||||
]
|
||||
return template
|
||||
|
||||
def get_phdthesis_template(self, e):
|
||||
# Required fields: author, title, school, year
|
||||
# Optional fields: address, month, note, key
|
||||
return toplevel[
|
||||
sentence(sep=' ')[
|
||||
self.format_names('author'),
|
||||
join["(", date, ")"]
|
||||
],
|
||||
sentence(sep=' ')[
|
||||
self.format_btitle(e, 'title', as_sentence=False),
|
||||
"(Doctoral dissertation)"
|
||||
],
|
||||
sentence[
|
||||
field('school'),
|
||||
optional_field('address'),
|
||||
],
|
||||
sentence[optional_field('note')],
|
||||
]
|
||||
|
||||
def get_proceedings_template(self, e):
|
||||
# Required fields: title, year
|
||||
# Optional fields: editor, publisher, organization, address, month,
|
||||
# note, key
|
||||
return toplevel[
|
||||
sentence(sep=' ')[
|
||||
first_of[
|
||||
optional[self.format_editor(e, as_sentence=False)],
|
||||
optional_field('organization'),
|
||||
"None to claim their bones"
|
||||
],
|
||||
join["(", first_of[optional[date], "n.d."], ")"]
|
||||
],
|
||||
self.format_btitle(e, 'title'),
|
||||
sentence(sep=': ')[
|
||||
optional_field('address'),
|
||||
optional_field('publisher'),
|
||||
],
|
||||
sentence[optional_field('note')],
|
||||
]
|
||||
|
||||
def get_techreport_template(self, e):
|
||||
# Required fields: author, title, institution, year
|
||||
# Optional fields: type, number, address, month, note, key
|
||||
return toplevel[
|
||||
sentence(sep=' ')[
|
||||
self.format_names('author', as_sentence=False),
|
||||
join["(", date, ")"]
|
||||
],
|
||||
self.format_btitle(e, 'title'),
|
||||
sentence[field('institution')],
|
||||
sentence[optional_field('note')],
|
||||
]
|
||||
|
||||
def get_unpublished_template(self, e):
|
||||
# Required fields: author, title, note
|
||||
# Optional fields: month, year, key
|
||||
template = toplevel[
|
||||
sentence(sep=' ')[
|
||||
self.format_names('author', as_sentence=False),
|
||||
join["(", first_of[optional[date], "n.d."], ")"]
|
||||
],
|
||||
self.format_btitle(e, 'title'),
|
||||
sentence[field('note')],
|
||||
]
|
||||
return template
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
from pybtex.style import FormattedEntry, FormattedBibliography
|
||||
from pybtex.style.template import node, join
|
||||
from pybtex.richtext import Symbol
|
||||
from pybtex.plugin import Plugin, find_plugin
|
||||
|
||||
|
||||
@node
|
||||
def toplevel(children, data):
|
||||
return join(sep=Symbol('newblock')) [children].format_data(data)
|
||||
|
||||
|
||||
class BaseStyle(Plugin):
|
||||
"""
|
||||
The base class for pythonic formatting styles.
|
||||
"""
|
||||
|
||||
default_name_style = None
|
||||
default_label_style = None
|
||||
default_sorting_style = None
|
||||
|
||||
def __init__(self, label_style=None, name_style=None, sorting_style=None, abbreviate_names=False, min_crossrefs=2, **kwargs):
|
||||
self.name_style = find_plugin('pybtex.style.names', name_style or self.default_name_style)()
|
||||
self.label_style = find_plugin('pybtex.style.labels', label_style or self.default_label_style)()
|
||||
self.sorting_style = find_plugin('pybtex.style.sorting', sorting_style or self.default_sorting_style)()
|
||||
self.format_name = self.name_style.format
|
||||
self.format_labels = self.label_style.format_labels
|
||||
self.sort = self.sorting_style.sort
|
||||
self.abbreviate_names = abbreviate_names
|
||||
self.min_crossrefs = min_crossrefs
|
||||
|
||||
def format_entries(self, entries, bib_data=None):
|
||||
sorted_entries = self.sort(entries)
|
||||
labels = self.format_labels(sorted_entries)
|
||||
for label, entry in zip(labels, sorted_entries):
|
||||
yield self.format_entry(label, entry, bib_data=bib_data)
|
||||
|
||||
def format_entry(self, label, entry, bib_data=None):
|
||||
context = {
|
||||
'entry': entry,
|
||||
'style': self,
|
||||
'bib_data': bib_data,
|
||||
}
|
||||
try:
|
||||
get_template = getattr(self, 'get_{}_template'.format(entry.type))
|
||||
except AttributeError:
|
||||
format_method = getattr(self, "format_" + entry.type)
|
||||
text = format_method(context)
|
||||
else:
|
||||
text = get_template(entry).format_data(context)
|
||||
return FormattedEntry(entry.key, text, label)
|
||||
|
||||
def format_bibliography(self, bib_data, citations=None):
|
||||
"""
|
||||
Format bibliography entries with the given keys and return a
|
||||
``FormattedBibliography`` object.
|
||||
|
||||
:param bib_data: A :py:class:`pybtex.database.BibliographyData` object.
|
||||
:param citations: A list of citation keys.
|
||||
"""
|
||||
|
||||
if citations is None:
|
||||
citations = list(bib_data.entries.keys())
|
||||
citations = bib_data.add_extra_citations(citations, self.min_crossrefs)
|
||||
entries = [bib_data.entries[key] for key in citations]
|
||||
formatted_entries = self.format_entries(entries)
|
||||
formatted_bibliography = FormattedBibliography(formatted_entries, style=self, preamble=bib_data.preamble)
|
||||
return formatted_bibliography
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
|
||||
from pybtex.plugin import Plugin
|
||||
|
||||
|
||||
class BaseSortingStyle(Plugin):
|
||||
def sorting_key(self, entry):
|
||||
raise NotImplementedError
|
||||
|
||||
def sort(self, entries):
|
||||
return sorted(entries, key=self.sorting_key)
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
from pybtex.style.sorting import BaseSortingStyle
|
||||
|
||||
class SortingStyle(BaseSortingStyle):
|
||||
|
||||
def sorting_key(self, entry):
|
||||
if entry.type in ('book', 'inbook'):
|
||||
author_key = self.author_editor_key(entry)
|
||||
elif 'author' in entry.persons:
|
||||
author_key = self.persons_key(entry.persons['author'])
|
||||
else:
|
||||
author_key = ''
|
||||
return (author_key, entry.fields.get('year', ''), entry.fields.get('title', ''))
|
||||
|
||||
def persons_key(self, persons):
|
||||
return ' '.join(self.person_key(person) for person in persons)
|
||||
|
||||
def person_key(self, person):
|
||||
if person.prelast_names[0] != '{' and person.last_names[0] != '{' and person.first_names[0] != '{':
|
||||
return ' '.join((
|
||||
' '.join(person.prelast_names + person.last_names),
|
||||
' '.join(person.first_names + person.middle_names),
|
||||
' '.join(person.lineage_names),
|
||||
)).lower()
|
||||
else:
|
||||
return ' '.join((
|
||||
' '.join(person.first_names + person.middle_names),
|
||||
' '.join(person.prelast_names + person.last_names),
|
||||
' '.join(person.lineage_names),
|
||||
)).lower()
|
||||
|
||||
def author_editor_key(self, entry):
|
||||
if entry.persons.get('author'):
|
||||
return self.persons_key(entry.persons['author'])
|
||||
elif entry.persons.get('editor'):
|
||||
return self.persons_key(entry.persons['editor'])
|
||||
else:
|
||||
return ''
|
||||
0
book/_ext/pybtexapastyle/labels/__init__.py
Normal file
67
book/_ext/pybtexapastyle/labels/apa.py
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
# -*- coding:Utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from collections import Counter
|
||||
import re
|
||||
import unicodedata
|
||||
|
||||
from pybtex.style.labels import BaseLabelStyle
|
||||
|
||||
|
||||
_nonalnum_pattern = re.compile('[^A-Za-z0-9 \-]+', re.UNICODE)
|
||||
|
||||
|
||||
def _strip_accents(s):
|
||||
return "".join(
|
||||
(c for c in unicodedata.normalize('NFD', s)
|
||||
if not unicodedata.combining(c)))
|
||||
|
||||
|
||||
def _strip_nonalnum(parts):
|
||||
"""Strip all non-alphanumerical characters from a list of strings.
|
||||
|
||||
>>> print(_strip_nonalnum([u"ÅA. B. Testing 12+}[.@~_", u" 3%"]))
|
||||
AABTesting123
|
||||
"""
|
||||
s = "".join(parts)
|
||||
return _nonalnum_pattern.sub("", _strip_accents(s))
|
||||
|
||||
|
||||
class LabelStyle(BaseLabelStyle):
|
||||
def format_labels(self, sorted_entries):
|
||||
labels = [self.format_label(entry) for entry in sorted_entries]
|
||||
count = Counter(labels)
|
||||
counted = Counter()
|
||||
for label in labels:
|
||||
if count[label] == 1:
|
||||
yield label
|
||||
else:
|
||||
yield label # + chr(ord('a') + counted[label])
|
||||
# counted.update([label])
|
||||
|
||||
def format_label(self, entry):
|
||||
label = "Anonymous"
|
||||
if 'author' in entry.persons:
|
||||
label = self.format_author_or_editor_names(entry.persons['author'])
|
||||
elif 'editor' in entry.persons:
|
||||
label = self.format_author_or_editor_names(entry.persons['editor'])
|
||||
elif 'organization' in entry.fields:
|
||||
label = entry.fields['organization']
|
||||
if label.startswith("The "):
|
||||
label = label[4:]
|
||||
return ''
|
||||
# if 'year' in entry.fields:
|
||||
# return "{}, {}".format(label, entry.fields['year'])
|
||||
# else:
|
||||
# return "{}, n.d.".format(label)
|
||||
|
||||
def format_author_or_editor_names(self, persons):
|
||||
if len(persons) is 1:
|
||||
return _strip_nonalnum(persons[0].last_names)
|
||||
elif len(persons) is 2:
|
||||
return "{} & {}".format(
|
||||
_strip_nonalnum(persons[0].last_names),
|
||||
_strip_nonalnum(persons[1].last_names))
|
||||
else:
|
||||
return "{} et al.".format(
|
||||
_strip_nonalnum(persons[0].last_names))
|
||||
0
book/_ext/pybtexapastyle/names/__init__.py
Normal file
39
book/_ext/pybtexapastyle/names/firstlast.py
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# -*- coding:Utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from pybtex.style.names import BaseNameStyle, name_part
|
||||
from pybtex.style.template import join
|
||||
|
||||
|
||||
class NameStyle(BaseNameStyle):
|
||||
|
||||
def format(self, person, abbr=False):
|
||||
r"""
|
||||
Format names similarly to {vv~}{ll}{, jj}{, f.} in BibTeX.
|
||||
|
||||
>>> from pybtex.database import Person
|
||||
>>> name = Person(string=r"Charles Louis Xavier Joseph de la Vall{\'e}e Poussin")
|
||||
>>> firstlast = NameStyle().format
|
||||
|
||||
>>> print(firstlast(name).format().render_as('latex'))
|
||||
Charles Louis Xavier~Joseph de~la Vall{é}e~Poussin
|
||||
>>> print(firstlast(name).format().render_as('html'))
|
||||
Charles Louis Xavier Joseph de la Vall<span class="bibtex-protected">é</span>e Poussin
|
||||
|
||||
>>> print(firstlast(name, abbr=True).format().render_as('latex'))
|
||||
C.~L. X.~J. de~la Vall{é}e~Poussin
|
||||
>>> print(firstlast(name, abbr=True).format().render_as('html'))
|
||||
C. L. X. J. de la Vall<span class="bibtex-protected">é</span>e Poussin
|
||||
|
||||
>>> name = Person(first='First', last='Last', middle='Middle')
|
||||
>>> print(firstlast(name).format().render_as('latex'))
|
||||
First~Middle Last
|
||||
>>> print(firstlast(name, abbr=True).format().render_as('latex'))
|
||||
F.~M. Last
|
||||
|
||||
"""
|
||||
return join[
|
||||
name_part(abbr=abbr)[person.rich_first_names + person.rich_middle_names],
|
||||
name_part(before=' ')[person.rich_prelast_names],
|
||||
name_part(before=' ')[person.rich_last_names],
|
||||
]
|
||||
27
book/_ext/pybtexapastyle/setup.py
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import setuptools
|
||||
|
||||
|
||||
setuptools.setup(
|
||||
name='pybtex-apa-style',
|
||||
version='1.3',
|
||||
author='Naeka',
|
||||
author_email='contact@naeka.fr',
|
||||
description='Pybtex APA-like style',
|
||||
url='https://github.com/naeka/pybtex-apa-style',
|
||||
py_modules=['formatting.apa', 'labels.apa', 'names.firstlast'],
|
||||
entry_points={
|
||||
'pybtex.style.formatting': 'apa = formatting.apa:APAStyle',
|
||||
'pybtex.style.labels': 'apa = labels.apa:LabelStyle',
|
||||
'pybtex.style.names': 'firstlast = names.firstlast:NameStyle',
|
||||
},
|
||||
classifiers=(
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Operating System :: OS Independent',
|
||||
'Topic :: Text Processing :: Markup',
|
||||
'Topic :: Utilities',
|
||||
),
|
||||
)
|
||||
46
book/_toc.yml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
format: jb-book
|
||||
root: intro.md
|
||||
parts:
|
||||
- caption: Contents
|
||||
chapters:
|
||||
- file: prob-design/overview.md
|
||||
sections:
|
||||
- file: prob-design/01-one-random-variable.md
|
||||
- file: prob-design/02-two-random-variables.md
|
||||
# - file: prob-design/example-river-system.md
|
||||
- file: risk-analysis/overview.md
|
||||
sections:
|
||||
- file: risk-analysis/definition.md
|
||||
- file: risk-analysis/steps.md
|
||||
- file: risk-analysis/risk-curves.md
|
||||
- file: reliability-component/overview.md
|
||||
sections:
|
||||
- file: reliability-component/contamination.ipynb
|
||||
# sections:
|
||||
# - file: reliability-component/case-two-loads.md
|
||||
# - file: reliability-component/case-r-s.md
|
||||
- file: reliability-system/overview.md
|
||||
sections:
|
||||
# - file: reliability-system/system-series.md
|
||||
# - file: reliability-system/system-parallel.md
|
||||
- file: reliability-system/exercise-simple-city.md
|
||||
- file: risk-evaluation/overview.md
|
||||
sections:
|
||||
- file: risk-evaluation/decision.md
|
||||
- file: risk-evaluation/cost-benefit.md
|
||||
- file: risk-evaluation/econ-optimization.md
|
||||
- file: risk-evaluation/example-dike-height.md
|
||||
- file: risk-evaluation/safety-standards.md
|
||||
- file: exercises/overview.md
|
||||
sections:
|
||||
- file: exercises/exercise-fn-curve.md
|
||||
- file: exercises/exercise-paint.md
|
||||
- file: exercises/exercise-dam.md
|
||||
- file: exercises/exercise-sample-exam.md
|
||||
# - file: notebooks/overview.md
|
||||
# sections:
|
||||
# - file: notebooks/flood-risk/Exercise_Flood_Risk_Render.ipynb
|
||||
# - file: notebooks/contamination/Exercise_Contamination_Render.ipynb
|
||||
# - file: notebooks/traffic/Exercise_Traffic_Render.ipynb
|
||||
- file: references.md
|
||||
- file: credits.md
|
||||
12
book/code/cosinewave.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
x = np.linspace(0, 2*np.pi, endpoint=True)
|
||||
y = np.cos(x)
|
||||
|
||||
plt.figure()
|
||||
plt.plot(x, y)
|
||||
plt.title('$y=\cos(x)$')
|
||||
plt.xlabel('$x$')
|
||||
plt.ylabel('$y$')
|
||||
plt.savefig('cosinewave.svg')
|
||||
38
book/code/ex_FN_curve_step_01.py
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
from mpl_toolkits.axisartist.axislines import AxesZero
|
||||
|
||||
# Probability density/mass function
|
||||
|
||||
fig = plt.figure(figsize=(8,6))
|
||||
ax = fig.add_subplot(axes_class=AxesZero)
|
||||
|
||||
for direction in ["xzero", "yzero"]:
|
||||
ax.axis[direction].set_axisline_style("-|>") # add arrows
|
||||
ax.axis[direction].set_visible(True) # x and y from origin
|
||||
|
||||
for direction in ["left", "right", "bottom", "top"]:
|
||||
ax.axis[direction].set_visible(False) # hide borders
|
||||
|
||||
N_fatalities = ['0', '10', '100']
|
||||
N_fatalities_loc = [0.05, 0.30, 0.66]
|
||||
|
||||
pdf = ['0.989', '$10^{-2}$', '$10^{-3}$']
|
||||
pdf_loc = [0.99, 0.66, 0.33]
|
||||
|
||||
ax.bar(N_fatalities_loc, pdf_loc, width=0.05, color= 'lightcyan', edgecolor='k')
|
||||
|
||||
ax.set_xticks(N_fatalities_loc)
|
||||
ax.set_xticklabels(N_fatalities)
|
||||
|
||||
ax.set_yticks(pdf_loc)
|
||||
ax.set_yticklabels(pdf)
|
||||
|
||||
ax.set_title('Probability density/mass function, $f_{N}(n)$', x=0.6, y=1.0)
|
||||
ax.set_xlabel('Fatalities')
|
||||
ax.set_ylabel('Probability')
|
||||
|
||||
ax.axhline(y=0.66, xmin= 0.01, xmax= 0.40, linewidth=1, linestyle='dashed', color='k') # add dashed horizontal lines
|
||||
ax.axhline(y=0.33, xmin= 0.01, xmax= 0.90, linewidth=1, linestyle='dashed', color='k')
|
||||
|
||||
plt.savefig('ex_FN_curve_step_01_py.svg')
|
||||
38
book/code/ex_FN_curve_step_02.py
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
from mpl_toolkits.axisartist.axislines import AxesZero
|
||||
|
||||
# Cumulative Distribution Function
|
||||
|
||||
fig = plt.figure(figsize=(8,6))
|
||||
ax = fig.add_subplot(axes_class=AxesZero)
|
||||
|
||||
for direction in ["xzero", "yzero"]:
|
||||
ax.axis[direction].set_axisline_style("-|>") # add arrows
|
||||
ax.axis[direction].set_visible(True) # x and y from origin
|
||||
|
||||
for direction in ["left", "right", "bottom", "top"]:
|
||||
ax.axis[direction].set_visible(False) # hide borders
|
||||
|
||||
N_fatalities = ['0', '10', '100', '']
|
||||
N_fatalities_loc = [0.03, 0.33, 0.76, 0.95]
|
||||
|
||||
pdf = ['0', '0.989', '0.999', '1']
|
||||
pdf_loc = [0.03, 0.66, 0.86, 0.99]
|
||||
|
||||
ax.step(N_fatalities_loc, pdf_loc, color= 'darkblue',linewidth=4)
|
||||
|
||||
ax.set_xticks(N_fatalities_loc)
|
||||
ax.set_xticklabels(N_fatalities)
|
||||
|
||||
ax.set_yticks(pdf_loc)
|
||||
ax.set_yticklabels(pdf)
|
||||
|
||||
ax.set_title('Cumulative distribution function, $F_{N}(n) = P(N \leq n)$', x=0.55, y=1.0)
|
||||
ax.set_xlabel('Fatalities')
|
||||
ax.set_ylabel('Probability')
|
||||
|
||||
ax.text(0.8, 0.9, r'} $10^{-3}$', fontsize=20)
|
||||
ax.text(0.4, 0.725, r'} $10^{-2}$', fontsize=30)
|
||||
|
||||
plt.savefig('ex_FN_curve_step_02_py.svg')
|
||||
35
book/code/ex_FN_curve_step_03.py
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
from mpl_toolkits.axisartist.axislines import AxesZero
|
||||
|
||||
# FN curve
|
||||
|
||||
fig = plt.figure(figsize=(8,6))
|
||||
ax = fig.add_subplot(axes_class=AxesZero)
|
||||
|
||||
for direction in ["xzero", "yzero"]:
|
||||
ax.axis[direction].set_axisline_style("-|>") # add arrows
|
||||
ax.axis[direction].set_visible(True) # x and y from origin
|
||||
|
||||
for direction in ["left", "right", "bottom", "top"]:
|
||||
ax.axis[direction].set_visible(False) # hide borders
|
||||
|
||||
N_fatalities = ['0', '10', '100','100']
|
||||
N_fatalities_loc = [0.03,0.33, 0.95, 0.95]
|
||||
|
||||
pdf = ['0','$1.1 * 10^{-2}$', '$10^{-3}$','0']
|
||||
pdf_loc = [0.03,0.99, 0.66, 0.03]
|
||||
|
||||
ax.step(N_fatalities_loc, pdf_loc, color= 'darkblue',linewidth=4)
|
||||
|
||||
ax.set_xticks(N_fatalities_loc)
|
||||
ax.set_xticklabels(N_fatalities)
|
||||
|
||||
ax.set_yticks(pdf_loc)
|
||||
ax.set_yticklabels(pdf)
|
||||
|
||||
ax.set_title('FN curve, $1-F_{N}(n) = P(N > n)$', x=0.75, y=1.0)
|
||||
ax.set_xlabel('Fatalities')
|
||||
ax.set_ylabel('Probability')
|
||||
|
||||
plt.savefig('ex_FN_curve_step_03_py.svg')
|
||||
16
book/code/present_value.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
t = np.linspace(0, 101)
|
||||
y_2 = 1 / (1 + 0.02)**t
|
||||
y_4 = 1 / (1 + 0.04)**t
|
||||
|
||||
fig = plt.figure()
|
||||
plt.plot(t, y_2, label='2%')
|
||||
plt.plot(t, y_4, label='4%')
|
||||
plt.grid()
|
||||
plt.legend()
|
||||
plt.xlabel('Year')
|
||||
plt.ylabel('Normalized Present Value [$-$]')
|
||||
|
||||
plt.savefig('present_value_py.svg')
|
||||
54
book/code/risk_types.py
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
# Given Parameters
|
||||
|
||||
N_fatalities = np.linspace(1,1000,1000) # fatalities
|
||||
|
||||
P_df = 0.1; beta = 0.1
|
||||
|
||||
alpha = 2
|
||||
k = 3
|
||||
N_A = 100
|
||||
|
||||
r= 0.025
|
||||
I = 5*10**6
|
||||
B = 0.33
|
||||
|
||||
# Individual Risk
|
||||
|
||||
Pf_ind_risk = (beta*(10**-4))/P_df # per year
|
||||
|
||||
# print('Acceptable Failure Probability: ', Pf_ind_risk)
|
||||
|
||||
# Societal Risk
|
||||
|
||||
C = ((beta*100)/(k*np.sqrt(N_A)))**2 # binomial distribution
|
||||
|
||||
Pf_SR = (C/(N_fatalities**alpha))
|
||||
|
||||
# Economic Risk
|
||||
|
||||
D_damage = (5*10**7)*N_fatalities
|
||||
|
||||
Pf_ER = (I*B*r)/(D_damage)
|
||||
|
||||
# Visualize
|
||||
|
||||
my_linewidth = 4
|
||||
|
||||
plt.figure(figsize=(8,6))
|
||||
|
||||
plt.yscale('log')
|
||||
plt.xscale('log')
|
||||
plt.plot(N_fatalities, Pf_SR, linewidth=my_linewidth, label='Societal Risk')
|
||||
plt.plot(N_fatalities,Pf_ER, linewidth=my_linewidth, color='r', label='Economic Risk')
|
||||
plt.axhline(Pf_ind_risk, linewidth=my_linewidth, color='g', label='Individual Risk')
|
||||
|
||||
plt.ylabel('Probability of Exceedance, $1-F_N(n)$')
|
||||
plt.xlabel('Fatalities, N')
|
||||
plt.ylim(10**(-7),1)
|
||||
|
||||
plt.legend(loc='upper right')
|
||||
|
||||
plt.savefig('risk_types_py.svg')
|
||||
12
book/code/sinewave.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
x = np.linspace(0, 2*np.pi, endpoint=True)
|
||||
y = np.sin(x)
|
||||
|
||||
plt.figure()
|
||||
plt.plot(x, y)
|
||||
plt.title('$y=\sin(x)$')
|
||||
plt.xlabel('$x$')
|
||||
plt.ylabel('$y$')
|
||||
plt.savefig('sinewave.svg')
|
||||
23
book/code/test.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import modulefinder
|
||||
|
||||
finder = modulefinder.ModuleFinder()
|
||||
finder.run_script('cosinewave.py')
|
||||
|
||||
moduleslist = {}
|
||||
for name, mod in finder.modules.iteritems():
|
||||
filename = mod.__file__
|
||||
if filename is None:
|
||||
continue
|
||||
if '__' in name:
|
||||
continue
|
||||
#if "python" in filename.lower():
|
||||
# continue
|
||||
moduleslist[name.split(".")[0]] = True
|
||||
#print '%s: %s' % (name, filename)
|
||||
#print ','.join(mod.globalnames.keys()[:3])
|
||||
|
||||
print('Loaded modules:')
|
||||
for name, dummy in moduleslist.iteritems():
|
||||
print(name)
|
||||
|
||||
input("Press Enter to continue...")
|
||||
44
book/credits.md
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
(credits)=
|
||||
# Credits and License
|
||||
|
||||
You can refer to this book as:
|
||||
|
||||
> Lanzafame, R. (2024) _Risk and Reliability for Engineers_, TU Delft Open, 2024, doi XXXXXXXX.
|
||||
|
||||
The introduction, structure of the book and formatting of contents is done by the Editor, Robert Lanzafame. Some chapters and pages have additional primary authors who are identified within the book either at the bottom of the first page in a chapter, or at the bottom of an individual page, as necessary. If an author is not listed on a particular page, it is Robert Lanzafame.
|
||||
|
||||
You can refer to individual chapters or pages within this book as:
|
||||
|
||||
> `<Primary Author>` (2024) `<Title of Chapter or Page>`. In Robert Lanzafame (Ed.), _Risk and Reliability for Engineers._ TU Delft Open, 2024, doi XXXXXXXX.
|
||||
|
||||
Although content will be added over time, chapter titles and URL's in this book are expected to remain relatively static. However, we make no guarantee, so if it is important for you to reference a specific location within the book, we recommend including the complete URL and date of access in your reference.
|
||||
|
||||
## How the book is made
|
||||
|
||||
This book is created using open source tools: it is a Jupyter Book that is written using Markdown, Jupyter notebooks and Python files to generate some figures. The files are stored on a [public GitLab repository of TU Delft](https://gitlab.tudelft.nl/interactivetextbooks-citg/risk-and-reliability/). The published version of this book is compiled from a special branch (`xxxxxxxx`). View the repository README file or contact the author for additional information.
|
||||
|
||||
(editor)=
|
||||
## About the Editor
|
||||
|
||||
Robert Lanzafame.
|
||||
|
||||
### Acknowledgements
|
||||
|
||||
This book uses adapted excerpts from the lecture notes of a previous course, CIE4130 Probabilistic Design, which was last taught at Delft University of Technology in 2022. In particular, parts of the risk analysis and most of the risk evaluation chapters reuse modified material from Professor Bas Jonkman. This book, and the included exercises, would not be possible without the efforts of many CIE4130 teachers over the last decades (in alphabetical order): Bas Jonkman, Han Vrijling, Oswaldo Morales Napoles, Pieter van Gelder, Raphaël Steenbergen, Robert Lanzafame, Ton Vrouwenvelder.
|
||||
|
||||
Many people provide technical support to enable teachers at the faculty of Civil Engineering and Geosciences (CEG) to develop books for improving the learning experience of our students, especially via development of the MUDE Module (CEGM1000) and through the activities of our teaching assistants. For additional information on books at CEG, contact Robert Lanzafame or Tom van Woudenberg at `books-CEG` AT `tudelft.nl` or visit [interactivetextbooks.citg.tudelft.nl](https://interactivetextbooks.citg.tudelft.nl/). Financial support has been generously granted by the CEG faculty via various grants and discretionary funds.
|
||||
|
||||
Special thanks goes to Caspar Jungbacker, who set up the JupyterBook and GitHub repository to make this book and website possible; Benjamin Ramousse, who brought the bivariate "patterns" to life with Python; and ; Thirza Feenstra, who, along with Caspar and Robert, thought that this whole Jupyter Book thing was a "good idea."
|
||||
|
||||
---
|
||||
|
||||
This book is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
|
||||
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png"/></a>
|
||||
|
||||
The following items referenced in the text are _not_ included in the license:
|
||||
|
||||
{numref}`risk-curve-baecher` and {numref}`risk-curve-baecher-2` are from {cite:t}`baecher2003`, based on {cite:t}`baecher1982` and described in {cite:t}`baecher2021`
|
||||
|
||||
{numref}`risk_matrix` is from an online PDF document (located [here](https://home.army.mil/lee/application/files/7815/3809/1878/Tables.pdf)). The formal definition for the risk matrix can be found in Engineering Manual EM 385-1-1 (located [here](https://www.publications.usace.army.mil/portals/76/publications/engineermanuals/em_385-1-1.pdf)).
|
||||
|
||||
204
book/exercises/example-quiz.json
Normal file
|
|
@ -0,0 +1,204 @@
|
|||
[
|
||||
{
|
||||
"question": "Choose all of the following that can be included in Jupyter notebooks?",
|
||||
"type": "many_choice",
|
||||
"answers": [
|
||||
{
|
||||
"answer": "Text and graphics output from Python",
|
||||
"correct": true,
|
||||
"feedback": "Correct."
|
||||
},
|
||||
{
|
||||
"answer": "Typeset mathematics",
|
||||
"correct": true,
|
||||
"feedback": "Correct."
|
||||
},
|
||||
{
|
||||
"answer": "Python executable code",
|
||||
"correct": true,
|
||||
"feedback": "Correct."
|
||||
},
|
||||
{
|
||||
"answer": "Formatted text",
|
||||
"correct": true,
|
||||
"feedback": "Correct."
|
||||
},
|
||||
{
|
||||
"answer": "Live snakes via Python",
|
||||
"correct": false,
|
||||
"feedback": "I hope not."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": "Which of these are used to create formatted text in Jupyter notebooks?",
|
||||
"type": "multiple_choice",
|
||||
"answers": [
|
||||
{
|
||||
"answer": "Wiki markup",
|
||||
"correct": false,
|
||||
"feedback": "False."
|
||||
},
|
||||
{
|
||||
"answer": "SVG",
|
||||
"correct": false,
|
||||
"feedback": "False."
|
||||
},
|
||||
{
|
||||
"answer": "Markdown",
|
||||
"correct": true,
|
||||
"feedback": "Correct."
|
||||
},
|
||||
{
|
||||
"answer": "Rich Text",
|
||||
"correct": false,
|
||||
"feedback": "False."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": "Enter the value of $\\pi$ to 2 decimal places.",
|
||||
"type": "numeric",
|
||||
"answers": [
|
||||
{
|
||||
"type": "value",
|
||||
"value": 3.14,
|
||||
"correct": true,
|
||||
"feedback": "Correct."
|
||||
},
|
||||
{
|
||||
"type": "range",
|
||||
"range": [
|
||||
3.142857,
|
||||
3.142858
|
||||
],
|
||||
"correct": true,
|
||||
"feedback": "True to 2 decimal places, but you know $\\pi$ is not really 22/7, right?"
|
||||
},
|
||||
{
|
||||
"type": "range",
|
||||
"range": [
|
||||
-100000000,
|
||||
0
|
||||
],
|
||||
"correct": false,
|
||||
"feedback": "$\\pi$ is the AREA of a circle of radius 1. Try again."
|
||||
},
|
||||
{
|
||||
"type": "default",
|
||||
"feedback": "$\\pi$ is the area of a circle of radius 1. Try again."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": "Enter the value of $\\pi$ to 2 decimal places.",
|
||||
"type": "numeric",
|
||||
"precision": 2,
|
||||
"answers": [
|
||||
{
|
||||
"type": "value",
|
||||
"value": 3.14,
|
||||
"correct": true,
|
||||
"feedback": "Correct."
|
||||
},
|
||||
{
|
||||
"type": "range",
|
||||
"range": [
|
||||
3.142857,
|
||||
3.142858
|
||||
],
|
||||
"correct": true,
|
||||
"feedback": "True to 2 decimal places, but you know $\\pi$ is not really 22/7, right?"
|
||||
},
|
||||
{
|
||||
"type": "range",
|
||||
"range": [
|
||||
-100000000,
|
||||
0
|
||||
],
|
||||
"correct": false,
|
||||
"feedback": "$\\pi$ is the AREA of a circle of radius 1. Try again."
|
||||
},
|
||||
{
|
||||
"type": "default",
|
||||
"feedback": "$\\pi$ is the area of a circle of radius 1. Try again."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": "Determine the output of the following Python code:",
|
||||
"code": "a=\"1\"\nb=\"2\"\nprint(a+b)",
|
||||
"type": "multiple_choice",
|
||||
"answers": [
|
||||
{
|
||||
"answer": "1",
|
||||
"correct": false,
|
||||
"feedback": "No. When strings are operated on by +, they are concatenated."
|
||||
},
|
||||
{
|
||||
"answer": "2",
|
||||
"correct": false,
|
||||
"feedback": "No. When strings are operated on by +, they are concatenated."
|
||||
},
|
||||
{
|
||||
"answer": "3",
|
||||
"correct": false,
|
||||
"feedback": "No. When strings are operated on by +, they are concatenated."
|
||||
},
|
||||
{
|
||||
"answer": "12",
|
||||
"correct": true,
|
||||
"feedback": "Yes. The + operator will concatenate the strings \"1\" and \"2\"."
|
||||
},
|
||||
{
|
||||
"answer": "error",
|
||||
"correct": false,
|
||||
"feedback": "No. The + operator for strings performs string concatenation."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": "The variable mylist is a Python list. Choose which code snippet will append the item 3 to mylist.",
|
||||
"type": "multiple_choice",
|
||||
"answers": [
|
||||
{
|
||||
"code": "mylist+=3",
|
||||
"correct": false
|
||||
},
|
||||
{
|
||||
"code": "mylist+=[3]",
|
||||
"correct": true
|
||||
},
|
||||
{
|
||||
"code": "mylist+={3}",
|
||||
"correct": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": "Which of these is the ratio of a circle's circumference to its diameter?",
|
||||
"type": "multiple_choice",
|
||||
"answers": [
|
||||
{
|
||||
"answer": "$\\pi$",
|
||||
"correct": true,
|
||||
"feedback": "Correct."
|
||||
},
|
||||
{
|
||||
"answer": "$\\frac{22}{7}$",
|
||||
"correct": false,
|
||||
"feedback": "$\\frac{22}{7}$ is only an approximation to the true value."
|
||||
},
|
||||
{
|
||||
"answer": "3",
|
||||
"correct": false,
|
||||
"feedback": "This is a crude approximation to the true value."
|
||||
},
|
||||
{
|
||||
"answer": "$\\tau$",
|
||||
"correct": false,
|
||||
"feedback": "True for the ratio of the circle's circumference to its radius, not diameter."
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
154
book/exercises/exercise-dam.md
Normal file
|
|
@ -0,0 +1,154 @@
|
|||
# Dam and River
|
||||
|
||||
You are tasked to analyse the safety of a dam and the downstream river system. Downstream of the dam there is a dike ring protected by two main dike sections which must be able to contain water released from the reservoir. The dike sections are connected to each other and form a continuous boundary along the same side of the river. Let $P(F_1)=0.01$ and $P(F_2)=0.01$ denote failure probability of dike section 1 and section 2 respectively. There appears to be a correlation between failures of both sections, $\rho_{1,2}=0.9$, and the figure below shows the effect of the correlation coefficient on the joint failure of the two sections.
|
||||
|
||||
%commented paragraphs were used for an exam question with a fault tree
|
||||
|
||||
%You are tasked to analyse the safety of a dam. The dam itself can fail due to instability, and another failure mechanism is failure of the spillway due to uncontrolled erosion that could reach the body of the dam. If water levels in the reservoir become high, water is released from the reservoir into the spillway due to overflow, which happens approximately once every 10 years.
|
||||
|
||||
%When water is released through spillway, there are two situations that could lead to a weak spillway prone to erosion and failure: 1) hidden damage to the spillway structure that cannot be detected in yearly inspections, and 2) a crack in the concrete of the spillway which has been missed during the yearly inspection.
|
||||
|
||||
%Downstream of the dam there is an area protected by two main dike sections which must be able to contain water released from the reservoir. A dike section fails if the river discharge exceeds a critical discharge $Q_c$ with a probability of exceedance of 1/100 per year, which leads to flooding of the area. There appears to be a correlation between failures of both sections, $\rho_{1,2}=0.9$, and the figure below shows the effect of the correlation coefficient on the joint failure of the two sections.
|
||||
|
||||
```{figure} ../figures/system-corr-coeff.PNG
|
||||
---
|
||||
width: 400px
|
||||
name: corr-coeff-or
|
||||
---
|
||||
Effect of correlation coefficient joint failure, $P(A \cap B)$ (assume that $P(A \cap B)=0.003$ at $\rho=+0.9$, where the arrow is located).
|
||||
```
|
||||
|
||||
**Question 1:** Estimate the probability of flooding of the area protected by the two dike sections. Assume that the failure probability of each mechanism is 0.01, and they are _not_ independent; however, you can use the figure above to quantify this.
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Flooding of the protected area occurs when at least one of the two dike section fails. This is a series system. Thus, probability of flooding of the protected area can be determined by:
|
||||
|
||||
$$
|
||||
P(\textrm{flooding}) &= P(\textrm{dike sections 1 fails}\:\cup \textrm{dike section 2 fails})\\
|
||||
P(F_1 \cup F_2) &= P(F_1) + P(F_2) - P(F_1 \cap F_2)
|
||||
$$
|
||||
|
||||
Based on the figure and the correlation $\rho_{1,2} = 0.9$, the joint probability of failure $P(F_1 \cap F_2)=0.003$ and the series failure probability is
|
||||
|
||||
$$
|
||||
P(\textrm{flooding}) = 0.01 + 0.01 - 0.003 = 0.017 \: \mathrm{/year}
|
||||
$$
|
||||
```
|
||||
|
||||
## Dam repair: probabilistic planning
|
||||
|
||||
The dam has to be repaired. The responsible minister wants to make sure the whole project is finished within 12 months, and only accepts a probability of 10% that actual construction works exceed this duration. The dam reinforcement consists of two activities. The second activity can only start when the first one has been finished. The durations of both activities are uncertain and normally distributed. The first activity has a mean duration of $\mu_1=4$ months and a standard deviation of $\sigma_1 = 1$ month; for the second activity $\sigma_2 = 2$ months.
|
||||
|
||||
**Question 2:** Compute the mean duration of the activity 2, so that the project duration would fall within the criterion given by the minister.
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Let $T_1$ and $T_2$ denote the duration of activities 1 and 2; $T$ denotes the total duration; $T_1$ and $T_2$ are normally distributed:
|
||||
|
||||
$$
|
||||
T_1 \sim \mathcal{N}(
|
||||
\mu_1=4,\sigma_1=1) \\
|
||||
T_2 \sim \mathcal{N}(\mu_2=?,\sigma_2=2)
|
||||
$$
|
||||
|
||||
$T = T1 + T2$ is also normally distributed, where
|
||||
|
||||
$$
|
||||
\mu_T &= \mu_1 + \mu_2 \\
|
||||
\sigma_T &= \sqrt{\sigma_1^2 + \sigma_2^2} = \sqrt{5} = 2.326
|
||||
$$
|
||||
|
||||
The probability of project duration greater than 12 months can be found with the complementary standard normal CDF, and should be a maximum of 0.1:
|
||||
|
||||
$$
|
||||
1-\Phi\left[\frac{12\:\mathrm{months}-\mu_T}{\sigma_T}\right]=0.1
|
||||
$$
|
||||
|
||||
Applying the inverse CDF allows us to solve for $\mu_1$:
|
||||
|
||||
$$
|
||||
\frac{12-\mu_T}{\sigma_T} &=\Phi^{-1}[0.9] \\
|
||||
\frac{12-(\mu_1 + \mu_2)}{\sigma_T} &=1.2816
|
||||
$$
|
||||
|
||||
$$
|
||||
\mu_1 &= 12 - 1.2816 \cdot \sigma_T - \mu_2 \\
|
||||
\mu_1 &= 12 - 1.282(2.326) - 4 = 5.018\:\mathrm{months}
|
||||
$$
|
||||
|
||||
<!-- Limit state equation: total duration of constuction will not exceed 12 months, thus:
|
||||
|
||||
$$
|
||||
Z = 12 - (T_1 + T_2)
|
||||
$$
|
||||
|
||||
The event $Z<0$ reflects that the actual construction works exceed the duration the minister want (12 months). It is acceptable that the actual construction works exceed this duration with a probability of 10%. Thus: $P(Z<0) = 0.1$. This leads to $\beta_z = 1.28155$
|
||||
|
||||
Application of Level II reliability calculation:
|
||||
|
||||
$$
|
||||
\mu_z = 12 - (\mu_1 + \mu_2) = 8 - \mu_2 \\
|
||||
\sigma_z = \sqrt{\sigma_1^2 + \sigma_2^2} = \sqrt{5} = 2.326 \\
|
||||
8 - \mu_2 = \beta_z \cdot \sigma_z = 2.86 \\
|
||||
\mu_2 = 5.13 \: \mathrm{months}
|
||||
$$ -->
|
||||
```
|
||||
|
||||
## Acceptable risk
|
||||
|
||||
The government wants to study the acceptable risk and the acceptable probability of dam failure. Two criteria are used for acceptable risk:
|
||||
|
||||
- Societal risk (SR): an FN limit line: $P_f \leq 10^{-2}/n^2$.
|
||||
- Individual risk (IR): $IR \leq 10^{-4}$ per year.
|
||||
|
||||
We know that mortality in case of dam failure is $F_{d|f} = 0.1$ and that the population living downstream of the dam is 1000 people.
|
||||
|
||||
**Question 3:** Plot the FN limit line and indicate the acceptable probability of failure according to both criteria (individual risk, societal risk).
|
||||
|
||||
````{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
```{figure} ../figures/exercise-dam-fn-limit-line.png
|
||||
---
|
||||
width: 500px
|
||||
---
|
||||
```
|
||||
````
|
||||
|
||||
**Question 4:** Provide an advice on the acceptable probability of failure for the dam. Give the proposed numerical value and a short motivation.
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Based on individual risk criterion, we have:
|
||||
|
||||
$$
|
||||
IR = P_f P_{d|f} \leq IR_{acc}
|
||||
$$
|
||||
|
||||
where $P_{d|f}=0.1$. Hence, the acceptable probability of failure is:
|
||||
|
||||
$$
|
||||
P_f \leq \frac{IR_{acc}}{P_{d|f}} = \frac{10^{-4}}{0.1} = 10^{-3} \: \mathrm{/year}
|
||||
$$
|
||||
|
||||
Based on societal risk criterion (FN-Curve):
|
||||
|
||||
Acceptable failure probability can be determined by the FN-Curve:
|
||||
|
||||
$$
|
||||
P_f = 1 - F_N(n) \leq \frac{C}{n^\alpha} = \frac{10^{-2}}{n^2}
|
||||
$$
|
||||
|
||||
Based on given information above, expected number of casualties per dam failure event is $n = F_{d|f}\cdot 1000 = 100$.
|
||||
|
||||
$$
|
||||
P_f &\leq \frac{10^{-2}}{100^2} \\
|
||||
P_f &= 10^{-6} \: \mathrm{/year}
|
||||
$$
|
||||
|
||||
The most stringent of the two criteria applies, so the proposed safety standard would be $10^{-6}$ per year for the given inputs.
|
||||
```
|
||||
68
book/exercises/exercise-fn-curve.md
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
(ex_fn_curve)=
|
||||
# FN Curve
|
||||
|
||||
A small town is located in a seismic region threatened by two faults. Fault A has a 10% probability of occurring each year, which would cause 10 fatalities, and Fault B has a 1% chance of occurring, which would cause 100 fatalities. Construct an FN curve for the town. Assume that the town is risk averse and that the tolerable risk limit is governed using a constant of C=1.
|
||||
|
||||
**Question 1:** Compute the expected annual fatalities for the town.
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$
|
||||
E(N) = P_1 \cdot N_1 + P_2 \cdot N_2 = 0.1 \cdot 10 + 0.01 \cdot 100 = 2
|
||||
$$
|
||||
```
|
||||
|
||||
**Question 2:** If the town improved the safety of its buildings, what would be the maximum allowable number of fatalities that would be considered acceptable due to an earthquake on fault A?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Using the limit curve
|
||||
|
||||
$$
|
||||
1 - F_n(n) = C / n^\alpha
|
||||
$$
|
||||
|
||||
$$
|
||||
0.1 = 1 / n^2
|
||||
$$
|
||||
|
||||
$$
|
||||
n = \sqrt{10} \approx 3
|
||||
$$
|
||||
```
|
||||
|
||||
**Question 3:** What is the maximum value for the probability of an earthquake on Fault B that would be considered acceptable by the town?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Using the limit curve
|
||||
|
||||
$$
|
||||
1 - F_n(n) = C / n^\alpha
|
||||
$$
|
||||
|
||||
$$
|
||||
1 - F_n(100) = C / 100^2 = 0.0001 = 10^{-4}
|
||||
$$
|
||||
```
|
||||
|
||||
**Question 4:** Create an FN curve for this situation, including the limit line. Be sure to clearly label the axes and the values of key points on your diagram.
|
||||
|
||||
```{note}
|
||||
If you are not sure what the limit line is, wait for this question until you read the Safety Standards Section (Risk Evaluation chapter).
|
||||
```
|
||||
|
||||
````{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
```{figure} ../figures/exercise-FN-curve.png
|
||||
---
|
||||
width: 600px
|
||||
name: FN-curve
|
||||
---
|
||||
FN-curve for exercise 4
|
||||
```
|
||||
````
|
||||
173
book/exercises/exercise-paint.md
Normal file
|
|
@ -0,0 +1,173 @@
|
|||
# Paint System
|
||||
|
||||
In this assignment we will consider a paint system that prevents rust and corrosion on a steel structure. A high quality paint system costs €40 per square meter and has a failure probability of 0.002, which assumes that the old paint system is completely stripped off and the steel surface is cleaned prior to installation, which has an additional cost of €20 per square meter.
|
||||
|
||||
Common cost cutting measures are to use a cheaper paint that costs half as much, but is five times more likely to fail, or to simply sand the old paint rather than stripping it off prior to applying a new paint, which increases the failure probability by 10, but only costs €5 per square meter.
|
||||
|
||||
During operation of the structure, if a rust spot is found it must be repaired immediately by removing the damaged paint and replacing it. The repair has an additional cost of €500 per square meter.
|
||||
|
||||
Construct a decision tree to evaluate the different options for steel preparation and paint, then use it to answer the following questions. Assume that the owner wants to minimize total costs, that the paint system only fails once in any reference period and that the probability of failure in each year is independent. All costs and probabilities are calculated on a square meter basis.
|
||||
|
||||
%**Question 6:** Upload a photo/scan of your decision tree. Make sure the values and parameters for each branch are clear.
|
||||
|
||||
````{admonition} Decision Tree
|
||||
:class: tip, dropdown
|
||||
|
||||
This problem can be visualized using a decision tree as shown below. However, it results in a different interpretation of the problem than that shown in the solution. For example, consider the top branch at the far right, where 'No rust spot' is assigned a probability of 0.998. This is consistent with the formulation of a decision tree, but not consistent with the problem statement, which implies that the €60 cost associated with cleaning and painting is always done when replacing the paint system (thus a probability of 1.0). This is why the values in the decision tree are slightly different than those in Question 3, for example.
|
||||
|
||||
Although the decision tree is not part of the exam, this illustrates an important lesson: it is very easy to accidentally make probability calculations that are inconsistent with the situation you are trying to evaluate!
|
||||
|
||||
```{figure} ../figures/exercise-decision-tree.png
|
||||
---
|
||||
width: 600px
|
||||
name: decision-tree
|
||||
---
|
||||
Decision tree.
|
||||
```
|
||||
````
|
||||
|
||||
**Question 1:** What is the probability of each paint system failure per square meter over one year?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
| Paint | Cleaning | $p_f$ [1/yr] |
|
||||
|------- |--- | --- |
|
||||
| High-Quality | Stripping | 0.002 |
|
||||
| High-Quality | Sanding | 0.02 |
|
||||
| Low-Quality | Stripping | 0.01 |
|
||||
| Low-Quality | Sanding | 0.10 |
|
||||
```
|
||||
|
||||
**Question 2:** What is the probability of each paint system failure per square meter over a 10 year period?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$P_{f,10y} = 1 - (1 - p_{f,1y})^{10}$$
|
||||
|
||||
| Paint | Cleaning | $p_f$ [1/10-yr] |
|
||||
|------- |--- | --- |
|
||||
| High-Quality | Stripping | 0.02 |
|
||||
| High-Quality | Sanding | 0.18 |
|
||||
| Low-Quality | Stripping | 0.10 |
|
||||
| Low-Quality | Sanding | 0.65 |
|
||||
```
|
||||
|
||||
**Question 3:** What is the expected cost per square meter over a one year period if the owner uses the high quality cleaning and high quality paint?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$
|
||||
40 + 20 + 0.002 \cdot (500 + 40 + 20) = \euro{} 61.12 /\mathrm{m^2}
|
||||
$$
|
||||
```
|
||||
|
||||
**Question 4:** What is the optimal paint system for a one year period?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$C_{paint} + C_{cleaning} + P_{f,1y} \cdot (C_{paint} + C_{cleaning} + C_{repair})$$
|
||||
|
||||
| Paint | Cleaning | Expected cost [€/yr] |
|
||||
|------- |--- | --- |
|
||||
| High-Quality | Stripping | 61.12 |
|
||||
| High-Quality | Sanding | 55.90 |
|
||||
| Low-Quality | Stripping | **45.40** |
|
||||
| Low-Quality | Sanding | 77.50 |
|
||||
|
||||
Low Quality Paint + High Quality Cleaning
|
||||
```
|
||||
|
||||
**Question 5:** What is the optimal paint system for a 10 year period?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$C_{paint} + C_{cleaning} + P_{f,10y} \cdot (C_{paint} + C_{cleaning} + C_{repair})$$
|
||||
|
||||
| Paint | Cleaning | Expected cost [€/10 yr] |
|
||||
|------- |--- | --- |
|
||||
| High-Quality | Stripping | **71.10** |
|
||||
| High-Quality | Sanding | 144.70 |
|
||||
| Low-Quality | Stripping | 91.63 |
|
||||
| Low-Quality | Sanding | 366.94 |
|
||||
|
||||
High Quality Paint + High Quality Cleaning
|
||||
|
||||
**NOTE:** If you're getting slightly different results, don't panic! Most likely you have approximated the probabilities computed above in question 2.
|
||||
```
|
||||
|
||||
Assume the owner has decided to use the cheap paint system, and is simply going to sand it off (i.e. the cheap cleaning method) and re-apply the same system every year (i.e., for these problems consider a 1-year reference period). You have been asked to assess whether it is worthwhile to use a quick sonic test system to prevent failures during the year, and if it is, the number of tests that should be performed per year. Each test costs about €3 per m2, and if a weak spot is found, a new layer of paint can be easily applied, lowering the failure probability by a factor of 0.50.
|
||||
|
||||
**Question 6:** What is the annual expected cost due to paint failure if no sonic inspections are done?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$
|
||||
E(D) = P_f \cdot D = 0.1 \cdot 525 = 52.50
|
||||
$$
|
||||
```
|
||||
|
||||
**Question 7:** What is the annual expected total cost for the paint system if no sonic inspections are done?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Using the decision tree from above: €77.50/m2
|
||||
```
|
||||
|
||||
**Question 8:** What is the change in risk for 3 sonic inspections?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$
|
||||
\Delta E(D) = (P_{f,0} - P_{f,new}) \cdot D = 45.94
|
||||
$$
|
||||
```
|
||||
|
||||
**Question 9:** What is the annual expected cost due to paint failure if 3 sonic inspections are done?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
The expected damage is:
|
||||
$$
|
||||
E(D)=P_f \cdot D={0.5}^3 \cdot 0.1 \cdot 525=6.56
|
||||
$$
|
||||
But the 3 inspections cost €9, thus the total expected cost is €15.56. It is incorrect to multiply the inspection cost by the failure probability. NB: this calculation implies the inspections occur regardles of when the failure happens.
|
||||
|
||||
```
|
||||
|
||||
**Question 10:** What is the maximum number of inspections per year that can be performed that are cost-effective? Note: Round your answer towards the smallest integer.
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
For the investments to be cost effective:
|
||||
|
||||
$$
|
||||
\frac{\Delta E(D)}{I}>1
|
||||
$$
|
||||
|
||||
Which results in a maximum of 17 inspections per year.
|
||||
```
|
||||
|
||||
**Question 11:** What is the optimum number of sonic inspections to perform each year? Plot a graph, with the Risk, Investment and Total cost curves and clearly indicate the optimum.
|
||||
|
||||
````{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
As shown in the figure, the optimum is 3 per year.
|
||||
|
||||
```{figure} ../figures/exercise-optimization.png
|
||||
---
|
||||
width: 600px
|
||||
name: optimization-curve
|
||||
---
|
||||
Optimization curve for exercise 12
|
||||
```
|
||||
````
|
||||
248
book/exercises/exercise-sample-exam.md
Normal file
|
|
@ -0,0 +1,248 @@
|
|||
# Sample Exam Questions
|
||||
|
||||
<!-- ```{admonition} Sample Exam Answers
|
||||
:class: tip
|
||||
|
||||
Answers to the sample exam will be made available on this page after Monday of Week 2.8.
|
||||
``` -->
|
||||
## General Questions
|
||||
|
||||
**Question 1:** Indicate which of the following statements is true (multiple answers possible):
|
||||
1. A parallel system gets stronger if there is a strong positive correlation between failure of the elements.
|
||||
2. Dependence between elements is only determined by dependence in loads.
|
||||
3. In case of a full dependence between two elements $A$ and $B$, it holds that $P(B|A)=1$.
|
||||
4. A flood defence system that is a single line of defence composed of multiple dike sections would best be characterized as a series sytem, not as a parallel system.
|
||||
5. A prison with multiple walls and fences would best be characterized as a series system, not as a parallel system.
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Options 3 and 4 are true.
|
||||
```
|
||||
|
||||
## Flood Protection for a Bay
|
||||
|
||||
A flood protection system for an area at a bay consists of a first line of defence (a dam on the coast) and a second line (a dike around the bay) to protect the city against a storm surge that can cause a high water level in the bay. The design team considers two strategies: 1) a single dike around the bay, or 2) a dike around the bay plus a dam (see figure).
|
||||
|
||||
```{figure} ../figures/exercise-sample-exam-bay.png
|
||||
---
|
||||
width: 400px
|
||||
name: flood-protection
|
||||
---
|
||||
```
|
||||
|
||||
**Question 1:** from the perspective of flooding in the city, the function of the dam and dike together is best described as a (choose one):
|
||||
a. series system
|
||||
b. parallel system
|
||||
c. a single component
|
||||
d. none of the above
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Option b is true.
|
||||
```
|
||||
|
||||
**Question 2:** how will dependence between the dam and dike change the system failure probability? (choose one)
|
||||
a. increase
|
||||
b. decrease
|
||||
c. no change
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Option a is true.
|
||||
```
|
||||
|
||||
**Question 3:** describe whether or not there is dependence between the dam and dike, and what the source could be.
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
It is likely that both structures are constructed of the same material (e.g., local soil), which would respond in a similar way to the storm surge and waves. The structures are also likely to be operated and maintained by the same government agency, which would result in dependence due to human error and maintenance problems.
|
||||
```
|
||||
---
|
||||
The damage in case of flood protection system failure is 1 billion $10^9$ Euros. We compare two different investments in the system. In strategy 1 the system failure probability becomes $10^{-3}$ per year at a cost of 10 million ($10 \cdot 10^{6}$). In strategy 2 the system failure probability becomes $3 \cdot 10^{-4}$ per year at a cost of 50 million.
|
||||
|
||||
**Question 4:** for which value of the interest rate $r$ is strategy 2 the most interesting? (You may consider an infinite lifetime of investments).
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Find $r$ such that the difference in expected damage between strategy 1 and 2, $\Delta p_{f,sys}D/r$, is greater than the difference between the investments, $I_2-I_1$, where the net present value over an infinite lifetime is $1/r$.
|
||||
|
||||
$$
|
||||
r < \frac{\Delta p_{f,sys} D}{I_2-I_1} = \frac{(0.0010-0.0003)\cdot 1000 \text{m€}}{50\: \text{m€}-10\: \text{m€}}=0.0175
|
||||
$$
|
||||
|
||||
Can also set up as solving for $r$ when comparing total costs:
|
||||
|
||||
$$
|
||||
I_1+\frac{p_1 D}{r}>I_2+\frac{p_2 D}{r}
|
||||
$$
|
||||
```
|
||||
---
|
||||
A full scale risk assessment is made for the system with probabilities $P(N>10)=10^{-3}$ per year and $P(N>100)=5 \cdot 10^{-5}$ per year. A so-called limit line is given with values with $C = 10^{-1}$; and $\alpha = 2$.
|
||||
|
||||
**Question 5:** determine whether this situation is acceptable. You may answer using a few sentences, calculations or by submitting a sketch, but either way, you must support your answer quantitatively. If you use a sketch, indicate the scale and relevant points on the plot.
|
||||
|
||||
````{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
First create an FN curve for the risk assessment
|
||||
|
||||
**NOTE:** _the figure below is slightly incorrect; the horizontal lines should be to the right of the "dots;" in other words, the 1E-05 value should be above N=100. This makes it more obvious why the system does not meet the safety criteria._
|
||||
|
||||
```{figure} ../figures/exercise-sample-exam-limit-line.png
|
||||
---
|
||||
width: 400px
|
||||
name: limit-line
|
||||
---
|
||||
```
|
||||
|
||||
Next, check that each point on the line is below the limit line:
|
||||
|
||||
$$
|
||||
1-F_N(n)<\frac{C}{N^α}
|
||||
$$
|
||||
|
||||
The probability of exceeding 100 fatalities is too high since $5E-5>0.1/100^2=1E-5$. The same is true for 10 fatalities.
|
||||
````
|
||||
---
|
||||
The flooding probability is 1/50 per year and damage is 150 million € ($10^6$). It is questioned whether additional protection is needed and what would be the best solution between the following:
|
||||
|
||||
- Strategy A: raise the dike
|
||||
- Strategy B: raise the dike and build a mangrove forest in front which reduces waves
|
||||
|
||||
The table below indicates the costs of the strategies and how much they reduce the initial failure probability. Assume the interest rate is 4%.
|
||||
|
||||
```{list-table} Mitigation Strategy A and B.
|
||||
:header-rows: 1
|
||||
|
||||
* - Strategy
|
||||
- Failure probability factor
|
||||
- Costs, million € ($10^6$)
|
||||
* - Do Nothing
|
||||
- 1.0
|
||||
- 0
|
||||
* - A
|
||||
- 0.5
|
||||
- 10
|
||||
* - B
|
||||
- 0.2
|
||||
- 18
|
||||
```
|
||||
|
||||
**Question 6:** what is the most cost-effective or optimal strategy? Explain your answer.
|
||||
|
||||
1. Strategy A
|
||||
2. Strategy B
|
||||
3. neither A nor B
|
||||
|
||||
````{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Strategy B is best.
|
||||
|
||||
Various costs (NPV value) are calculated in the table below, and Strategy B is the lowest total cost we well as highest risk reduction.
|
||||
|
||||
```{figure} ../figures/exercise_sample_opt.png
|
||||
---
|
||||
width: 500px
|
||||
---
|
||||
```
|
||||
````
|
||||
---
|
||||
Consider the individual risk in two areas of the city by the bay, above. The acceptable individual risk is $10^{-5}$ per year. The conditional probability of death due to flooding is dependent on the water depth and indicated next to the graph. The individual risk level in area A is $10^{-5}$ per year and the water depth is 3 m. The individual risk level in area B is $10^{-5}$ per year and the water depth is 2 m.
|
||||
|
||||
**Question 7:** what should be the maximum allowable failure probability of the dike on the bay, $P_{\text{flooding}}$, to meet the standard for individual risk, $IR$?
|
||||
|
||||
```{figure} ../figures/exercise-sample-exam-mortality.png
|
||||
---
|
||||
width: 400px
|
||||
---
|
||||
```
|
||||
|
||||
````{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Individual risk is:
|
||||
|
||||
$$
|
||||
IR = P_{\text{flooding}} \cdot P_{\text{death}|\text{flooding}}
|
||||
$$
|
||||
|
||||
where the values for the conditional term can be found using the mortality figure, and solve for $P_{\text{flooding}}$.
|
||||
|
||||
```{figure} ../figures/exercise_sample_IR.png
|
||||
---
|
||||
width: 500px
|
||||
---
|
||||
```
|
||||
The norm is governed by the most strict safety requirement, thus, $P_{\text{flooding}}$ should be 0.0002 per year.
|
||||
````
|
||||
|
||||
## Component Reliability
|
||||
|
||||
|
||||
|
||||
The shaded region, $\Omega$, in the figure below is the failure domain of an unknown object (the shaded zone extends further towards positive infinity for $x$ and $y$). $p_f$ is the probability of failure of that object, such that:
|
||||
|
||||
$$
|
||||
p_f = \iint_\Omega f(x,y)dxdy
|
||||
$$
|
||||
|
||||
Where $x$ and $y$ are random variables and $f(x,y)$ is the joint PDF.
|
||||
|
||||
```{figure} ../figures/exercise-sample-exam-failure-domain.png
|
||||
---
|
||||
width: 400px
|
||||
name: failure-domain
|
||||
---
|
||||
```
|
||||
|
||||
**Question 1:** identify a specific real-life object of your choosing (it can be anything!) that can be described by this diagram and failure probability. Describe the object and provide a definition of failure using words only, no equations. Mention whether $X$ and $Y$ each acts as a load or a resistance.
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
It is clear that $X$ and $Y$ are both loads, since high values of both variables lead to failure. There are many possible ‘objects’ that are governed by two loads:
|
||||
|
||||
- Dike: x and y are water level and wave load, failure is excessive overtopping
|
||||
- Steel rod: 2 loads exceed strength
|
||||
- Beam: self-weight and length are loads (but this is non-linear)
|
||||
- Island: x and y are sea level rise and settlement, capacity is elevation; failure is flooding
|
||||
- 2 things on object with limiting capacity. E.g.: people on a couch or bench, birds on a tree branch
|
||||
- Literally any two loads would be acceptable, as long as the capacity of the object was a sum of both of them (if not a sum, it’s non-linear)
|
||||
%Honorable mentions: exam grading, stoof pot, student knowledge on exam material, ear damage at a music festival, dog and cat in box, exam desk stability, fingers squeezing a pen, 2 heaters in a room
|
||||
|
||||
<!-- see below for a list of examples.
|
||||
|
||||
*The following text is included in the exaplanation of this sample exam question to give extra insight; you are not expected to reproduce this on the MUDE exam:
|
||||
|
||||
The limit state is a line, which means the variables $X$ and $Y$ should have a linear relationship and can be represented as
|
||||
$$Z=y_0-(y_0/x_0)\cdot x-y$$
|
||||
or if $y_0=x_0$ is assumed, simply
|
||||
$$Z=y_0-x-y$$
|
||||
|
||||
We can also describe the random variables x and y; specify possible values for the mean ($\mu_x$, $\mu_y$) and standard deviation ($\sigma_x$, $\sigma_y$)If the object is generally stable the mean values should be below the line; specifically any value such that $mu_x<x_0$, $mu_y<y_0$ and $mu_y<y_0-mu_x$.
|
||||
|
||||
Since we want to find the design point we should use FORM, not Monte Carlo. If an object with a non-linear LSF is chosen, or non-normal random varialbes, this will be an approximation of pf but the design point is reliable. If x and y are described by a normal distribution, pf can be solved for exactly using the std normal dist for z with mu_z=y0-mu_x-mu_y and sigma_z=sqrt(sigma_x^2+sigma_y^2). Beta is the distance between point {mu_x, mu_y} and and the LSF such that the line is perpendicular to the LSF. The design point is the point on the LSF where the perpendicular line crosses which is the maximum probability density.
|
||||
Common mistakes on this question:
|
||||
- Not describing what x, y, x0 or y0 were
|
||||
- Using Z=R-S – this was a big error! Note: ok to write Z=R-S only if you clarify that S was a function of X and Y, and that x0 and y0 determine R (not necessarily as random variables)
|
||||
- Some tried to assign Y as a resistance with no explanation
|
||||
- Accidentally flipping the signs on R or S
|
||||
- Correct description of X and Y as loads, but not writing an equation that showed it
|
||||
- Writing Z = R - (X + Y) without an explanation of what R is
|
||||
- Combining x and y in the limit-state function in a way that makes it non-linear
|
||||
- FORM gives you the design point; Monte Carlo does not
|
||||
Comments about answers that were not quite right (points were not deduced for these):
|
||||
- Be careful with what you assign as a random variable: technically the length of a beam under load acts as a load variable (longer beam is more fragile), but you wouldn’t always include it as a random variable if the variance in the load is much bigger.
|
||||
- For large structures that are built once (e.g., a bridge in a valley) you can measure the width and construct the bridge, so it’s not really practical to consider these as the main loads or resistances, even though mathematically speaking (alpha value) it is true.
|
||||
- Combining load variables that had different units
|
||||
- Making time a random variable
|
||||
- Creating an object and/or limit state function that was non-linear (e.g., X*Y instead of X+Y)
|
||||
|
||||
Common ‘objects’: -->
|
||||
|
||||
7
book/exercises/overview.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Exercises
|
||||
|
||||
A number of exercises are included in this chapter that illustrate the previously discussed concepts of risk and reliability in a probabilistic design context. At the end a set of **sample exam** questions are included.
|
||||
|
||||
---
|
||||
|
||||
_Exercises are largely drawn from decades of old course material from many contributors; this chapter can be referred to using standard Editor attribution._
|
||||
BIN
book/figures/1.png
Normal file
|
After Width: | Height: | Size: 721 B |
BIN
book/figures/FN-simple.PNG
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
book/figures/combined_risk_criteria.png
Normal file
|
After Width: | Height: | Size: 106 KiB |
BIN
book/figures/cover.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
8550
book/figures/cover.svg
Normal file
|
After Width: | Height: | Size: 374 KiB |
17
book/figures/cover_README.txt
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
store notebook in `./book/figures/` and rest of files in `./book/book/figures/`
|
||||
|
||||
**note** a video was made to illustrate gradient fill. stored in robert's dropbox for now
|
||||
|
||||
- figures created in cover ipynb
|
||||
- make axes and fig transparent
|
||||
- export without background in savefig
|
||||
- created doc in inkscape, set size to 210mmx210mm per OIT requirements
|
||||
- OIT requires 210mmx210mm and at least 300 pixels, which is 36 dpi or 36x36 dpi
|
||||
- Default inkscape was 96 dpi, which is 794x794 pixels
|
||||
- import svg's to inkscape
|
||||
- position figures
|
||||
- apply gradient to lines
|
||||
- delete three points
|
||||
- export to png (default 96dpi is 100KB)
|
||||
- export cover_small.png (45 dpi is 35KB) >>> for book logo
|
||||
4181
book/figures/cover_bi.svg
Normal file
|
After Width: | Height: | Size: 179 KiB |
914
book/figures/cover_fn.svg
Normal file
|
|
@ -0,0 +1,914 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="432pt" height="432pt" viewBox="0 0 432 432" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<metadata>
|
||||
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<cc:Work>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:date>2024-02-22T06:18:44.878696</dc:date>
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>Matplotlib v3.8.2, https://matplotlib.org/</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs>
|
||||
<style type="text/css">*{stroke-linejoin: round; stroke-linecap: butt}</style>
|
||||
</defs>
|
||||
<g id="figure_1">
|
||||
<g id="patch_1">
|
||||
<path d="M 0 432
|
||||
L 432 432
|
||||
L 432 0
|
||||
L 0 0
|
||||
L 0 432
|
||||
z
|
||||
" style="fill: none; opacity: 0"/>
|
||||
</g>
|
||||
<g id="axes_1">
|
||||
<g id="patch_2">
|
||||
<path d="M 54 384.48
|
||||
L 388.8 384.48
|
||||
L 388.8 51.84
|
||||
L 54 51.84
|
||||
L 54 384.48
|
||||
z
|
||||
" style="fill: none; opacity: 0"/>
|
||||
</g>
|
||||
<g id="matplotlib.axis_1">
|
||||
<g id="xtick_1">
|
||||
<g id="line2d_1">
|
||||
<defs>
|
||||
<path id="m0e52a5a8ad" d="M 0 0
|
||||
L 0 2
|
||||
" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</defs>
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="87.594948" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_2">
|
||||
<g id="line2d_2">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="107.246732" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_3">
|
||||
<g id="line2d_3">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="121.189895" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_4">
|
||||
<g id="line2d_4">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="132.005052" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_5">
|
||||
<g id="line2d_5">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="140.84168" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_6">
|
||||
<g id="line2d_6">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="148.312941" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_7">
|
||||
<g id="line2d_7">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="154.784843" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_8">
|
||||
<g id="line2d_8">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="160.493464" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_9">
|
||||
<g id="line2d_9">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="199.194948" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_10">
|
||||
<g id="line2d_10">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="218.846732" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_11">
|
||||
<g id="line2d_11">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="232.789895" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_12">
|
||||
<g id="line2d_12">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="243.605052" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_13">
|
||||
<g id="line2d_13">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="252.44168" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_14">
|
||||
<g id="line2d_14">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="259.912941" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_15">
|
||||
<g id="line2d_15">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="266.384843" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_16">
|
||||
<g id="line2d_16">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="272.093464" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_17">
|
||||
<g id="line2d_17">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="310.794948" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_18">
|
||||
<g id="line2d_18">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="330.446732" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_19">
|
||||
<g id="line2d_19">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="344.389895" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_20">
|
||||
<g id="line2d_20">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="355.205052" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_21">
|
||||
<g id="line2d_21">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="364.04168" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_22">
|
||||
<g id="line2d_22">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="371.512941" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_23">
|
||||
<g id="line2d_23">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="377.984843" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_24">
|
||||
<g id="line2d_24">
|
||||
<g>
|
||||
<use xlink:href="#m0e52a5a8ad" x="383.693464" y="384.48" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_1">
|
||||
<!-- Consequences -->
|
||||
<g transform="translate(168.0325 405.5275) scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="ArialMT-43" d="M 3763 1606
|
||||
L 4369 1453
|
||||
Q 4178 706 3683 314
|
||||
Q 3188 -78 2472 -78
|
||||
Q 1731 -78 1267 223
|
||||
Q 803 525 561 1097
|
||||
Q 319 1669 319 2325
|
||||
Q 319 3041 592 3573
|
||||
Q 866 4106 1370 4382
|
||||
Q 1875 4659 2481 4659
|
||||
Q 3169 4659 3637 4309
|
||||
Q 4106 3959 4291 3325
|
||||
L 3694 3184
|
||||
Q 3534 3684 3231 3912
|
||||
Q 2928 4141 2469 4141
|
||||
Q 1941 4141 1586 3887
|
||||
Q 1231 3634 1087 3207
|
||||
Q 944 2781 944 2328
|
||||
Q 944 1744 1114 1308
|
||||
Q 1284 872 1643 656
|
||||
Q 2003 441 2422 441
|
||||
Q 2931 441 3284 734
|
||||
Q 3638 1028 3763 1606
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-6f" d="M 213 1659
|
||||
Q 213 2581 725 3025
|
||||
Q 1153 3394 1769 3394
|
||||
Q 2453 3394 2887 2945
|
||||
Q 3322 2497 3322 1706
|
||||
Q 3322 1066 3130 698
|
||||
Q 2938 331 2570 128
|
||||
Q 2203 -75 1769 -75
|
||||
Q 1072 -75 642 372
|
||||
Q 213 819 213 1659
|
||||
z
|
||||
M 791 1659
|
||||
Q 791 1022 1069 705
|
||||
Q 1347 388 1769 388
|
||||
Q 2188 388 2466 706
|
||||
Q 2744 1025 2744 1678
|
||||
Q 2744 2294 2464 2611
|
||||
Q 2184 2928 1769 2928
|
||||
Q 1347 2928 1069 2612
|
||||
Q 791 2297 791 1659
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-6e" d="M 422 0
|
||||
L 422 3319
|
||||
L 928 3319
|
||||
L 928 2847
|
||||
Q 1294 3394 1984 3394
|
||||
Q 2284 3394 2536 3286
|
||||
Q 2788 3178 2913 3003
|
||||
Q 3038 2828 3088 2588
|
||||
Q 3119 2431 3119 2041
|
||||
L 3119 0
|
||||
L 2556 0
|
||||
L 2556 2019
|
||||
Q 2556 2363 2490 2533
|
||||
Q 2425 2703 2258 2804
|
||||
Q 2091 2906 1866 2906
|
||||
Q 1506 2906 1245 2678
|
||||
Q 984 2450 984 1813
|
||||
L 984 0
|
||||
L 422 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-73" d="M 197 991
|
||||
L 753 1078
|
||||
Q 800 744 1014 566
|
||||
Q 1228 388 1613 388
|
||||
Q 2000 388 2187 545
|
||||
Q 2375 703 2375 916
|
||||
Q 2375 1106 2209 1216
|
||||
Q 2094 1291 1634 1406
|
||||
Q 1016 1563 777 1677
|
||||
Q 538 1791 414 1992
|
||||
Q 291 2194 291 2438
|
||||
Q 291 2659 392 2848
|
||||
Q 494 3038 669 3163
|
||||
Q 800 3259 1026 3326
|
||||
Q 1253 3394 1513 3394
|
||||
Q 1903 3394 2198 3281
|
||||
Q 2494 3169 2634 2976
|
||||
Q 2775 2784 2828 2463
|
||||
L 2278 2388
|
||||
Q 2241 2644 2061 2787
|
||||
Q 1881 2931 1553 2931
|
||||
Q 1166 2931 1000 2803
|
||||
Q 834 2675 834 2503
|
||||
Q 834 2394 903 2306
|
||||
Q 972 2216 1119 2156
|
||||
Q 1203 2125 1616 2013
|
||||
Q 2213 1853 2448 1751
|
||||
Q 2684 1650 2818 1456
|
||||
Q 2953 1263 2953 975
|
||||
Q 2953 694 2789 445
|
||||
Q 2625 197 2315 61
|
||||
Q 2006 -75 1616 -75
|
||||
Q 969 -75 630 194
|
||||
Q 291 463 197 991
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-65" d="M 2694 1069
|
||||
L 3275 997
|
||||
Q 3138 488 2766 206
|
||||
Q 2394 -75 1816 -75
|
||||
Q 1088 -75 661 373
|
||||
Q 234 822 234 1631
|
||||
Q 234 2469 665 2931
|
||||
Q 1097 3394 1784 3394
|
||||
Q 2450 3394 2872 2941
|
||||
Q 3294 2488 3294 1666
|
||||
Q 3294 1616 3291 1516
|
||||
L 816 1516
|
||||
Q 847 969 1125 678
|
||||
Q 1403 388 1819 388
|
||||
Q 2128 388 2347 550
|
||||
Q 2566 713 2694 1069
|
||||
z
|
||||
M 847 1978
|
||||
L 2700 1978
|
||||
Q 2663 2397 2488 2606
|
||||
Q 2219 2931 1791 2931
|
||||
Q 1403 2931 1139 2672
|
||||
Q 875 2413 847 1978
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-71" d="M 2538 -1272
|
||||
L 2538 353
|
||||
Q 2406 169 2170 47
|
||||
Q 1934 -75 1669 -75
|
||||
Q 1078 -75 651 397
|
||||
Q 225 869 225 1691
|
||||
Q 225 2191 398 2587
|
||||
Q 572 2984 901 3189
|
||||
Q 1231 3394 1625 3394
|
||||
Q 2241 3394 2594 2875
|
||||
L 2594 3319
|
||||
L 3100 3319
|
||||
L 3100 -1272
|
||||
L 2538 -1272
|
||||
z
|
||||
M 803 1669
|
||||
Q 803 1028 1072 708
|
||||
Q 1341 388 1716 388
|
||||
Q 2075 388 2334 692
|
||||
Q 2594 997 2594 1619
|
||||
Q 2594 2281 2320 2615
|
||||
Q 2047 2950 1678 2950
|
||||
Q 1313 2950 1058 2639
|
||||
Q 803 2328 803 1669
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-75" d="M 2597 0
|
||||
L 2597 488
|
||||
Q 2209 -75 1544 -75
|
||||
Q 1250 -75 995 37
|
||||
Q 741 150 617 320
|
||||
Q 494 491 444 738
|
||||
Q 409 903 409 1263
|
||||
L 409 3319
|
||||
L 972 3319
|
||||
L 972 1478
|
||||
Q 972 1038 1006 884
|
||||
Q 1059 663 1231 536
|
||||
Q 1403 409 1656 409
|
||||
Q 1909 409 2131 539
|
||||
Q 2353 669 2445 892
|
||||
Q 2538 1116 2538 1541
|
||||
L 2538 3319
|
||||
L 3100 3319
|
||||
L 3100 0
|
||||
L 2597 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-63" d="M 2588 1216
|
||||
L 3141 1144
|
||||
Q 3050 572 2676 248
|
||||
Q 2303 -75 1759 -75
|
||||
Q 1078 -75 664 370
|
||||
Q 250 816 250 1647
|
||||
Q 250 2184 428 2587
|
||||
Q 606 2991 970 3192
|
||||
Q 1334 3394 1763 3394
|
||||
Q 2303 3394 2647 3120
|
||||
Q 2991 2847 3088 2344
|
||||
L 2541 2259
|
||||
Q 2463 2594 2264 2762
|
||||
Q 2066 2931 1784 2931
|
||||
Q 1359 2931 1093 2626
|
||||
Q 828 2322 828 1663
|
||||
Q 828 994 1084 691
|
||||
Q 1341 388 1753 388
|
||||
Q 2084 388 2306 591
|
||||
Q 2528 794 2588 1216
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#ArialMT-43"/>
|
||||
<use xlink:href="#ArialMT-6f" x="72.216797"/>
|
||||
<use xlink:href="#ArialMT-6e" x="127.832031"/>
|
||||
<use xlink:href="#ArialMT-73" x="183.447266"/>
|
||||
<use xlink:href="#ArialMT-65" x="233.447266"/>
|
||||
<use xlink:href="#ArialMT-71" x="289.0625"/>
|
||||
<use xlink:href="#ArialMT-75" x="344.677734"/>
|
||||
<use xlink:href="#ArialMT-65" x="400.292969"/>
|
||||
<use xlink:href="#ArialMT-6e" x="455.908203"/>
|
||||
<use xlink:href="#ArialMT-63" x="511.523438"/>
|
||||
<use xlink:href="#ArialMT-65" x="561.523438"/>
|
||||
<use xlink:href="#ArialMT-73" x="617.138672"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="matplotlib.axis_2">
|
||||
<g id="ytick_1">
|
||||
<g id="line2d_25">
|
||||
<defs>
|
||||
<path id="mfa9b054434" d="M 0 0
|
||||
L -2 0
|
||||
" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</defs>
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="359.446346" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_2">
|
||||
<g id="line2d_26">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="344.802596" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_3">
|
||||
<g id="line2d_27">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="334.412691" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_4">
|
||||
<g id="line2d_28">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="326.353654" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_5">
|
||||
<g id="line2d_29">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="319.768942" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_6">
|
||||
<g id="line2d_30">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="314.201647" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_7">
|
||||
<g id="line2d_31">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="309.379037" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_8">
|
||||
<g id="line2d_32">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="305.125193" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_9">
|
||||
<g id="line2d_33">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="276.286346" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_10">
|
||||
<g id="line2d_34">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="261.642596" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_11">
|
||||
<g id="line2d_35">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="251.252691" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_12">
|
||||
<g id="line2d_36">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="243.193654" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_13">
|
||||
<g id="line2d_37">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="236.608942" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_14">
|
||||
<g id="line2d_38">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="231.041647" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_15">
|
||||
<g id="line2d_39">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="226.219037" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_16">
|
||||
<g id="line2d_40">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="221.965193" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_17">
|
||||
<g id="line2d_41">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="193.126346" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_18">
|
||||
<g id="line2d_42">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="178.482596" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_19">
|
||||
<g id="line2d_43">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="168.092691" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_20">
|
||||
<g id="line2d_44">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="160.033654" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_21">
|
||||
<g id="line2d_45">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="153.448942" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_22">
|
||||
<g id="line2d_46">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="147.881647" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_23">
|
||||
<g id="line2d_47">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="143.059037" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_24">
|
||||
<g id="line2d_48">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="138.805193" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_25">
|
||||
<g id="line2d_49">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="109.966346" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_26">
|
||||
<g id="line2d_50">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="95.322596" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_27">
|
||||
<g id="line2d_51">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="84.932691" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_28">
|
||||
<g id="line2d_52">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="76.873654" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_29">
|
||||
<g id="line2d_53">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="70.288942" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_30">
|
||||
<g id="line2d_54">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="64.721647" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_31">
|
||||
<g id="line2d_55">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="59.899037" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_32">
|
||||
<g id="line2d_56">
|
||||
<g>
|
||||
<use xlink:href="#mfa9b054434" x="54" y="55.645193" style="stroke: #000000; stroke-width: 0.6"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_2">
|
||||
<!-- Probability -->
|
||||
<g transform="translate(41.2325 255.51) rotate(-90) scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="ArialMT-50" d="M 494 0
|
||||
L 494 4581
|
||||
L 2222 4581
|
||||
Q 2678 4581 2919 4538
|
||||
Q 3256 4481 3484 4323
|
||||
Q 3713 4166 3852 3881
|
||||
Q 3991 3597 3991 3256
|
||||
Q 3991 2672 3619 2267
|
||||
Q 3247 1863 2275 1863
|
||||
L 1100 1863
|
||||
L 1100 0
|
||||
L 494 0
|
||||
z
|
||||
M 1100 2403
|
||||
L 2284 2403
|
||||
Q 2872 2403 3119 2622
|
||||
Q 3366 2841 3366 3238
|
||||
Q 3366 3525 3220 3729
|
||||
Q 3075 3934 2838 4000
|
||||
Q 2684 4041 2272 4041
|
||||
L 1100 4041
|
||||
L 1100 2403
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-72" d="M 416 0
|
||||
L 416 3319
|
||||
L 922 3319
|
||||
L 922 2816
|
||||
Q 1116 3169 1280 3281
|
||||
Q 1444 3394 1641 3394
|
||||
Q 1925 3394 2219 3213
|
||||
L 2025 2691
|
||||
Q 1819 2813 1613 2813
|
||||
Q 1428 2813 1281 2702
|
||||
Q 1134 2591 1072 2394
|
||||
Q 978 2094 978 1738
|
||||
L 978 0
|
||||
L 416 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-62" d="M 941 0
|
||||
L 419 0
|
||||
L 419 4581
|
||||
L 981 4581
|
||||
L 981 2947
|
||||
Q 1338 3394 1891 3394
|
||||
Q 2197 3394 2470 3270
|
||||
Q 2744 3147 2920 2923
|
||||
Q 3097 2700 3197 2384
|
||||
Q 3297 2069 3297 1709
|
||||
Q 3297 856 2875 390
|
||||
Q 2453 -75 1863 -75
|
||||
Q 1275 -75 941 416
|
||||
L 941 0
|
||||
z
|
||||
M 934 1684
|
||||
Q 934 1088 1097 822
|
||||
Q 1363 388 1816 388
|
||||
Q 2184 388 2453 708
|
||||
Q 2722 1028 2722 1663
|
||||
Q 2722 2313 2464 2622
|
||||
Q 2206 2931 1841 2931
|
||||
Q 1472 2931 1203 2611
|
||||
Q 934 2291 934 1684
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-61" d="M 2588 409
|
||||
Q 2275 144 1986 34
|
||||
Q 1697 -75 1366 -75
|
||||
Q 819 -75 525 192
|
||||
Q 231 459 231 875
|
||||
Q 231 1119 342 1320
|
||||
Q 453 1522 633 1644
|
||||
Q 813 1766 1038 1828
|
||||
Q 1203 1872 1538 1913
|
||||
Q 2219 1994 2541 2106
|
||||
Q 2544 2222 2544 2253
|
||||
Q 2544 2597 2384 2738
|
||||
Q 2169 2928 1744 2928
|
||||
Q 1347 2928 1158 2789
|
||||
Q 969 2650 878 2297
|
||||
L 328 2372
|
||||
Q 403 2725 575 2942
|
||||
Q 747 3159 1072 3276
|
||||
Q 1397 3394 1825 3394
|
||||
Q 2250 3394 2515 3294
|
||||
Q 2781 3194 2906 3042
|
||||
Q 3031 2891 3081 2659
|
||||
Q 3109 2516 3109 2141
|
||||
L 3109 1391
|
||||
Q 3109 606 3145 398
|
||||
Q 3181 191 3288 0
|
||||
L 2700 0
|
||||
Q 2613 175 2588 409
|
||||
z
|
||||
M 2541 1666
|
||||
Q 2234 1541 1622 1453
|
||||
Q 1275 1403 1131 1340
|
||||
Q 988 1278 909 1158
|
||||
Q 831 1038 831 891
|
||||
Q 831 666 1001 516
|
||||
Q 1172 366 1500 366
|
||||
Q 1825 366 2078 508
|
||||
Q 2331 650 2450 897
|
||||
Q 2541 1088 2541 1459
|
||||
L 2541 1666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-69" d="M 425 3934
|
||||
L 425 4581
|
||||
L 988 4581
|
||||
L 988 3934
|
||||
L 425 3934
|
||||
z
|
||||
M 425 0
|
||||
L 425 3319
|
||||
L 988 3319
|
||||
L 988 0
|
||||
L 425 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-6c" d="M 409 0
|
||||
L 409 4581
|
||||
L 972 4581
|
||||
L 972 0
|
||||
L 409 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-74" d="M 1650 503
|
||||
L 1731 6
|
||||
Q 1494 -44 1306 -44
|
||||
Q 1000 -44 831 53
|
||||
Q 663 150 594 308
|
||||
Q 525 466 525 972
|
||||
L 525 2881
|
||||
L 113 2881
|
||||
L 113 3319
|
||||
L 525 3319
|
||||
L 525 4141
|
||||
L 1084 4478
|
||||
L 1084 3319
|
||||
L 1650 3319
|
||||
L 1650 2881
|
||||
L 1084 2881
|
||||
L 1084 941
|
||||
Q 1084 700 1114 631
|
||||
Q 1144 563 1211 522
|
||||
Q 1278 481 1403 481
|
||||
Q 1497 481 1650 503
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-79" d="M 397 -1278
|
||||
L 334 -750
|
||||
Q 519 -800 656 -800
|
||||
Q 844 -800 956 -737
|
||||
Q 1069 -675 1141 -563
|
||||
Q 1194 -478 1313 -144
|
||||
Q 1328 -97 1363 -6
|
||||
L 103 3319
|
||||
L 709 3319
|
||||
L 1400 1397
|
||||
Q 1534 1031 1641 628
|
||||
Q 1738 1016 1872 1384
|
||||
L 2581 3319
|
||||
L 3144 3319
|
||||
L 1881 -56
|
||||
Q 1678 -603 1566 -809
|
||||
Q 1416 -1088 1222 -1217
|
||||
Q 1028 -1347 759 -1347
|
||||
Q 597 -1347 397 -1278
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#ArialMT-50"/>
|
||||
<use xlink:href="#ArialMT-72" x="66.699219"/>
|
||||
<use xlink:href="#ArialMT-6f" x="100"/>
|
||||
<use xlink:href="#ArialMT-62" x="155.615234"/>
|
||||
<use xlink:href="#ArialMT-61" x="211.230469"/>
|
||||
<use xlink:href="#ArialMT-62" x="266.845703"/>
|
||||
<use xlink:href="#ArialMT-69" x="322.460938"/>
|
||||
<use xlink:href="#ArialMT-6c" x="344.677734"/>
|
||||
<use xlink:href="#ArialMT-69" x="366.894531"/>
|
||||
<use xlink:href="#ArialMT-74" x="389.111328"/>
|
||||
<use xlink:href="#ArialMT-79" x="416.894531"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="line2d_57">
|
||||
<path d="M 54 111.23121
|
||||
L 87.594948 124.043642
|
||||
L 132.005052 143.702812
|
||||
L 165.6 161.374143
|
||||
L 199.194948 182.498435
|
||||
L 218.846732 197.079106
|
||||
L 232.789895 208.758661
|
||||
L 243.605052 218.77162
|
||||
L 252.44168 227.699139
|
||||
L 259.912941 235.865492
|
||||
L 266.384843 243.472048
|
||||
L 272.093464 250.65355
|
||||
L 277.2 257.505339
|
||||
L 286.036627 270.485302
|
||||
L 296.851785 288.805392
|
||||
L 305.688412 306.434592
|
||||
L 310.794948 318.067037
|
||||
L 315.414371 329.743924
|
||||
L 321.610105 347.561424
|
||||
L 326.229529 362.870053
|
||||
L 330.446732 378.734326
|
||||
L 337.917994 412.129312
|
||||
L 342.081148 433
|
||||
" clip-path="url(#pfddeee6810)" style="fill: none; stroke: #00b8c8; stroke-width: 4; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="line2d_58">
|
||||
<path d="M 54 51.84
|
||||
L 388.8 301.32
|
||||
" clip-path="url(#pfddeee6810)" style="fill: none; stroke-dasharray: 14.8,6.4; stroke-dashoffset: 0; stroke: #0c2340; stroke-width: 4"/>
|
||||
</g>
|
||||
<g id="patch_3">
|
||||
<path d="M 54 384.48
|
||||
L 54 51.84
|
||||
" style="fill: none; stroke: #000000; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="patch_4">
|
||||
<path d="M 388.8 384.48
|
||||
L 388.8 51.84
|
||||
" style="fill: none; stroke: #000000; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="patch_5">
|
||||
<path d="M 54 384.48
|
||||
L 388.8 384.48
|
||||
" style="fill: none; stroke: #000000; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="patch_6">
|
||||
<path d="M 54 51.84
|
||||
L 388.8 51.84
|
||||
" style="fill: none; stroke: #000000; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="pfddeee6810">
|
||||
<rect x="54" y="51.84" width="334.8" height="332.64"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 22 KiB |
BIN
book/figures/cover_small.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
book/figures/decision-tree-blank.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
book/figures/decision-tree-example.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
book/figures/decision-tree-filled.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
book/figures/decision-tree.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
1789
book/figures/design_1_rv.svg
Normal file
|
After Width: | Height: | Size: 47 KiB |
4713
book/figures/design_2_rv_correct.svg
Normal file
|
After Width: | Height: | Size: 113 KiB |
1137
book/figures/design_2_rv_error_1.svg
Normal file
|
After Width: | Height: | Size: 30 KiB |
1128
book/figures/design_2_rv_error_2a.svg
Normal file
|
After Width: | Height: | Size: 30 KiB |
1175
book/figures/design_2_rv_error_2b.svg
Normal file
|
After Width: | Height: | Size: 32 KiB |
727
book/figures/design_2_rv_error_3.svg
Normal file
|
|
@ -0,0 +1,727 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="329.821375pt" height="325.98825pt" viewBox="0 0 329.821375 325.98825" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<metadata>
|
||||
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<cc:Work>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:date>2023-01-08T11:58:16.440884</dc:date>
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>Matplotlib v3.5.2, https://matplotlib.org/</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs>
|
||||
<style type="text/css">*{stroke-linejoin: round; stroke-linecap: butt}</style>
|
||||
</defs>
|
||||
<g id="figure_1">
|
||||
<g id="patch_1">
|
||||
<path d="M -0 325.98825
|
||||
L 329.821375 325.98825
|
||||
L 329.821375 0
|
||||
L -0 0
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<g id="axes_1">
|
||||
<g id="patch_2">
|
||||
<path d="M 46.965625 288.432
|
||||
L 313.077625 288.432
|
||||
L 313.077625 22.32
|
||||
L 46.965625 22.32
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<g id="PolyCollection_1">
|
||||
<defs>
|
||||
<path id="m11572d5885" d="M 46.965625 -303.66825
|
||||
L 46.965625 -238.536878
|
||||
L 247.946253 -238.536878
|
||||
L 247.946253 -37.55625
|
||||
L 313.077625 -37.55625
|
||||
L 313.077625 -303.66825
|
||||
L 313.077625 -303.66825
|
||||
L 247.946253 -303.66825
|
||||
L 247.946253 -303.66825
|
||||
L 46.965625 -303.66825
|
||||
z
|
||||
" style="stroke: #000000; stroke-width: 2"/>
|
||||
</defs>
|
||||
<g clip-path="url(#p0d7d643c55)">
|
||||
<use xlink:href="#m11572d5885" x="0" y="325.98825" style="fill: #d3d3d3; stroke: #000000; stroke-width: 2"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="patch_3">
|
||||
<path clip-path="url(#p0d7d643c55)" style="fill: none; stroke: #000000; stroke-width: 4; stroke-linejoin: miter"/>
|
||||
</g>
|
||||
<g id="matplotlib.axis_1">
|
||||
<g id="xtick_1">
|
||||
<g id="line2d_1">
|
||||
<defs>
|
||||
<path id="md90e7c4a51" d="M 0 0
|
||||
L 0 3.5
|
||||
" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</defs>
|
||||
<g>
|
||||
<use xlink:href="#md90e7c4a51" x="64.706425" y="288.432" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_1">
|
||||
<!-- 60 -->
|
||||
<g transform="translate(58.343925 303.030437)scale(0.1 -0.1)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-36" d="M 2113 2584
|
||||
Q 1688 2584 1439 2293
|
||||
Q 1191 2003 1191 1497
|
||||
Q 1191 994 1439 701
|
||||
Q 1688 409 2113 409
|
||||
Q 2538 409 2786 701
|
||||
Q 3034 994 3034 1497
|
||||
Q 3034 2003 2786 2293
|
||||
Q 2538 2584 2113 2584
|
||||
z
|
||||
M 3366 4563
|
||||
L 3366 3988
|
||||
Q 3128 4100 2886 4159
|
||||
Q 2644 4219 2406 4219
|
||||
Q 1781 4219 1451 3797
|
||||
Q 1122 3375 1075 2522
|
||||
Q 1259 2794 1537 2939
|
||||
Q 1816 3084 2150 3084
|
||||
Q 2853 3084 3261 2657
|
||||
Q 3669 2231 3669 1497
|
||||
Q 3669 778 3244 343
|
||||
Q 2819 -91 2113 -91
|
||||
Q 1303 -91 875 529
|
||||
Q 447 1150 447 2328
|
||||
Q 447 3434 972 4092
|
||||
Q 1497 4750 2381 4750
|
||||
Q 2619 4750 2861 4703
|
||||
Q 3103 4656 3366 4563
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-30" d="M 2034 4250
|
||||
Q 1547 4250 1301 3770
|
||||
Q 1056 3291 1056 2328
|
||||
Q 1056 1369 1301 889
|
||||
Q 1547 409 2034 409
|
||||
Q 2525 409 2770 889
|
||||
Q 3016 1369 3016 2328
|
||||
Q 3016 3291 2770 3770
|
||||
Q 2525 4250 2034 4250
|
||||
z
|
||||
M 2034 4750
|
||||
Q 2819 4750 3233 4129
|
||||
Q 3647 3509 3647 2328
|
||||
Q 3647 1150 3233 529
|
||||
Q 2819 -91 2034 -91
|
||||
Q 1250 -91 836 529
|
||||
Q 422 1150 422 2328
|
||||
Q 422 3509 836 4129
|
||||
Q 1250 4750 2034 4750
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-36"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_2">
|
||||
<g id="line2d_2">
|
||||
<g>
|
||||
<use xlink:href="#md90e7c4a51" x="100.188025" y="288.432" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_2">
|
||||
<!-- 80 -->
|
||||
<g transform="translate(93.825525 303.030437)scale(0.1 -0.1)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-38" d="M 2034 2216
|
||||
Q 1584 2216 1326 1975
|
||||
Q 1069 1734 1069 1313
|
||||
Q 1069 891 1326 650
|
||||
Q 1584 409 2034 409
|
||||
Q 2484 409 2743 651
|
||||
Q 3003 894 3003 1313
|
||||
Q 3003 1734 2745 1975
|
||||
Q 2488 2216 2034 2216
|
||||
z
|
||||
M 1403 2484
|
||||
Q 997 2584 770 2862
|
||||
Q 544 3141 544 3541
|
||||
Q 544 4100 942 4425
|
||||
Q 1341 4750 2034 4750
|
||||
Q 2731 4750 3128 4425
|
||||
Q 3525 4100 3525 3541
|
||||
Q 3525 3141 3298 2862
|
||||
Q 3072 2584 2669 2484
|
||||
Q 3125 2378 3379 2068
|
||||
Q 3634 1759 3634 1313
|
||||
Q 3634 634 3220 271
|
||||
Q 2806 -91 2034 -91
|
||||
Q 1263 -91 848 271
|
||||
Q 434 634 434 1313
|
||||
Q 434 1759 690 2068
|
||||
Q 947 2378 1403 2484
|
||||
z
|
||||
M 1172 3481
|
||||
Q 1172 3119 1398 2916
|
||||
Q 1625 2713 2034 2713
|
||||
Q 2441 2713 2670 2916
|
||||
Q 2900 3119 2900 3481
|
||||
Q 2900 3844 2670 4047
|
||||
Q 2441 4250 2034 4250
|
||||
Q 1625 4250 1398 4047
|
||||
Q 1172 3844 1172 3481
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-38"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_3">
|
||||
<g id="line2d_3">
|
||||
<g>
|
||||
<use xlink:href="#md90e7c4a51" x="135.669625" y="288.432" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_3">
|
||||
<!-- 100 -->
|
||||
<g transform="translate(126.125875 303.030437)scale(0.1 -0.1)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-31" d="M 794 531
|
||||
L 1825 531
|
||||
L 1825 4091
|
||||
L 703 3866
|
||||
L 703 4441
|
||||
L 1819 4666
|
||||
L 2450 4666
|
||||
L 2450 531
|
||||
L 3481 531
|
||||
L 3481 0
|
||||
L 794 0
|
||||
L 794 531
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_4">
|
||||
<g id="line2d_4">
|
||||
<g>
|
||||
<use xlink:href="#md90e7c4a51" x="171.151225" y="288.432" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_4">
|
||||
<!-- 120 -->
|
||||
<g transform="translate(161.607475 303.030437)scale(0.1 -0.1)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-32" d="M 1228 531
|
||||
L 3431 531
|
||||
L 3431 0
|
||||
L 469 0
|
||||
L 469 531
|
||||
Q 828 903 1448 1529
|
||||
Q 2069 2156 2228 2338
|
||||
Q 2531 2678 2651 2914
|
||||
Q 2772 3150 2772 3378
|
||||
Q 2772 3750 2511 3984
|
||||
Q 2250 4219 1831 4219
|
||||
Q 1534 4219 1204 4116
|
||||
Q 875 4013 500 3803
|
||||
L 500 4441
|
||||
Q 881 4594 1212 4672
|
||||
Q 1544 4750 1819 4750
|
||||
Q 2544 4750 2975 4387
|
||||
Q 3406 4025 3406 3419
|
||||
Q 3406 3131 3298 2873
|
||||
Q 3191 2616 2906 2266
|
||||
Q 2828 2175 2409 1742
|
||||
Q 1991 1309 1228 531
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-32" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_5">
|
||||
<g id="line2d_5">
|
||||
<g>
|
||||
<use xlink:href="#md90e7c4a51" x="206.632825" y="288.432" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_5">
|
||||
<!-- 140 -->
|
||||
<g transform="translate(197.089075 303.030437)scale(0.1 -0.1)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-34" d="M 2419 4116
|
||||
L 825 1625
|
||||
L 2419 1625
|
||||
L 2419 4116
|
||||
z
|
||||
M 2253 4666
|
||||
L 3047 4666
|
||||
L 3047 1625
|
||||
L 3713 1625
|
||||
L 3713 1100
|
||||
L 3047 1100
|
||||
L 3047 0
|
||||
L 2419 0
|
||||
L 2419 1100
|
||||
L 313 1100
|
||||
L 313 1709
|
||||
L 2253 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-34" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_6">
|
||||
<g id="line2d_6">
|
||||
<g>
|
||||
<use xlink:href="#md90e7c4a51" x="242.114425" y="288.432" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_6">
|
||||
<!-- 160 -->
|
||||
<g transform="translate(232.570675 303.030437)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-36" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_7">
|
||||
<g id="line2d_7">
|
||||
<g>
|
||||
<use xlink:href="#md90e7c4a51" x="277.596025" y="288.432" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_7">
|
||||
<!-- 180 -->
|
||||
<g transform="translate(268.052275 303.030437)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-38" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="xtick_8">
|
||||
<g id="line2d_8">
|
||||
<g>
|
||||
<use xlink:href="#md90e7c4a51" x="313.077625" y="288.432" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_8">
|
||||
<!-- 200 -->
|
||||
<g transform="translate(303.533875 303.030437)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-32"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_9">
|
||||
<!-- $X$ -->
|
||||
<g transform="translate(176.571625 316.708562)scale(0.1 -0.1)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-Oblique-58" d="M 878 4666
|
||||
L 1516 4666
|
||||
L 2316 2981
|
||||
L 3763 4666
|
||||
L 4500 4666
|
||||
L 2578 2438
|
||||
L 3738 0
|
||||
L 3103 0
|
||||
L 2163 1966
|
||||
L 459 0
|
||||
L -275 0
|
||||
L 1906 2509
|
||||
L 878 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-Oblique-58" transform="translate(0 0.09375)"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="matplotlib.axis_2">
|
||||
<g id="ytick_1">
|
||||
<g id="line2d_9">
|
||||
<defs>
|
||||
<path id="m919004953e" d="M 0 0
|
||||
L -3.5 0
|
||||
" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</defs>
|
||||
<g>
|
||||
<use xlink:href="#m919004953e" x="46.965625" y="270.6912" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_10">
|
||||
<!-- 60 -->
|
||||
<g transform="translate(27.240625 274.490419)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-36"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_2">
|
||||
<g id="line2d_10">
|
||||
<g>
|
||||
<use xlink:href="#m919004953e" x="46.965625" y="235.2096" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_11">
|
||||
<!-- 80 -->
|
||||
<g transform="translate(27.240625 239.008819)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-38"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_3">
|
||||
<g id="line2d_11">
|
||||
<g>
|
||||
<use xlink:href="#m919004953e" x="46.965625" y="199.728" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_12">
|
||||
<!-- 100 -->
|
||||
<g transform="translate(20.878125 203.527219)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_4">
|
||||
<g id="line2d_12">
|
||||
<g>
|
||||
<use xlink:href="#m919004953e" x="46.965625" y="164.2464" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_13">
|
||||
<!-- 120 -->
|
||||
<g transform="translate(20.878125 168.045619)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-32" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_5">
|
||||
<g id="line2d_13">
|
||||
<g>
|
||||
<use xlink:href="#m919004953e" x="46.965625" y="128.7648" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_14">
|
||||
<!-- 140 -->
|
||||
<g transform="translate(20.878125 132.564019)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-34" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_6">
|
||||
<g id="line2d_14">
|
||||
<g>
|
||||
<use xlink:href="#m919004953e" x="46.965625" y="93.2832" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_15">
|
||||
<!-- 160 -->
|
||||
<g transform="translate(20.878125 97.082419)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-36" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_7">
|
||||
<g id="line2d_15">
|
||||
<g>
|
||||
<use xlink:href="#m919004953e" x="46.965625" y="57.8016" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_16">
|
||||
<!-- 180 -->
|
||||
<g transform="translate(20.878125 61.600819)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-38" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="ytick_8">
|
||||
<g id="line2d_16">
|
||||
<g>
|
||||
<use xlink:href="#m919004953e" x="46.965625" y="22.32" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_17">
|
||||
<!-- 200 -->
|
||||
<g transform="translate(20.878125 26.119219)scale(0.1 -0.1)">
|
||||
<use xlink:href="#DejaVuSans-32"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_18">
|
||||
<!-- $Y$ -->
|
||||
<g transform="translate(14.798437 158.476)rotate(-90)scale(0.1 -0.1)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-Oblique-59" d="M 403 4666
|
||||
L 1081 4666
|
||||
L 1953 2747
|
||||
L 3616 4666
|
||||
L 4325 4666
|
||||
L 2209 2222
|
||||
L 1778 0
|
||||
L 1147 0
|
||||
L 1575 2222
|
||||
L 403 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-Oblique-59" transform="translate(0 0.09375)"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="LineCollection_1">
|
||||
<path d="M 247.946253 87.451372
|
||||
L 247.946253 22.32
|
||||
" clip-path="url(#p0d7d643c55)" style="fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #000000; stroke-width: 1.5"/>
|
||||
</g>
|
||||
<g id="LineCollection_2">
|
||||
<path d="M 247.946253 87.451372
|
||||
L 313.077625 87.451372
|
||||
" clip-path="url(#p0d7d643c55)" style="fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #000000; stroke-width: 1.5"/>
|
||||
</g>
|
||||
<g id="patch_4">
|
||||
<path d="M 46.965625 288.432
|
||||
L 46.965625 22.32
|
||||
" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="patch_5">
|
||||
<path d="M 313.077625 288.432
|
||||
L 313.077625 22.32
|
||||
" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="patch_6">
|
||||
<path d="M 46.965625 288.432
|
||||
L 313.077625 288.432
|
||||
" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="patch_7">
|
||||
<path d="M 46.965625 22.32
|
||||
L 313.077625 22.32
|
||||
" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="text_19">
|
||||
<!-- $p_{OR}$ (P=0.0100) -->
|
||||
<g transform="translate(133.581625 16.32)scale(0.12 -0.12)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-Oblique-70" d="M 3175 2156
|
||||
Q 3175 2616 2975 2859
|
||||
Q 2775 3103 2400 3103
|
||||
Q 2144 3103 1911 2972
|
||||
Q 1678 2841 1497 2591
|
||||
Q 1319 2344 1212 1994
|
||||
Q 1106 1644 1106 1300
|
||||
Q 1106 863 1306 627
|
||||
Q 1506 391 1875 391
|
||||
Q 2147 391 2380 519
|
||||
Q 2613 647 2778 891
|
||||
Q 2956 1147 3065 1494
|
||||
Q 3175 1841 3175 2156
|
||||
z
|
||||
M 1394 2969
|
||||
Q 1625 3272 1939 3428
|
||||
Q 2253 3584 2638 3584
|
||||
Q 3175 3584 3472 3232
|
||||
Q 3769 2881 3769 2247
|
||||
Q 3769 1728 3584 1258
|
||||
Q 3400 788 3053 416
|
||||
Q 2822 169 2531 39
|
||||
Q 2241 -91 1919 -91
|
||||
Q 1547 -91 1294 64
|
||||
Q 1041 219 916 525
|
||||
L 556 -1331
|
||||
L -19 -1331
|
||||
L 922 3500
|
||||
L 1497 3500
|
||||
L 1394 2969
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-4f" d="M 2919 4238
|
||||
Q 2400 4238 2003 3986
|
||||
Q 1606 3734 1313 3219
|
||||
Q 1125 2891 1026 2522
|
||||
Q 928 2153 928 1778
|
||||
Q 928 1128 1239 775
|
||||
Q 1550 422 2119 422
|
||||
Q 2631 422 3032 676
|
||||
Q 3434 931 3719 1434
|
||||
Q 3909 1772 4009 2142
|
||||
Q 4109 2513 4109 2881
|
||||
Q 4109 3528 3796 3883
|
||||
Q 3484 4238 2919 4238
|
||||
z
|
||||
M 2100 -91
|
||||
Q 1241 -91 748 418
|
||||
Q 256 928 256 1813
|
||||
Q 256 2319 448 2847
|
||||
Q 641 3375 978 3788
|
||||
Q 1375 4272 1862 4511
|
||||
Q 2350 4750 2938 4750
|
||||
Q 3794 4750 4287 4245
|
||||
Q 4781 3741 4781 2869
|
||||
Q 4781 2331 4593 1812
|
||||
Q 4406 1294 4056 872
|
||||
Q 3656 384 3173 146
|
||||
Q 2691 -91 2100 -91
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-52" d="M 1613 4147
|
||||
L 1294 2491
|
||||
L 2106 2491
|
||||
Q 2584 2491 2879 2755
|
||||
Q 3175 3019 3175 3444
|
||||
Q 3175 3784 2976 3965
|
||||
Q 2778 4147 2406 4147
|
||||
L 1613 4147
|
||||
z
|
||||
M 2772 2241
|
||||
Q 2972 2194 3105 2009
|
||||
Q 3238 1825 3413 1275
|
||||
L 3809 0
|
||||
L 3144 0
|
||||
L 2778 1197
|
||||
Q 2638 1659 2453 1815
|
||||
Q 2269 1972 1888 1972
|
||||
L 1191 1972
|
||||
L 806 0
|
||||
L 172 0
|
||||
L 1081 4666
|
||||
L 2503 4666
|
||||
Q 3150 4666 3495 4373
|
||||
Q 3841 4081 3841 3531
|
||||
Q 3841 3044 3547 2687
|
||||
Q 3253 2331 2772 2241
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-20" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-28" d="M 1984 4856
|
||||
Q 1566 4138 1362 3434
|
||||
Q 1159 2731 1159 2009
|
||||
Q 1159 1288 1364 580
|
||||
Q 1569 -128 1984 -844
|
||||
L 1484 -844
|
||||
Q 1016 -109 783 600
|
||||
Q 550 1309 550 2009
|
||||
Q 550 2706 781 3412
|
||||
Q 1013 4119 1484 4856
|
||||
L 1984 4856
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-50" d="M 1259 4147
|
||||
L 1259 2394
|
||||
L 2053 2394
|
||||
Q 2494 2394 2734 2622
|
||||
Q 2975 2850 2975 3272
|
||||
Q 2975 3691 2734 3919
|
||||
Q 2494 4147 2053 4147
|
||||
L 1259 4147
|
||||
z
|
||||
M 628 4666
|
||||
L 2053 4666
|
||||
Q 2838 4666 3239 4311
|
||||
Q 3641 3956 3641 3272
|
||||
Q 3641 2581 3239 2228
|
||||
Q 2838 1875 2053 1875
|
||||
L 1259 1875
|
||||
L 1259 0
|
||||
L 628 0
|
||||
L 628 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-3d" d="M 678 2906
|
||||
L 4684 2906
|
||||
L 4684 2381
|
||||
L 678 2381
|
||||
L 678 2906
|
||||
z
|
||||
M 678 1631
|
||||
L 4684 1631
|
||||
L 4684 1100
|
||||
L 678 1100
|
||||
L 678 1631
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-2e" d="M 684 794
|
||||
L 1344 794
|
||||
L 1344 0
|
||||
L 684 0
|
||||
L 684 794
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-29" d="M 513 4856
|
||||
L 1013 4856
|
||||
Q 1481 4119 1714 3412
|
||||
Q 1947 2706 1947 2009
|
||||
Q 1947 1309 1714 600
|
||||
Q 1481 -109 1013 -844
|
||||
L 513 -844
|
||||
Q 928 -128 1133 580
|
||||
Q 1338 1288 1338 2009
|
||||
Q 1338 2731 1133 3434
|
||||
Q 928 4138 513 4856
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-Oblique-70" transform="translate(0 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-4f" transform="translate(63.476562 -16.28125)scale(0.7)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-52" transform="translate(118.574219 -16.28125)scale(0.7)"/>
|
||||
<use xlink:href="#DejaVuSans-20" transform="translate(169.946289 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-28" transform="translate(201.733398 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-50" transform="translate(240.74707 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-3d" transform="translate(301.049805 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-30" transform="translate(384.838867 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-2e" transform="translate(448.461914 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-30" transform="translate(480.249023 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-31" transform="translate(543.87207 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-30" transform="translate(607.495117 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-30" transform="translate(671.118164 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-29" transform="translate(734.741211 0.125)"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="p0d7d643c55">
|
||||
<rect x="46.965625" y="22.32" width="266.112" height="266.112"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 19 KiB |
BIN
book/figures/dike_heightening_schematic.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
book/figures/dike_rings.jpg
Normal file
|
After Width: | Height: | Size: 137 KiB |
958
book/figures/economic_opt.svg
Normal file
|
|
@ -0,0 +1,958 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="576pt" height="432pt" viewBox="0 0 576 432" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<metadata>
|
||||
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<cc:Work>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:date>2024-02-18T08:16:31.711167</dc:date>
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>Matplotlib v3.8.2, https://matplotlib.org/</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs>
|
||||
<style type="text/css">*{stroke-linejoin: round; stroke-linecap: butt}</style>
|
||||
</defs>
|
||||
<g id="figure_1">
|
||||
<g id="patch_1">
|
||||
<path d="M 0 432
|
||||
L 576 432
|
||||
L 576 0
|
||||
L 0 0
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<g id="axes_1">
|
||||
<g id="patch_2">
|
||||
<path d="M 72 384.48
|
||||
L 518.4 384.48
|
||||
L 518.4 51.84
|
||||
L 72 51.84
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<g id="matplotlib.axis_1">
|
||||
<g id="text_1">
|
||||
<!-- Safety, $-\ln p_f$ [$-$] -->
|
||||
<g transform="translate(232.08 400.64) scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="ArialMT-53" d="M 288 1472
|
||||
L 859 1522
|
||||
Q 900 1178 1048 958
|
||||
Q 1197 738 1509 602
|
||||
Q 1822 466 2213 466
|
||||
Q 2559 466 2825 569
|
||||
Q 3091 672 3220 851
|
||||
Q 3350 1031 3350 1244
|
||||
Q 3350 1459 3225 1620
|
||||
Q 3100 1781 2813 1891
|
||||
Q 2628 1963 1997 2114
|
||||
Q 1366 2266 1113 2400
|
||||
Q 784 2572 623 2826
|
||||
Q 463 3081 463 3397
|
||||
Q 463 3744 659 4045
|
||||
Q 856 4347 1234 4503
|
||||
Q 1613 4659 2075 4659
|
||||
Q 2584 4659 2973 4495
|
||||
Q 3363 4331 3572 4012
|
||||
Q 3781 3694 3797 3291
|
||||
L 3216 3247
|
||||
Q 3169 3681 2898 3903
|
||||
Q 2628 4125 2100 4125
|
||||
Q 1550 4125 1298 3923
|
||||
Q 1047 3722 1047 3438
|
||||
Q 1047 3191 1225 3031
|
||||
Q 1400 2872 2139 2705
|
||||
Q 2878 2538 3153 2413
|
||||
Q 3553 2228 3743 1945
|
||||
Q 3934 1663 3934 1294
|
||||
Q 3934 928 3725 604
|
||||
Q 3516 281 3123 101
|
||||
Q 2731 -78 2241 -78
|
||||
Q 1619 -78 1198 103
|
||||
Q 778 284 539 648
|
||||
Q 300 1013 288 1472
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-61" d="M 2588 409
|
||||
Q 2275 144 1986 34
|
||||
Q 1697 -75 1366 -75
|
||||
Q 819 -75 525 192
|
||||
Q 231 459 231 875
|
||||
Q 231 1119 342 1320
|
||||
Q 453 1522 633 1644
|
||||
Q 813 1766 1038 1828
|
||||
Q 1203 1872 1538 1913
|
||||
Q 2219 1994 2541 2106
|
||||
Q 2544 2222 2544 2253
|
||||
Q 2544 2597 2384 2738
|
||||
Q 2169 2928 1744 2928
|
||||
Q 1347 2928 1158 2789
|
||||
Q 969 2650 878 2297
|
||||
L 328 2372
|
||||
Q 403 2725 575 2942
|
||||
Q 747 3159 1072 3276
|
||||
Q 1397 3394 1825 3394
|
||||
Q 2250 3394 2515 3294
|
||||
Q 2781 3194 2906 3042
|
||||
Q 3031 2891 3081 2659
|
||||
Q 3109 2516 3109 2141
|
||||
L 3109 1391
|
||||
Q 3109 606 3145 398
|
||||
Q 3181 191 3288 0
|
||||
L 2700 0
|
||||
Q 2613 175 2588 409
|
||||
z
|
||||
M 2541 1666
|
||||
Q 2234 1541 1622 1453
|
||||
Q 1275 1403 1131 1340
|
||||
Q 988 1278 909 1158
|
||||
Q 831 1038 831 891
|
||||
Q 831 666 1001 516
|
||||
Q 1172 366 1500 366
|
||||
Q 1825 366 2078 508
|
||||
Q 2331 650 2450 897
|
||||
Q 2541 1088 2541 1459
|
||||
L 2541 1666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-66" d="M 556 0
|
||||
L 556 2881
|
||||
L 59 2881
|
||||
L 59 3319
|
||||
L 556 3319
|
||||
L 556 3672
|
||||
Q 556 4006 616 4169
|
||||
Q 697 4388 901 4523
|
||||
Q 1106 4659 1475 4659
|
||||
Q 1713 4659 2000 4603
|
||||
L 1916 4113
|
||||
Q 1741 4144 1584 4144
|
||||
Q 1328 4144 1222 4034
|
||||
Q 1116 3925 1116 3625
|
||||
L 1116 3319
|
||||
L 1763 3319
|
||||
L 1763 2881
|
||||
L 1116 2881
|
||||
L 1116 0
|
||||
L 556 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-65" d="M 2694 1069
|
||||
L 3275 997
|
||||
Q 3138 488 2766 206
|
||||
Q 2394 -75 1816 -75
|
||||
Q 1088 -75 661 373
|
||||
Q 234 822 234 1631
|
||||
Q 234 2469 665 2931
|
||||
Q 1097 3394 1784 3394
|
||||
Q 2450 3394 2872 2941
|
||||
Q 3294 2488 3294 1666
|
||||
Q 3294 1616 3291 1516
|
||||
L 816 1516
|
||||
Q 847 969 1125 678
|
||||
Q 1403 388 1819 388
|
||||
Q 2128 388 2347 550
|
||||
Q 2566 713 2694 1069
|
||||
z
|
||||
M 847 1978
|
||||
L 2700 1978
|
||||
Q 2663 2397 2488 2606
|
||||
Q 2219 2931 1791 2931
|
||||
Q 1403 2931 1139 2672
|
||||
Q 875 2413 847 1978
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-74" d="M 1650 503
|
||||
L 1731 6
|
||||
Q 1494 -44 1306 -44
|
||||
Q 1000 -44 831 53
|
||||
Q 663 150 594 308
|
||||
Q 525 466 525 972
|
||||
L 525 2881
|
||||
L 113 2881
|
||||
L 113 3319
|
||||
L 525 3319
|
||||
L 525 4141
|
||||
L 1084 4478
|
||||
L 1084 3319
|
||||
L 1650 3319
|
||||
L 1650 2881
|
||||
L 1084 2881
|
||||
L 1084 941
|
||||
Q 1084 700 1114 631
|
||||
Q 1144 563 1211 522
|
||||
Q 1278 481 1403 481
|
||||
Q 1497 481 1650 503
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-79" d="M 397 -1278
|
||||
L 334 -750
|
||||
Q 519 -800 656 -800
|
||||
Q 844 -800 956 -737
|
||||
Q 1069 -675 1141 -563
|
||||
Q 1194 -478 1313 -144
|
||||
Q 1328 -97 1363 -6
|
||||
L 103 3319
|
||||
L 709 3319
|
||||
L 1400 1397
|
||||
Q 1534 1031 1641 628
|
||||
Q 1738 1016 1872 1384
|
||||
L 2581 3319
|
||||
L 3144 3319
|
||||
L 1881 -56
|
||||
Q 1678 -603 1566 -809
|
||||
Q 1416 -1088 1222 -1217
|
||||
Q 1028 -1347 759 -1347
|
||||
Q 597 -1347 397 -1278
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-2c" d="M 569 0
|
||||
L 569 641
|
||||
L 1209 641
|
||||
L 1209 0
|
||||
Q 1209 -353 1084 -570
|
||||
Q 959 -788 688 -906
|
||||
L 531 -666
|
||||
Q 709 -588 793 -436
|
||||
Q 878 -284 888 0
|
||||
L 569 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-20" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-2212" d="M 678 2272
|
||||
L 4684 2272
|
||||
L 4684 1741
|
||||
L 678 1741
|
||||
L 678 2272
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-6c" d="M 603 4863
|
||||
L 1178 4863
|
||||
L 1178 0
|
||||
L 603 0
|
||||
L 603 4863
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-6e" d="M 3513 2113
|
||||
L 3513 0
|
||||
L 2938 0
|
||||
L 2938 2094
|
||||
Q 2938 2591 2744 2837
|
||||
Q 2550 3084 2163 3084
|
||||
Q 1697 3084 1428 2787
|
||||
Q 1159 2491 1159 1978
|
||||
L 1159 0
|
||||
L 581 0
|
||||
L 581 3500
|
||||
L 1159 3500
|
||||
L 1159 2956
|
||||
Q 1366 3272 1645 3428
|
||||
Q 1925 3584 2291 3584
|
||||
Q 2894 3584 3203 3211
|
||||
Q 3513 2838 3513 2113
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-70" d="M 3175 2156
|
||||
Q 3175 2616 2975 2859
|
||||
Q 2775 3103 2400 3103
|
||||
Q 2144 3103 1911 2972
|
||||
Q 1678 2841 1497 2591
|
||||
Q 1319 2344 1212 1994
|
||||
Q 1106 1644 1106 1300
|
||||
Q 1106 863 1306 627
|
||||
Q 1506 391 1875 391
|
||||
Q 2147 391 2380 519
|
||||
Q 2613 647 2778 891
|
||||
Q 2956 1147 3065 1494
|
||||
Q 3175 1841 3175 2156
|
||||
z
|
||||
M 1394 2969
|
||||
Q 1625 3272 1939 3428
|
||||
Q 2253 3584 2638 3584
|
||||
Q 3175 3584 3472 3232
|
||||
Q 3769 2881 3769 2247
|
||||
Q 3769 1728 3584 1258
|
||||
Q 3400 788 3053 416
|
||||
Q 2822 169 2531 39
|
||||
Q 2241 -91 1919 -91
|
||||
Q 1547 -91 1294 64
|
||||
Q 1041 219 916 525
|
||||
L 556 -1331
|
||||
L -19 -1331
|
||||
L 922 3500
|
||||
L 1497 3500
|
||||
L 1394 2969
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-66" d="M 3059 4863
|
||||
L 2969 4384
|
||||
L 2419 4384
|
||||
Q 2106 4384 1964 4261
|
||||
Q 1822 4138 1753 3809
|
||||
L 1691 3500
|
||||
L 2638 3500
|
||||
L 2553 3053
|
||||
L 1606 3053
|
||||
L 1013 0
|
||||
L 434 0
|
||||
L 1031 3053
|
||||
L 481 3053
|
||||
L 563 3500
|
||||
L 1113 3500
|
||||
L 1159 3744
|
||||
Q 1278 4363 1576 4613
|
||||
Q 1875 4863 2516 4863
|
||||
L 3059 4863
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-5b" d="M 434 -1272
|
||||
L 434 4581
|
||||
L 1675 4581
|
||||
L 1675 4116
|
||||
L 997 4116
|
||||
L 997 -806
|
||||
L 1675 -806
|
||||
L 1675 -1272
|
||||
L 434 -1272
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-5d" d="M 1363 -1272
|
||||
L 122 -1272
|
||||
L 122 -806
|
||||
L 800 -806
|
||||
L 800 4116
|
||||
L 122 4116
|
||||
L 122 4581
|
||||
L 1363 4581
|
||||
L 1363 -1272
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#ArialMT-53" transform="translate(0 0.015625)"/>
|
||||
<use xlink:href="#ArialMT-61" transform="translate(66.699219 0.015625)"/>
|
||||
<use xlink:href="#ArialMT-66" transform="translate(122.314453 0.015625)"/>
|
||||
<use xlink:href="#ArialMT-65" transform="translate(150.097656 0.015625)"/>
|
||||
<use xlink:href="#ArialMT-74" transform="translate(205.712891 0.015625)"/>
|
||||
<use xlink:href="#ArialMT-79" transform="translate(233.496094 0.015625)"/>
|
||||
<use xlink:href="#ArialMT-2c" transform="translate(283.496094 0.015625)"/>
|
||||
<use xlink:href="#ArialMT-20" transform="translate(311.279297 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-2212" transform="translate(339.0625 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-6c" transform="translate(422.851562 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-6e" transform="translate(450.634766 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-70" transform="translate(530.249348 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-66" transform="translate(593.725911 -16.390625) scale(0.7)"/>
|
||||
<use xlink:href="#ArialMT-20" transform="translate(621.10384 0.015625)"/>
|
||||
<use xlink:href="#ArialMT-5b" transform="translate(648.887043 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-2212" transform="translate(676.670247 0.015625)"/>
|
||||
<use xlink:href="#ArialMT-5d" transform="translate(760.459309 0.015625)"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="matplotlib.axis_2">
|
||||
<g id="text_2">
|
||||
<!-- Present Value [€] -->
|
||||
<g transform="translate(64.82 278.9375) rotate(-90) scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="ArialMT-50" d="M 494 0
|
||||
L 494 4581
|
||||
L 2222 4581
|
||||
Q 2678 4581 2919 4538
|
||||
Q 3256 4481 3484 4323
|
||||
Q 3713 4166 3852 3881
|
||||
Q 3991 3597 3991 3256
|
||||
Q 3991 2672 3619 2267
|
||||
Q 3247 1863 2275 1863
|
||||
L 1100 1863
|
||||
L 1100 0
|
||||
L 494 0
|
||||
z
|
||||
M 1100 2403
|
||||
L 2284 2403
|
||||
Q 2872 2403 3119 2622
|
||||
Q 3366 2841 3366 3238
|
||||
Q 3366 3525 3220 3729
|
||||
Q 3075 3934 2838 4000
|
||||
Q 2684 4041 2272 4041
|
||||
L 1100 4041
|
||||
L 1100 2403
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-72" d="M 416 0
|
||||
L 416 3319
|
||||
L 922 3319
|
||||
L 922 2816
|
||||
Q 1116 3169 1280 3281
|
||||
Q 1444 3394 1641 3394
|
||||
Q 1925 3394 2219 3213
|
||||
L 2025 2691
|
||||
Q 1819 2813 1613 2813
|
||||
Q 1428 2813 1281 2702
|
||||
Q 1134 2591 1072 2394
|
||||
Q 978 2094 978 1738
|
||||
L 978 0
|
||||
L 416 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-73" d="M 197 991
|
||||
L 753 1078
|
||||
Q 800 744 1014 566
|
||||
Q 1228 388 1613 388
|
||||
Q 2000 388 2187 545
|
||||
Q 2375 703 2375 916
|
||||
Q 2375 1106 2209 1216
|
||||
Q 2094 1291 1634 1406
|
||||
Q 1016 1563 777 1677
|
||||
Q 538 1791 414 1992
|
||||
Q 291 2194 291 2438
|
||||
Q 291 2659 392 2848
|
||||
Q 494 3038 669 3163
|
||||
Q 800 3259 1026 3326
|
||||
Q 1253 3394 1513 3394
|
||||
Q 1903 3394 2198 3281
|
||||
Q 2494 3169 2634 2976
|
||||
Q 2775 2784 2828 2463
|
||||
L 2278 2388
|
||||
Q 2241 2644 2061 2787
|
||||
Q 1881 2931 1553 2931
|
||||
Q 1166 2931 1000 2803
|
||||
Q 834 2675 834 2503
|
||||
Q 834 2394 903 2306
|
||||
Q 972 2216 1119 2156
|
||||
Q 1203 2125 1616 2013
|
||||
Q 2213 1853 2448 1751
|
||||
Q 2684 1650 2818 1456
|
||||
Q 2953 1263 2953 975
|
||||
Q 2953 694 2789 445
|
||||
Q 2625 197 2315 61
|
||||
Q 2006 -75 1616 -75
|
||||
Q 969 -75 630 194
|
||||
Q 291 463 197 991
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-6e" d="M 422 0
|
||||
L 422 3319
|
||||
L 928 3319
|
||||
L 928 2847
|
||||
Q 1294 3394 1984 3394
|
||||
Q 2284 3394 2536 3286
|
||||
Q 2788 3178 2913 3003
|
||||
Q 3038 2828 3088 2588
|
||||
Q 3119 2431 3119 2041
|
||||
L 3119 0
|
||||
L 2556 0
|
||||
L 2556 2019
|
||||
Q 2556 2363 2490 2533
|
||||
Q 2425 2703 2258 2804
|
||||
Q 2091 2906 1866 2906
|
||||
Q 1506 2906 1245 2678
|
||||
Q 984 2450 984 1813
|
||||
L 984 0
|
||||
L 422 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-56" d="M 1803 0
|
||||
L 28 4581
|
||||
L 684 4581
|
||||
L 1875 1253
|
||||
Q 2019 853 2116 503
|
||||
Q 2222 878 2363 1253
|
||||
L 3600 4581
|
||||
L 4219 4581
|
||||
L 2425 0
|
||||
L 1803 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-6c" d="M 409 0
|
||||
L 409 4581
|
||||
L 972 4581
|
||||
L 972 0
|
||||
L 409 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-75" d="M 2597 0
|
||||
L 2597 488
|
||||
Q 2209 -75 1544 -75
|
||||
Q 1250 -75 995 37
|
||||
Q 741 150 617 320
|
||||
Q 494 491 444 738
|
||||
Q 409 903 409 1263
|
||||
L 409 3319
|
||||
L 972 3319
|
||||
L 972 1478
|
||||
Q 972 1038 1006 884
|
||||
Q 1059 663 1231 536
|
||||
Q 1403 409 1656 409
|
||||
Q 1909 409 2131 539
|
||||
Q 2353 669 2445 892
|
||||
Q 2538 1116 2538 1541
|
||||
L 2538 3319
|
||||
L 3100 3319
|
||||
L 3100 0
|
||||
L 2597 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-20ac" d="M 2469 4141
|
||||
Q 1944 4141 1588 3888
|
||||
Q 1375 3738 1203 3463
|
||||
Q 1028 3178 997 2922
|
||||
L 3128 2922
|
||||
L 3044 2503
|
||||
L 947 2503
|
||||
Q 944 2438 944 2378
|
||||
Q 944 2138 947 2091
|
||||
L 2959 2091
|
||||
L 2872 1672
|
||||
L 1013 1672
|
||||
Q 1144 956 1644 656
|
||||
Q 2003 441 2422 441
|
||||
Q 3006 441 3334 747
|
||||
L 3334 103
|
||||
Q 2944 -78 2472 -78
|
||||
Q 1059 -78 563 1097
|
||||
Q 463 1334 391 1672
|
||||
L -88 1672
|
||||
L 0 2091
|
||||
L 328 2091
|
||||
Q 319 2222 319 2375
|
||||
Q 319 2438 322 2503
|
||||
L -88 2503
|
||||
L 0 2922
|
||||
L 363 2922
|
||||
Q 556 3941 1372 4384
|
||||
Q 1875 4659 2481 4659
|
||||
Q 3063 4659 3459 4406
|
||||
L 3334 3825
|
||||
Q 2953 4141 2469 4141
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#ArialMT-50"/>
|
||||
<use xlink:href="#ArialMT-72" x="66.699219"/>
|
||||
<use xlink:href="#ArialMT-65" x="100"/>
|
||||
<use xlink:href="#ArialMT-73" x="155.615234"/>
|
||||
<use xlink:href="#ArialMT-65" x="205.615234"/>
|
||||
<use xlink:href="#ArialMT-6e" x="261.230469"/>
|
||||
<use xlink:href="#ArialMT-74" x="316.845703"/>
|
||||
<use xlink:href="#ArialMT-20" x="344.628906"/>
|
||||
<use xlink:href="#ArialMT-56" x="372.412109"/>
|
||||
<use xlink:href="#ArialMT-61" x="431.736328"/>
|
||||
<use xlink:href="#ArialMT-6c" x="487.351562"/>
|
||||
<use xlink:href="#ArialMT-75" x="509.568359"/>
|
||||
<use xlink:href="#ArialMT-65" x="565.183594"/>
|
||||
<use xlink:href="#ArialMT-20" x="620.798828"/>
|
||||
<use xlink:href="#ArialMT-5b" x="648.582031"/>
|
||||
<use xlink:href="#ArialMT-20ac" x="676.365234"/>
|
||||
<use xlink:href="#ArialMT-5d" x="731.980469"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="line2d_1">
|
||||
<path d="M 92.290909 110.16
|
||||
L 100.572913 148.182404
|
||||
L 108.854917 180.627249
|
||||
L 117.13692 208.312715
|
||||
L 125.418924 231.936962
|
||||
L 133.700928 252.095736
|
||||
L 141.982931 269.297392
|
||||
L 150.264935 283.975713
|
||||
L 158.546939 296.500852
|
||||
L 166.828942 307.18866
|
||||
L 175.110946 316.308659
|
||||
L 183.39295 324.090833
|
||||
L 191.674954 330.731429
|
||||
L 199.956957 336.397908
|
||||
L 208.238961 341.233162
|
||||
L 216.520965 345.359127
|
||||
L 224.802968 348.879848
|
||||
L 233.084972 351.884109
|
||||
L 241.366976 354.447672
|
||||
L 249.64898 356.635182
|
||||
L 257.930983 358.501803
|
||||
L 266.212987 360.094607
|
||||
L 274.494991 361.45376
|
||||
L 282.776994 362.613537
|
||||
L 291.058998 363.603185
|
||||
L 299.341002 364.44766
|
||||
L 307.623006 365.168258
|
||||
L 315.905009 365.78315
|
||||
L 324.187013 366.307843
|
||||
L 332.469017 366.755568
|
||||
L 340.75102 367.137616
|
||||
L 349.033024 367.463621
|
||||
L 357.315028 367.741803
|
||||
L 365.597032 367.979179
|
||||
L 373.879035 368.181733
|
||||
L 382.161039 368.354575
|
||||
L 390.443043 368.502062
|
||||
L 398.725046 368.627914
|
||||
L 407.00705 368.735305
|
||||
L 415.289054 368.826942
|
||||
L 423.571058 368.905137
|
||||
L 431.853061 368.971862
|
||||
L 440.135065 369.028798
|
||||
L 448.417069 369.077383
|
||||
L 456.699072 369.11884
|
||||
L 464.981076 369.154216
|
||||
L 473.26308 369.184403
|
||||
L 481.545083 369.210161
|
||||
L 489.827087 369.232142
|
||||
L 498.109091 369.250897
|
||||
" clip-path="url(#pa8d03186dc)" style="fill: none; stroke-dasharray: 14.8,6.4; stroke-dashoffset: 0; stroke: #0076c2; stroke-width: 4"/>
|
||||
</g>
|
||||
<g id="line2d_2">
|
||||
<path d="M 92.290909 369.36
|
||||
L 100.572913 366.243429
|
||||
L 108.854917 363.126857
|
||||
L 117.13692 360.010286
|
||||
L 125.418924 356.893714
|
||||
L 133.700928 353.777143
|
||||
L 141.982931 350.660571
|
||||
L 150.264935 347.544
|
||||
L 158.546939 344.427429
|
||||
L 166.828942 341.310857
|
||||
L 175.110946 338.194286
|
||||
L 183.39295 335.077714
|
||||
L 191.674954 331.961143
|
||||
L 199.956957 328.844571
|
||||
L 208.238961 325.728
|
||||
L 216.520965 322.611429
|
||||
L 224.802968 319.494857
|
||||
L 233.084972 316.378286
|
||||
L 241.366976 313.261714
|
||||
L 249.64898 310.145143
|
||||
L 257.930983 307.028571
|
||||
L 266.212987 303.912
|
||||
L 274.494991 300.795429
|
||||
L 282.776994 297.678857
|
||||
L 291.058998 294.562286
|
||||
L 299.341002 291.445714
|
||||
L 307.623006 288.329143
|
||||
L 315.905009 285.212571
|
||||
L 324.187013 282.096
|
||||
L 332.469017 278.979429
|
||||
L 340.75102 275.862857
|
||||
L 349.033024 272.746286
|
||||
L 357.315028 269.629714
|
||||
L 365.597032 266.513143
|
||||
L 373.879035 263.396571
|
||||
L 382.161039 260.28
|
||||
L 390.443043 257.163429
|
||||
L 398.725046 254.046857
|
||||
L 407.00705 250.930286
|
||||
L 415.289054 247.813714
|
||||
L 423.571058 244.697143
|
||||
L 431.853061 241.580571
|
||||
L 440.135065 238.464
|
||||
L 448.417069 235.347429
|
||||
L 456.699072 232.230857
|
||||
L 464.981076 229.114286
|
||||
L 473.26308 225.997714
|
||||
L 481.545083 222.881143
|
||||
L 489.827087 219.764571
|
||||
L 498.109091 216.648
|
||||
" clip-path="url(#pa8d03186dc)" style="fill: none; stroke-dasharray: 25.6,6.4,4,6.4; stroke-dashoffset: 0; stroke: #00b8c8; stroke-width: 4"/>
|
||||
</g>
|
||||
<g id="line2d_3">
|
||||
<path d="M 92.290909 66.96
|
||||
L 100.572913 106.238952
|
||||
L 108.854917 139.320617
|
||||
L 117.13692 167.114083
|
||||
L 125.418924 190.395083
|
||||
L 133.700928 209.825557
|
||||
L 141.982931 225.970345
|
||||
L 150.264935 239.311428
|
||||
L 158.546939 250.260085
|
||||
L 166.828942 259.167264
|
||||
L 175.110946 266.332433
|
||||
L 183.39295 272.01113
|
||||
L 191.674954 276.421407
|
||||
L 199.956957 279.74933
|
||||
L 208.238961 282.153672
|
||||
L 216.520965 283.769914
|
||||
L 224.802968 284.713663
|
||||
L 233.084972 285.083568
|
||||
L 241.366976 284.963808
|
||||
L 249.64898 284.426211
|
||||
L 257.930983 283.532071
|
||||
L 266.212987 282.33369
|
||||
L 274.494991 280.875697
|
||||
L 282.776994 279.196175
|
||||
L 291.058998 277.32762
|
||||
L 299.341002 275.297763
|
||||
L 307.623006 273.130264
|
||||
L 315.905009 270.845314
|
||||
L 324.187013 268.460143
|
||||
L 332.469017 265.989452
|
||||
L 340.75102 263.445787
|
||||
L 349.033024 260.839851
|
||||
L 357.315028 258.180779
|
||||
L 365.597032 255.476366
|
||||
L 373.879035 252.733264
|
||||
L 382.161039 249.957147
|
||||
L 390.443043 247.152858
|
||||
L 398.725046 244.32453
|
||||
L 407.00705 241.47569
|
||||
L 415.289054 238.609346
|
||||
L 423.571058 235.728066
|
||||
L 431.853061 232.834041
|
||||
L 440.135065 229.929141
|
||||
L 448.417069 227.01496
|
||||
L 456.699072 224.092861
|
||||
L 464.981076 221.164004
|
||||
L 473.26308 218.229382
|
||||
L 481.545083 215.289839
|
||||
L 489.827087 212.346098
|
||||
L 498.109091 209.398775
|
||||
" clip-path="url(#pa8d03186dc)" style="fill: none; stroke: #0c2340; stroke-width: 4; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="patch_3">
|
||||
<path d="M 72 384.48
|
||||
L 72 51.84
|
||||
" style="fill: none; stroke: #000000; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="patch_4">
|
||||
<path d="M 518.4 384.48
|
||||
L 518.4 51.84
|
||||
" style="fill: none; stroke: #000000; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="patch_5">
|
||||
<path d="M 72 384.48
|
||||
L 518.4 384.48
|
||||
" style="fill: none; stroke: #000000; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="patch_6">
|
||||
<path d="M 72 51.84
|
||||
L 518.4 51.84
|
||||
" style="fill: none; stroke: #000000; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="legend_1">
|
||||
<g id="patch_7">
|
||||
<path d="M 377.7475 132.5375
|
||||
L 507.2 132.5375
|
||||
Q 510.4 132.5375 510.4 129.3375
|
||||
L 510.4 63.04
|
||||
Q 510.4 59.84 507.2 59.84
|
||||
L 377.7475 59.84
|
||||
Q 374.5475 59.84 374.5475 63.04
|
||||
L 374.5475 129.3375
|
||||
Q 374.5475 132.5375 377.7475 132.5375
|
||||
z
|
||||
" style="fill: #ffffff; opacity: 0.8; stroke: #cccccc; stroke-linejoin: miter"/>
|
||||
</g>
|
||||
<g id="line2d_4">
|
||||
<path d="M 380.9475 72.0925
|
||||
L 396.9475 72.0925
|
||||
L 412.9475 72.0925
|
||||
" style="fill: none; stroke-dasharray: 14.8,6.4; stroke-dashoffset: 0; stroke: #0076c2; stroke-width: 4"/>
|
||||
</g>
|
||||
<g id="text_3">
|
||||
<!-- Risk -->
|
||||
<g transform="translate(425.7475 77.6925) scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="ArialMT-52" d="M 503 0
|
||||
L 503 4581
|
||||
L 2534 4581
|
||||
Q 3147 4581 3465 4457
|
||||
Q 3784 4334 3975 4021
|
||||
Q 4166 3709 4166 3331
|
||||
Q 4166 2844 3850 2509
|
||||
Q 3534 2175 2875 2084
|
||||
Q 3116 1969 3241 1856
|
||||
Q 3506 1613 3744 1247
|
||||
L 4541 0
|
||||
L 3778 0
|
||||
L 3172 953
|
||||
Q 2906 1366 2734 1584
|
||||
Q 2563 1803 2427 1890
|
||||
Q 2291 1978 2150 2013
|
||||
Q 2047 2034 1813 2034
|
||||
L 1109 2034
|
||||
L 1109 0
|
||||
L 503 0
|
||||
z
|
||||
M 1109 2559
|
||||
L 2413 2559
|
||||
Q 2828 2559 3062 2645
|
||||
Q 3297 2731 3419 2920
|
||||
Q 3541 3109 3541 3331
|
||||
Q 3541 3656 3305 3865
|
||||
Q 3069 4075 2559 4075
|
||||
L 1109 4075
|
||||
L 1109 2559
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-69" d="M 425 3934
|
||||
L 425 4581
|
||||
L 988 4581
|
||||
L 988 3934
|
||||
L 425 3934
|
||||
z
|
||||
M 425 0
|
||||
L 425 3319
|
||||
L 988 3319
|
||||
L 988 0
|
||||
L 425 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-6b" d="M 425 0
|
||||
L 425 4581
|
||||
L 988 4581
|
||||
L 988 1969
|
||||
L 2319 3319
|
||||
L 3047 3319
|
||||
L 1778 2088
|
||||
L 3175 0
|
||||
L 2481 0
|
||||
L 1384 1697
|
||||
L 988 1316
|
||||
L 988 0
|
||||
L 425 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#ArialMT-52"/>
|
||||
<use xlink:href="#ArialMT-69" x="72.216797"/>
|
||||
<use xlink:href="#ArialMT-73" x="94.433594"/>
|
||||
<use xlink:href="#ArialMT-6b" x="144.433594"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="line2d_5">
|
||||
<path d="M 380.9475 94.725
|
||||
L 396.9475 94.725
|
||||
L 412.9475 94.725
|
||||
" style="fill: none; stroke-dasharray: 25.6,6.4,4,6.4; stroke-dashoffset: 0; stroke: #00b8c8; stroke-width: 4"/>
|
||||
</g>
|
||||
<g id="text_4">
|
||||
<!-- Investment -->
|
||||
<g transform="translate(425.7475 100.325) scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="ArialMT-49" d="M 597 0
|
||||
L 597 4581
|
||||
L 1203 4581
|
||||
L 1203 0
|
||||
L 597 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-76" d="M 1344 0
|
||||
L 81 3319
|
||||
L 675 3319
|
||||
L 1388 1331
|
||||
Q 1503 1009 1600 663
|
||||
Q 1675 925 1809 1294
|
||||
L 2547 3319
|
||||
L 3125 3319
|
||||
L 1869 0
|
||||
L 1344 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-6d" d="M 422 0
|
||||
L 422 3319
|
||||
L 925 3319
|
||||
L 925 2853
|
||||
Q 1081 3097 1340 3245
|
||||
Q 1600 3394 1931 3394
|
||||
Q 2300 3394 2536 3241
|
||||
Q 2772 3088 2869 2813
|
||||
Q 3263 3394 3894 3394
|
||||
Q 4388 3394 4653 3120
|
||||
Q 4919 2847 4919 2278
|
||||
L 4919 0
|
||||
L 4359 0
|
||||
L 4359 2091
|
||||
Q 4359 2428 4304 2576
|
||||
Q 4250 2725 4106 2815
|
||||
Q 3963 2906 3769 2906
|
||||
Q 3419 2906 3187 2673
|
||||
Q 2956 2441 2956 1928
|
||||
L 2956 0
|
||||
L 2394 0
|
||||
L 2394 2156
|
||||
Q 2394 2531 2256 2718
|
||||
Q 2119 2906 1806 2906
|
||||
Q 1569 2906 1367 2781
|
||||
Q 1166 2656 1075 2415
|
||||
Q 984 2175 984 1722
|
||||
L 984 0
|
||||
L 422 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#ArialMT-49"/>
|
||||
<use xlink:href="#ArialMT-6e" x="27.783203"/>
|
||||
<use xlink:href="#ArialMT-76" x="83.398438"/>
|
||||
<use xlink:href="#ArialMT-65" x="133.398438"/>
|
||||
<use xlink:href="#ArialMT-73" x="189.013672"/>
|
||||
<use xlink:href="#ArialMT-74" x="239.013672"/>
|
||||
<use xlink:href="#ArialMT-6d" x="266.796875"/>
|
||||
<use xlink:href="#ArialMT-65" x="350.097656"/>
|
||||
<use xlink:href="#ArialMT-6e" x="405.712891"/>
|
||||
<use xlink:href="#ArialMT-74" x="461.328125"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="line2d_6">
|
||||
<path d="M 380.9475 117.3575
|
||||
L 396.9475 117.3575
|
||||
L 412.9475 117.3575
|
||||
" style="fill: none; stroke: #0c2340; stroke-width: 4; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="text_5">
|
||||
<!-- Total -->
|
||||
<g transform="translate(425.7475 122.9575) scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="ArialMT-54" d="M 1659 0
|
||||
L 1659 4041
|
||||
L 150 4041
|
||||
L 150 4581
|
||||
L 3781 4581
|
||||
L 3781 4041
|
||||
L 2266 4041
|
||||
L 2266 0
|
||||
L 1659 0
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="ArialMT-6f" d="M 213 1659
|
||||
Q 213 2581 725 3025
|
||||
Q 1153 3394 1769 3394
|
||||
Q 2453 3394 2887 2945
|
||||
Q 3322 2497 3322 1706
|
||||
Q 3322 1066 3130 698
|
||||
Q 2938 331 2570 128
|
||||
Q 2203 -75 1769 -75
|
||||
Q 1072 -75 642 372
|
||||
Q 213 819 213 1659
|
||||
z
|
||||
M 791 1659
|
||||
Q 791 1022 1069 705
|
||||
Q 1347 388 1769 388
|
||||
Q 2188 388 2466 706
|
||||
Q 2744 1025 2744 1678
|
||||
Q 2744 2294 2464 2611
|
||||
Q 2184 2928 1769 2928
|
||||
Q 1347 2928 1069 2612
|
||||
Q 791 2297 791 1659
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#ArialMT-54"/>
|
||||
<use xlink:href="#ArialMT-6f" x="49.958984"/>
|
||||
<use xlink:href="#ArialMT-74" x="105.574219"/>
|
||||
<use xlink:href="#ArialMT-61" x="133.357422"/>
|
||||
<use xlink:href="#ArialMT-6c" x="188.972656"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="pa8d03186dc">
|
||||
<rect x="72" y="51.84" width="446.4" height="332.64"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 22 KiB |
936
book/figures/ex_FN_curve_step_01_py.svg
Normal file
|
|
@ -0,0 +1,936 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="576pt" height="432pt" viewBox="0 0 576 432" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<metadata>
|
||||
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<cc:Work>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:date>2023-11-08T14:23:21.748487</dc:date>
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>Matplotlib v3.5.2, https://matplotlib.org/</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs>
|
||||
<style type="text/css">*{stroke-linejoin: round; stroke-linecap: butt}</style>
|
||||
</defs>
|
||||
<g id="figure_1">
|
||||
<g id="patch_1">
|
||||
<path d="M 0 432
|
||||
L 576 432
|
||||
L 576 0
|
||||
L 0 0
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<g id="axes_1">
|
||||
<g id="patch_2">
|
||||
<path d="M 72 384.48
|
||||
L 518.4 384.48
|
||||
L 518.4 51.84
|
||||
L 72 51.84
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<g id="patch_3">
|
||||
<path d="M 92.290909 384.48
|
||||
L 123.034711 384.48
|
||||
L 123.034711 67.68
|
||||
L 92.290909 67.68
|
||||
z
|
||||
" clip-path="url(#peecd71b851)" style="fill: #e0ffff; stroke: #000000; stroke-linejoin: miter"/>
|
||||
</g>
|
||||
<g id="patch_4">
|
||||
<path d="M 246.009917 384.48
|
||||
L 276.753719 384.48
|
||||
L 276.753719 173.28
|
||||
L 246.009917 173.28
|
||||
z
|
||||
" clip-path="url(#peecd71b851)" style="fill: #e0ffff; stroke: #000000; stroke-linejoin: miter"/>
|
||||
</g>
|
||||
<g id="patch_5">
|
||||
<path d="M 467.365289 384.48
|
||||
L 498.109091 384.48
|
||||
L 498.109091 278.88
|
||||
L 467.365289 278.88
|
||||
z
|
||||
" clip-path="url(#peecd71b851)" style="fill: #e0ffff; stroke: #000000; stroke-linejoin: miter"/>
|
||||
</g>
|
||||
<g id="line2d_1">
|
||||
<path d="M 76.464 173.28
|
||||
L 250.56 173.28
|
||||
" clip-path="url(#peecd71b851)" style="fill: none; stroke-dasharray: 3.7,1.6; stroke-dashoffset: 0; stroke: #000000"/>
|
||||
</g>
|
||||
<g id="line2d_2">
|
||||
<path d="M 76.464 278.88
|
||||
L 473.76 278.88
|
||||
" clip-path="url(#peecd71b851)" style="fill: none; stroke-dasharray: 3.7,1.6; stroke-dashoffset: 0; stroke: #000000"/>
|
||||
</g>
|
||||
<g id="mpl_toolkits.axisartist.axis_artist_1">
|
||||
<defs>
|
||||
<path id="m8cc0a8386b" d="M 0 0
|
||||
L 0 -3.5
|
||||
" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</defs>
|
||||
<g>
|
||||
<use xlink:href="#m8cc0a8386b" x="107.66281" y="384.48" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g>
|
||||
<use xlink:href="#m8cc0a8386b" x="261.381818" y="384.48" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g>
|
||||
<use xlink:href="#m8cc0a8386b" x="482.73719" y="384.48" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g id="text_1">
|
||||
<!-- 0 -->
|
||||
<g transform="translate(102.57281 399.855)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-30" d="M 2034 4250
|
||||
Q 1547 4250 1301 3770
|
||||
Q 1056 3291 1056 2328
|
||||
Q 1056 1369 1301 889
|
||||
Q 1547 409 2034 409
|
||||
Q 2525 409 2770 889
|
||||
Q 3016 1369 3016 2328
|
||||
Q 3016 3291 2770 3770
|
||||
Q 2525 4250 2034 4250
|
||||
z
|
||||
M 2034 4750
|
||||
Q 2819 4750 3233 4129
|
||||
Q 3647 3509 3647 2328
|
||||
Q 3647 1150 3233 529
|
||||
Q 2819 -91 2034 -91
|
||||
Q 1250 -91 836 529
|
||||
Q 422 1150 422 2328
|
||||
Q 422 3509 836 4129
|
||||
Q 1250 4750 2034 4750
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-30"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_2">
|
||||
<!-- 10 -->
|
||||
<g transform="translate(251.201818 399.855)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-31" d="M 794 531
|
||||
L 1825 531
|
||||
L 1825 4091
|
||||
L 703 3866
|
||||
L 703 4441
|
||||
L 1819 4666
|
||||
L 2450 4666
|
||||
L 2450 531
|
||||
L 3481 531
|
||||
L 3481 0
|
||||
L 794 0
|
||||
L 794 531
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_3">
|
||||
<!-- 100 -->
|
||||
<g transform="translate(467.46719 399.855)scale(0.16 -0.16)">
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="patch_6">
|
||||
<path d="M 72 384.48
|
||||
L 518.4 384.48
|
||||
L 533.281966 384.48
|
||||
" style="fill: none; stroke: #000000; stroke-linecap: round"/>
|
||||
<path d="M 526.881966 381.28
|
||||
L 533.281966 384.48
|
||||
L 526.881966 387.68
|
||||
L 526.881966 381.28
|
||||
z
|
||||
" style="fill: #00a6d6; stroke: #000000; stroke-linecap: round"/>
|
||||
</g>
|
||||
<g id="text_4">
|
||||
<!-- Fatalities -->
|
||||
<g transform="translate(259.49375 417.24)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-46" d="M 628 4666
|
||||
L 3309 4666
|
||||
L 3309 4134
|
||||
L 1259 4134
|
||||
L 1259 2759
|
||||
L 3109 2759
|
||||
L 3109 2228
|
||||
L 1259 2228
|
||||
L 1259 0
|
||||
L 628 0
|
||||
L 628 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-61" d="M 2194 1759
|
||||
Q 1497 1759 1228 1600
|
||||
Q 959 1441 959 1056
|
||||
Q 959 750 1161 570
|
||||
Q 1363 391 1709 391
|
||||
Q 2188 391 2477 730
|
||||
Q 2766 1069 2766 1631
|
||||
L 2766 1759
|
||||
L 2194 1759
|
||||
z
|
||||
M 3341 1997
|
||||
L 3341 0
|
||||
L 2766 0
|
||||
L 2766 531
|
||||
Q 2569 213 2275 61
|
||||
Q 1981 -91 1556 -91
|
||||
Q 1019 -91 701 211
|
||||
Q 384 513 384 1019
|
||||
Q 384 1609 779 1909
|
||||
Q 1175 2209 1959 2209
|
||||
L 2766 2209
|
||||
L 2766 2266
|
||||
Q 2766 2663 2505 2880
|
||||
Q 2244 3097 1772 3097
|
||||
Q 1472 3097 1187 3025
|
||||
Q 903 2953 641 2809
|
||||
L 641 3341
|
||||
Q 956 3463 1253 3523
|
||||
Q 1550 3584 1831 3584
|
||||
Q 2591 3584 2966 3190
|
||||
Q 3341 2797 3341 1997
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-74" d="M 1172 4494
|
||||
L 1172 3500
|
||||
L 2356 3500
|
||||
L 2356 3053
|
||||
L 1172 3053
|
||||
L 1172 1153
|
||||
Q 1172 725 1289 603
|
||||
Q 1406 481 1766 481
|
||||
L 2356 481
|
||||
L 2356 0
|
||||
L 1766 0
|
||||
Q 1100 0 847 248
|
||||
Q 594 497 594 1153
|
||||
L 594 3053
|
||||
L 172 3053
|
||||
L 172 3500
|
||||
L 594 3500
|
||||
L 594 4494
|
||||
L 1172 4494
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-6c" d="M 603 4863
|
||||
L 1178 4863
|
||||
L 1178 0
|
||||
L 603 0
|
||||
L 603 4863
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-69" d="M 603 3500
|
||||
L 1178 3500
|
||||
L 1178 0
|
||||
L 603 0
|
||||
L 603 3500
|
||||
z
|
||||
M 603 4863
|
||||
L 1178 4863
|
||||
L 1178 4134
|
||||
L 603 4134
|
||||
L 603 4863
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-65" d="M 3597 1894
|
||||
L 3597 1613
|
||||
L 953 1613
|
||||
Q 991 1019 1311 708
|
||||
Q 1631 397 2203 397
|
||||
Q 2534 397 2845 478
|
||||
Q 3156 559 3463 722
|
||||
L 3463 178
|
||||
Q 3153 47 2828 -22
|
||||
Q 2503 -91 2169 -91
|
||||
Q 1331 -91 842 396
|
||||
Q 353 884 353 1716
|
||||
Q 353 2575 817 3079
|
||||
Q 1281 3584 2069 3584
|
||||
Q 2775 3584 3186 3129
|
||||
Q 3597 2675 3597 1894
|
||||
z
|
||||
M 3022 2063
|
||||
Q 3016 2534 2758 2815
|
||||
Q 2500 3097 2075 3097
|
||||
Q 1594 3097 1305 2825
|
||||
Q 1016 2553 972 2059
|
||||
L 3022 2063
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-73" d="M 2834 3397
|
||||
L 2834 2853
|
||||
Q 2591 2978 2328 3040
|
||||
Q 2066 3103 1784 3103
|
||||
Q 1356 3103 1142 2972
|
||||
Q 928 2841 928 2578
|
||||
Q 928 2378 1081 2264
|
||||
Q 1234 2150 1697 2047
|
||||
L 1894 2003
|
||||
Q 2506 1872 2764 1633
|
||||
Q 3022 1394 3022 966
|
||||
Q 3022 478 2636 193
|
||||
Q 2250 -91 1575 -91
|
||||
Q 1294 -91 989 -36
|
||||
Q 684 19 347 128
|
||||
L 347 722
|
||||
Q 666 556 975 473
|
||||
Q 1284 391 1588 391
|
||||
Q 1994 391 2212 530
|
||||
Q 2431 669 2431 922
|
||||
Q 2431 1156 2273 1281
|
||||
Q 2116 1406 1581 1522
|
||||
L 1381 1569
|
||||
Q 847 1681 609 1914
|
||||
Q 372 2147 372 2553
|
||||
Q 372 3047 722 3315
|
||||
Q 1072 3584 1716 3584
|
||||
Q 2034 3584 2315 3537
|
||||
Q 2597 3491 2834 3397
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-46"/>
|
||||
<use xlink:href="#DejaVuSans-61" x="48.394531"/>
|
||||
<use xlink:href="#DejaVuSans-74" x="109.673828"/>
|
||||
<use xlink:href="#DejaVuSans-61" x="148.882812"/>
|
||||
<use xlink:href="#DejaVuSans-6c" x="210.162109"/>
|
||||
<use xlink:href="#DejaVuSans-69" x="237.945312"/>
|
||||
<use xlink:href="#DejaVuSans-74" x="265.728516"/>
|
||||
<use xlink:href="#DejaVuSans-69" x="304.9375"/>
|
||||
<use xlink:href="#DejaVuSans-65" x="332.720703"/>
|
||||
<use xlink:href="#DejaVuSans-73" x="394.244141"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="mpl_toolkits.axisartist.axis_artist_2">
|
||||
<defs>
|
||||
<path id="mb31dacf613" d="M 0 0
|
||||
L 3.5 0
|
||||
" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</defs>
|
||||
<g>
|
||||
<use xlink:href="#mb31dacf613" x="76.919008" y="67.68" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g>
|
||||
<use xlink:href="#mb31dacf613" x="76.919008" y="173.28" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g>
|
||||
<use xlink:href="#mb31dacf613" x="76.919008" y="278.88" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g id="text_5">
|
||||
<!-- 0.989 -->
|
||||
<g transform="translate(27.614008 72.095)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-2e" d="M 684 794
|
||||
L 1344 794
|
||||
L 1344 0
|
||||
L 684 0
|
||||
L 684 794
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-39" d="M 703 97
|
||||
L 703 672
|
||||
Q 941 559 1184 500
|
||||
Q 1428 441 1663 441
|
||||
Q 2288 441 2617 861
|
||||
Q 2947 1281 2994 2138
|
||||
Q 2813 1869 2534 1725
|
||||
Q 2256 1581 1919 1581
|
||||
Q 1219 1581 811 2004
|
||||
Q 403 2428 403 3163
|
||||
Q 403 3881 828 4315
|
||||
Q 1253 4750 1959 4750
|
||||
Q 2769 4750 3195 4129
|
||||
Q 3622 3509 3622 2328
|
||||
Q 3622 1225 3098 567
|
||||
Q 2575 -91 1691 -91
|
||||
Q 1453 -91 1209 -44
|
||||
Q 966 3 703 97
|
||||
z
|
||||
M 1959 2075
|
||||
Q 2384 2075 2632 2365
|
||||
Q 2881 2656 2881 3163
|
||||
Q 2881 3666 2632 3958
|
||||
Q 2384 4250 1959 4250
|
||||
Q 1534 4250 1286 3958
|
||||
Q 1038 3666 1038 3163
|
||||
Q 1038 2656 1286 2365
|
||||
Q 1534 2075 1959 2075
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-38" d="M 2034 2216
|
||||
Q 1584 2216 1326 1975
|
||||
Q 1069 1734 1069 1313
|
||||
Q 1069 891 1326 650
|
||||
Q 1584 409 2034 409
|
||||
Q 2484 409 2743 651
|
||||
Q 3003 894 3003 1313
|
||||
Q 3003 1734 2745 1975
|
||||
Q 2488 2216 2034 2216
|
||||
z
|
||||
M 1403 2484
|
||||
Q 997 2584 770 2862
|
||||
Q 544 3141 544 3541
|
||||
Q 544 4100 942 4425
|
||||
Q 1341 4750 2034 4750
|
||||
Q 2731 4750 3128 4425
|
||||
Q 3525 4100 3525 3541
|
||||
Q 3525 3141 3298 2862
|
||||
Q 3072 2584 2669 2484
|
||||
Q 3125 2378 3379 2068
|
||||
Q 3634 1759 3634 1313
|
||||
Q 3634 634 3220 271
|
||||
Q 2806 -91 2034 -91
|
||||
Q 1263 -91 848 271
|
||||
Q 434 634 434 1313
|
||||
Q 434 1759 690 2068
|
||||
Q 947 2378 1403 2484
|
||||
z
|
||||
M 1172 3481
|
||||
Q 1172 3119 1398 2916
|
||||
Q 1625 2713 2034 2713
|
||||
Q 2441 2713 2670 2916
|
||||
Q 2900 3119 2900 3481
|
||||
Q 2900 3844 2670 4047
|
||||
Q 2441 4250 2034 4250
|
||||
Q 1625 4250 1398 4047
|
||||
Q 1172 3844 1172 3481
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-30"/>
|
||||
<use xlink:href="#DejaVuSans-2e" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-39" x="95.410156"/>
|
||||
<use xlink:href="#DejaVuSans-38" x="159.033203"/>
|
||||
<use xlink:href="#DejaVuSans-39" x="222.65625"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_6">
|
||||
<!-- $10^{-2}$ -->
|
||||
<g transform="translate(35.819008 177.695)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-2212" d="M 678 2272
|
||||
L 4684 2272
|
||||
L 4684 1741
|
||||
L 678 1741
|
||||
L 678 2272
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-32" d="M 1228 531
|
||||
L 3431 531
|
||||
L 3431 0
|
||||
L 469 0
|
||||
L 469 531
|
||||
Q 828 903 1448 1529
|
||||
Q 2069 2156 2228 2338
|
||||
Q 2531 2678 2651 2914
|
||||
Q 2772 3150 2772 3378
|
||||
Q 2772 3750 2511 3984
|
||||
Q 2250 4219 1831 4219
|
||||
Q 1534 4219 1204 4116
|
||||
Q 875 4013 500 3803
|
||||
L 500 4441
|
||||
Q 881 4594 1212 4672
|
||||
Q 1544 4750 1819 4750
|
||||
Q 2544 4750 2975 4387
|
||||
Q 3406 4025 3406 3419
|
||||
Q 3406 3131 3298 2873
|
||||
Q 3191 2616 2906 2266
|
||||
Q 2828 2175 2409 1742
|
||||
Q 1991 1309 1228 531
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-31" transform="translate(0 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-30" transform="translate(63.623047 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-2212" transform="translate(128.203125 39.046875)scale(0.7)"/>
|
||||
<use xlink:href="#DejaVuSans-32" transform="translate(186.855469 39.046875)scale(0.7)"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_7">
|
||||
<!-- $10^{-3}$ -->
|
||||
<g transform="translate(35.819008 283.295)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-33" d="M 2597 2516
|
||||
Q 3050 2419 3304 2112
|
||||
Q 3559 1806 3559 1356
|
||||
Q 3559 666 3084 287
|
||||
Q 2609 -91 1734 -91
|
||||
Q 1441 -91 1130 -33
|
||||
Q 819 25 488 141
|
||||
L 488 750
|
||||
Q 750 597 1062 519
|
||||
Q 1375 441 1716 441
|
||||
Q 2309 441 2620 675
|
||||
Q 2931 909 2931 1356
|
||||
Q 2931 1769 2642 2001
|
||||
Q 2353 2234 1838 2234
|
||||
L 1294 2234
|
||||
L 1294 2753
|
||||
L 1863 2753
|
||||
Q 2328 2753 2575 2939
|
||||
Q 2822 3125 2822 3475
|
||||
Q 2822 3834 2567 4026
|
||||
Q 2313 4219 1838 4219
|
||||
Q 1578 4219 1281 4162
|
||||
Q 984 4106 628 3988
|
||||
L 628 4550
|
||||
Q 988 4650 1302 4700
|
||||
Q 1616 4750 1894 4750
|
||||
Q 2613 4750 3031 4423
|
||||
Q 3450 4097 3450 3541
|
||||
Q 3450 3153 3228 2886
|
||||
Q 3006 2619 2597 2516
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-31" transform="translate(0 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-30" transform="translate(63.623047 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-2212" transform="translate(128.203125 39.046875)scale(0.7)"/>
|
||||
<use xlink:href="#DejaVuSans-33" transform="translate(186.855469 39.046875)scale(0.7)"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="patch_7">
|
||||
<path d="M 76.919008 384.48
|
||||
L 76.919008 51.84
|
||||
L 76.919008 36.958034
|
||||
" style="fill: none; stroke: #000000; stroke-linecap: round"/>
|
||||
<path d="M 73.719008 43.358034
|
||||
L 76.919008 36.958034
|
||||
L 80.119008 43.358034
|
||||
L 73.719008 43.358034
|
||||
z
|
||||
" style="fill: #00a6d6; stroke: #000000; stroke-linecap: round"/>
|
||||
</g>
|
||||
<g id="text_8">
|
||||
<!-- Probability -->
|
||||
<g transform="translate(19.286508 260.44625)rotate(-90)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-50" d="M 1259 4147
|
||||
L 1259 2394
|
||||
L 2053 2394
|
||||
Q 2494 2394 2734 2622
|
||||
Q 2975 2850 2975 3272
|
||||
Q 2975 3691 2734 3919
|
||||
Q 2494 4147 2053 4147
|
||||
L 1259 4147
|
||||
z
|
||||
M 628 4666
|
||||
L 2053 4666
|
||||
Q 2838 4666 3239 4311
|
||||
Q 3641 3956 3641 3272
|
||||
Q 3641 2581 3239 2228
|
||||
Q 2838 1875 2053 1875
|
||||
L 1259 1875
|
||||
L 1259 0
|
||||
L 628 0
|
||||
L 628 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-72" d="M 2631 2963
|
||||
Q 2534 3019 2420 3045
|
||||
Q 2306 3072 2169 3072
|
||||
Q 1681 3072 1420 2755
|
||||
Q 1159 2438 1159 1844
|
||||
L 1159 0
|
||||
L 581 0
|
||||
L 581 3500
|
||||
L 1159 3500
|
||||
L 1159 2956
|
||||
Q 1341 3275 1631 3429
|
||||
Q 1922 3584 2338 3584
|
||||
Q 2397 3584 2469 3576
|
||||
Q 2541 3569 2628 3553
|
||||
L 2631 2963
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-6f" d="M 1959 3097
|
||||
Q 1497 3097 1228 2736
|
||||
Q 959 2375 959 1747
|
||||
Q 959 1119 1226 758
|
||||
Q 1494 397 1959 397
|
||||
Q 2419 397 2687 759
|
||||
Q 2956 1122 2956 1747
|
||||
Q 2956 2369 2687 2733
|
||||
Q 2419 3097 1959 3097
|
||||
z
|
||||
M 1959 3584
|
||||
Q 2709 3584 3137 3096
|
||||
Q 3566 2609 3566 1747
|
||||
Q 3566 888 3137 398
|
||||
Q 2709 -91 1959 -91
|
||||
Q 1206 -91 779 398
|
||||
Q 353 888 353 1747
|
||||
Q 353 2609 779 3096
|
||||
Q 1206 3584 1959 3584
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-62" d="M 3116 1747
|
||||
Q 3116 2381 2855 2742
|
||||
Q 2594 3103 2138 3103
|
||||
Q 1681 3103 1420 2742
|
||||
Q 1159 2381 1159 1747
|
||||
Q 1159 1113 1420 752
|
||||
Q 1681 391 2138 391
|
||||
Q 2594 391 2855 752
|
||||
Q 3116 1113 3116 1747
|
||||
z
|
||||
M 1159 2969
|
||||
Q 1341 3281 1617 3432
|
||||
Q 1894 3584 2278 3584
|
||||
Q 2916 3584 3314 3078
|
||||
Q 3713 2572 3713 1747
|
||||
Q 3713 922 3314 415
|
||||
Q 2916 -91 2278 -91
|
||||
Q 1894 -91 1617 61
|
||||
Q 1341 213 1159 525
|
||||
L 1159 0
|
||||
L 581 0
|
||||
L 581 4863
|
||||
L 1159 4863
|
||||
L 1159 2969
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-79" d="M 2059 -325
|
||||
Q 1816 -950 1584 -1140
|
||||
Q 1353 -1331 966 -1331
|
||||
L 506 -1331
|
||||
L 506 -850
|
||||
L 844 -850
|
||||
Q 1081 -850 1212 -737
|
||||
Q 1344 -625 1503 -206
|
||||
L 1606 56
|
||||
L 191 3500
|
||||
L 800 3500
|
||||
L 1894 763
|
||||
L 2988 3500
|
||||
L 3597 3500
|
||||
L 2059 -325
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-50"/>
|
||||
<use xlink:href="#DejaVuSans-72" x="58.552734"/>
|
||||
<use xlink:href="#DejaVuSans-6f" x="97.416016"/>
|
||||
<use xlink:href="#DejaVuSans-62" x="158.597656"/>
|
||||
<use xlink:href="#DejaVuSans-61" x="222.074219"/>
|
||||
<use xlink:href="#DejaVuSans-62" x="283.353516"/>
|
||||
<use xlink:href="#DejaVuSans-69" x="346.830078"/>
|
||||
<use xlink:href="#DejaVuSans-6c" x="374.613281"/>
|
||||
<use xlink:href="#DejaVuSans-69" x="402.396484"/>
|
||||
<use xlink:href="#DejaVuSans-74" x="430.179688"/>
|
||||
<use xlink:href="#DejaVuSans-79" x="469.388672"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_9">
|
||||
<!-- Probability density/mass function, $f_{N}(n)$ -->
|
||||
<g transform="translate(151.296 45.84)scale(0.192 -0.192)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-20" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-64" d="M 2906 2969
|
||||
L 2906 4863
|
||||
L 3481 4863
|
||||
L 3481 0
|
||||
L 2906 0
|
||||
L 2906 525
|
||||
Q 2725 213 2448 61
|
||||
Q 2172 -91 1784 -91
|
||||
Q 1150 -91 751 415
|
||||
Q 353 922 353 1747
|
||||
Q 353 2572 751 3078
|
||||
Q 1150 3584 1784 3584
|
||||
Q 2172 3584 2448 3432
|
||||
Q 2725 3281 2906 2969
|
||||
z
|
||||
M 947 1747
|
||||
Q 947 1113 1208 752
|
||||
Q 1469 391 1925 391
|
||||
Q 2381 391 2643 752
|
||||
Q 2906 1113 2906 1747
|
||||
Q 2906 2381 2643 2742
|
||||
Q 2381 3103 1925 3103
|
||||
Q 1469 3103 1208 2742
|
||||
Q 947 2381 947 1747
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-6e" d="M 3513 2113
|
||||
L 3513 0
|
||||
L 2938 0
|
||||
L 2938 2094
|
||||
Q 2938 2591 2744 2837
|
||||
Q 2550 3084 2163 3084
|
||||
Q 1697 3084 1428 2787
|
||||
Q 1159 2491 1159 1978
|
||||
L 1159 0
|
||||
L 581 0
|
||||
L 581 3500
|
||||
L 1159 3500
|
||||
L 1159 2956
|
||||
Q 1366 3272 1645 3428
|
||||
Q 1925 3584 2291 3584
|
||||
Q 2894 3584 3203 3211
|
||||
Q 3513 2838 3513 2113
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-2f" d="M 1625 4666
|
||||
L 2156 4666
|
||||
L 531 -594
|
||||
L 0 -594
|
||||
L 1625 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-6d" d="M 3328 2828
|
||||
Q 3544 3216 3844 3400
|
||||
Q 4144 3584 4550 3584
|
||||
Q 5097 3584 5394 3201
|
||||
Q 5691 2819 5691 2113
|
||||
L 5691 0
|
||||
L 5113 0
|
||||
L 5113 2094
|
||||
Q 5113 2597 4934 2840
|
||||
Q 4756 3084 4391 3084
|
||||
Q 3944 3084 3684 2787
|
||||
Q 3425 2491 3425 1978
|
||||
L 3425 0
|
||||
L 2847 0
|
||||
L 2847 2094
|
||||
Q 2847 2600 2669 2842
|
||||
Q 2491 3084 2119 3084
|
||||
Q 1678 3084 1418 2786
|
||||
Q 1159 2488 1159 1978
|
||||
L 1159 0
|
||||
L 581 0
|
||||
L 581 3500
|
||||
L 1159 3500
|
||||
L 1159 2956
|
||||
Q 1356 3278 1631 3431
|
||||
Q 1906 3584 2284 3584
|
||||
Q 2666 3584 2933 3390
|
||||
Q 3200 3197 3328 2828
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-66" d="M 2375 4863
|
||||
L 2375 4384
|
||||
L 1825 4384
|
||||
Q 1516 4384 1395 4259
|
||||
Q 1275 4134 1275 3809
|
||||
L 1275 3500
|
||||
L 2222 3500
|
||||
L 2222 3053
|
||||
L 1275 3053
|
||||
L 1275 0
|
||||
L 697 0
|
||||
L 697 3053
|
||||
L 147 3053
|
||||
L 147 3500
|
||||
L 697 3500
|
||||
L 697 3744
|
||||
Q 697 4328 969 4595
|
||||
Q 1241 4863 1831 4863
|
||||
L 2375 4863
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-75" d="M 544 1381
|
||||
L 544 3500
|
||||
L 1119 3500
|
||||
L 1119 1403
|
||||
Q 1119 906 1312 657
|
||||
Q 1506 409 1894 409
|
||||
Q 2359 409 2629 706
|
||||
Q 2900 1003 2900 1516
|
||||
L 2900 3500
|
||||
L 3475 3500
|
||||
L 3475 0
|
||||
L 2900 0
|
||||
L 2900 538
|
||||
Q 2691 219 2414 64
|
||||
Q 2138 -91 1772 -91
|
||||
Q 1169 -91 856 284
|
||||
Q 544 659 544 1381
|
||||
z
|
||||
M 1991 3584
|
||||
L 1991 3584
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-63" d="M 3122 3366
|
||||
L 3122 2828
|
||||
Q 2878 2963 2633 3030
|
||||
Q 2388 3097 2138 3097
|
||||
Q 1578 3097 1268 2742
|
||||
Q 959 2388 959 1747
|
||||
Q 959 1106 1268 751
|
||||
Q 1578 397 2138 397
|
||||
Q 2388 397 2633 464
|
||||
Q 2878 531 3122 666
|
||||
L 3122 134
|
||||
Q 2881 22 2623 -34
|
||||
Q 2366 -91 2075 -91
|
||||
Q 1284 -91 818 406
|
||||
Q 353 903 353 1747
|
||||
Q 353 2603 823 3093
|
||||
Q 1294 3584 2113 3584
|
||||
Q 2378 3584 2631 3529
|
||||
Q 2884 3475 3122 3366
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-2c" d="M 750 794
|
||||
L 1409 794
|
||||
L 1409 256
|
||||
L 897 -744
|
||||
L 494 -744
|
||||
L 750 256
|
||||
L 750 794
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-66" d="M 3059 4863
|
||||
L 2969 4384
|
||||
L 2419 4384
|
||||
Q 2106 4384 1964 4261
|
||||
Q 1822 4138 1753 3809
|
||||
L 1691 3500
|
||||
L 2638 3500
|
||||
L 2553 3053
|
||||
L 1606 3053
|
||||
L 1013 0
|
||||
L 434 0
|
||||
L 1031 3053
|
||||
L 481 3053
|
||||
L 563 3500
|
||||
L 1113 3500
|
||||
L 1159 3744
|
||||
Q 1278 4363 1576 4613
|
||||
Q 1875 4863 2516 4863
|
||||
L 3059 4863
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-4e" d="M 1081 4666
|
||||
L 1931 4666
|
||||
L 3219 666
|
||||
L 4000 4666
|
||||
L 4616 4666
|
||||
L 3706 0
|
||||
L 2853 0
|
||||
L 1569 4025
|
||||
L 788 0
|
||||
L 172 0
|
||||
L 1081 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-28" d="M 1984 4856
|
||||
Q 1566 4138 1362 3434
|
||||
Q 1159 2731 1159 2009
|
||||
Q 1159 1288 1364 580
|
||||
Q 1569 -128 1984 -844
|
||||
L 1484 -844
|
||||
Q 1016 -109 783 600
|
||||
Q 550 1309 550 2009
|
||||
Q 550 2706 781 3412
|
||||
Q 1013 4119 1484 4856
|
||||
L 1984 4856
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-6e" d="M 3566 2113
|
||||
L 3156 0
|
||||
L 2578 0
|
||||
L 2988 2091
|
||||
Q 3016 2238 3031 2350
|
||||
Q 3047 2463 3047 2528
|
||||
Q 3047 2791 2881 2937
|
||||
Q 2716 3084 2419 3084
|
||||
Q 1956 3084 1622 2776
|
||||
Q 1288 2469 1184 1941
|
||||
L 800 0
|
||||
L 225 0
|
||||
L 903 3500
|
||||
L 1478 3500
|
||||
L 1363 2950
|
||||
Q 1603 3253 1940 3418
|
||||
Q 2278 3584 2650 3584
|
||||
Q 3113 3584 3367 3334
|
||||
Q 3622 3084 3622 2631
|
||||
Q 3622 2519 3608 2391
|
||||
Q 3594 2263 3566 2113
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-29" d="M 513 4856
|
||||
L 1013 4856
|
||||
Q 1481 4119 1714 3412
|
||||
Q 1947 2706 1947 2009
|
||||
Q 1947 1309 1714 600
|
||||
Q 1481 -109 1013 -844
|
||||
L 513 -844
|
||||
Q 928 -128 1133 580
|
||||
Q 1338 1288 1338 2009
|
||||
Q 1338 2731 1133 3434
|
||||
Q 928 4138 513 4856
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-50" transform="translate(0 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-72" transform="translate(60.302734 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-6f" transform="translate(101.416016 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-62" transform="translate(162.597656 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-61" transform="translate(226.074219 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-62" transform="translate(287.353516 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-69" transform="translate(350.830078 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-6c" transform="translate(378.613281 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-69" transform="translate(406.396484 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-74" transform="translate(434.179688 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-79" transform="translate(473.388672 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-20" transform="translate(532.568359 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-64" transform="translate(564.355469 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-65" transform="translate(627.832031 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-6e" transform="translate(689.355469 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-73" transform="translate(752.734375 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-69" transform="translate(804.833984 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-74" transform="translate(832.617188 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-79" transform="translate(871.826172 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-2f" transform="translate(931.005859 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-6d" transform="translate(964.697266 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-61" transform="translate(1062.109375 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-73" transform="translate(1123.388672 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-73" transform="translate(1175.488281 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-20" transform="translate(1227.587891 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-66" transform="translate(1259.375 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-75" transform="translate(1294.580078 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-6e" transform="translate(1357.958984 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-63" transform="translate(1421.337891 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-74" transform="translate(1476.318359 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-69" transform="translate(1515.527344 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-6f" transform="translate(1543.310547 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-6e" transform="translate(1604.492188 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-2c" transform="translate(1667.871094 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-20" transform="translate(1699.658203 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-66" transform="translate(1731.445312 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-4e" transform="translate(1766.650391 -16.390625)scale(0.7)"/>
|
||||
<use xlink:href="#DejaVuSans-28" transform="translate(1821.748047 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-6e" transform="translate(1860.761719 0.015625)"/>
|
||||
<use xlink:href="#DejaVuSans-29" transform="translate(1924.140625 0.015625)"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="peecd71b851">
|
||||
<rect x="72" y="51.84" width="446.4" height="332.64"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 23 KiB |
1048
book/figures/ex_FN_curve_step_02_py.svg
Normal file
|
After Width: | Height: | Size: 26 KiB |
822
book/figures/ex_FN_curve_step_03_py.svg
Normal file
|
|
@ -0,0 +1,822 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="576pt" height="432pt" viewBox="0 0 576 432" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<metadata>
|
||||
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<cc:Work>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:date>2023-11-08T14:23:21.696682</dc:date>
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>Matplotlib v3.5.2, https://matplotlib.org/</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs>
|
||||
<style type="text/css">*{stroke-linejoin: round; stroke-linecap: butt}</style>
|
||||
</defs>
|
||||
<g id="figure_1">
|
||||
<g id="patch_1">
|
||||
<path d="M 0 432
|
||||
L 576 432
|
||||
L 576 0
|
||||
L 0 0
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<g id="axes_1">
|
||||
<g id="patch_2">
|
||||
<path d="M 72 384.48
|
||||
L 518.4 384.48
|
||||
L 518.4 51.84
|
||||
L 72 51.84
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<g id="line2d_1">
|
||||
<path d="M 92.290909 369.36
|
||||
L 92.290909 66.96
|
||||
L 224.622925 66.96
|
||||
L 224.622925 170.91
|
||||
L 498.109091 170.91
|
||||
L 498.109091 369.36
|
||||
L 498.109091 369.36
|
||||
" clip-path="url(#p2afb94e894)" style="fill: none; stroke: #00008b; stroke-width: 4; stroke-linecap: square"/>
|
||||
</g>
|
||||
<g id="mpl_toolkits.axisartist.axis_artist_1">
|
||||
<defs>
|
||||
<path id="m1cb5f93fe1" d="M 0 0
|
||||
L 0 -3.5
|
||||
" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</defs>
|
||||
<g>
|
||||
<use xlink:href="#m1cb5f93fe1" x="92.290909" y="378.81" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g>
|
||||
<use xlink:href="#m1cb5f93fe1" x="224.622925" y="378.81" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g>
|
||||
<use xlink:href="#m1cb5f93fe1" x="498.109091" y="378.81" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g>
|
||||
<use xlink:href="#m1cb5f93fe1" x="498.109091" y="378.81" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g id="text_1">
|
||||
<!-- 0 -->
|
||||
<g transform="translate(87.200909 394.185)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-30" d="M 2034 4250
|
||||
Q 1547 4250 1301 3770
|
||||
Q 1056 3291 1056 2328
|
||||
Q 1056 1369 1301 889
|
||||
Q 1547 409 2034 409
|
||||
Q 2525 409 2770 889
|
||||
Q 3016 1369 3016 2328
|
||||
Q 3016 3291 2770 3770
|
||||
Q 2525 4250 2034 4250
|
||||
z
|
||||
M 2034 4750
|
||||
Q 2819 4750 3233 4129
|
||||
Q 3647 3509 3647 2328
|
||||
Q 3647 1150 3233 529
|
||||
Q 2819 -91 2034 -91
|
||||
Q 1250 -91 836 529
|
||||
Q 422 1150 422 2328
|
||||
Q 422 3509 836 4129
|
||||
Q 1250 4750 2034 4750
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-30"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_2">
|
||||
<!-- 10 -->
|
||||
<g transform="translate(214.442925 394.185)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-31" d="M 794 531
|
||||
L 1825 531
|
||||
L 1825 4091
|
||||
L 703 3866
|
||||
L 703 4441
|
||||
L 1819 4666
|
||||
L 2450 4666
|
||||
L 2450 531
|
||||
L 3481 531
|
||||
L 3481 0
|
||||
L 794 0
|
||||
L 794 531
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_3">
|
||||
<!-- 100 -->
|
||||
<g transform="translate(482.839091 394.185)scale(0.16 -0.16)">
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_4">
|
||||
<!-- 100 -->
|
||||
<g transform="translate(482.839091 394.185)scale(0.16 -0.16)">
|
||||
<use xlink:href="#DejaVuSans-31"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="63.623047"/>
|
||||
<use xlink:href="#DejaVuSans-30" x="127.246094"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="patch_3">
|
||||
<path d="M 72 378.81
|
||||
L 518.4 378.81
|
||||
L 533.281966 378.81
|
||||
" style="fill: none; stroke: #000000; stroke-linecap: round"/>
|
||||
<path d="M 526.881966 375.61
|
||||
L 533.281966 378.81
|
||||
L 526.881966 382.01
|
||||
L 526.881966 375.61
|
||||
z
|
||||
" style="fill: #00a6d6; stroke: #000000; stroke-linecap: round"/>
|
||||
</g>
|
||||
<g id="text_5">
|
||||
<!-- Fatalities -->
|
||||
<g transform="translate(259.49375 411.57)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-46" d="M 628 4666
|
||||
L 3309 4666
|
||||
L 3309 4134
|
||||
L 1259 4134
|
||||
L 1259 2759
|
||||
L 3109 2759
|
||||
L 3109 2228
|
||||
L 1259 2228
|
||||
L 1259 0
|
||||
L 628 0
|
||||
L 628 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-61" d="M 2194 1759
|
||||
Q 1497 1759 1228 1600
|
||||
Q 959 1441 959 1056
|
||||
Q 959 750 1161 570
|
||||
Q 1363 391 1709 391
|
||||
Q 2188 391 2477 730
|
||||
Q 2766 1069 2766 1631
|
||||
L 2766 1759
|
||||
L 2194 1759
|
||||
z
|
||||
M 3341 1997
|
||||
L 3341 0
|
||||
L 2766 0
|
||||
L 2766 531
|
||||
Q 2569 213 2275 61
|
||||
Q 1981 -91 1556 -91
|
||||
Q 1019 -91 701 211
|
||||
Q 384 513 384 1019
|
||||
Q 384 1609 779 1909
|
||||
Q 1175 2209 1959 2209
|
||||
L 2766 2209
|
||||
L 2766 2266
|
||||
Q 2766 2663 2505 2880
|
||||
Q 2244 3097 1772 3097
|
||||
Q 1472 3097 1187 3025
|
||||
Q 903 2953 641 2809
|
||||
L 641 3341
|
||||
Q 956 3463 1253 3523
|
||||
Q 1550 3584 1831 3584
|
||||
Q 2591 3584 2966 3190
|
||||
Q 3341 2797 3341 1997
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-74" d="M 1172 4494
|
||||
L 1172 3500
|
||||
L 2356 3500
|
||||
L 2356 3053
|
||||
L 1172 3053
|
||||
L 1172 1153
|
||||
Q 1172 725 1289 603
|
||||
Q 1406 481 1766 481
|
||||
L 2356 481
|
||||
L 2356 0
|
||||
L 1766 0
|
||||
Q 1100 0 847 248
|
||||
Q 594 497 594 1153
|
||||
L 594 3053
|
||||
L 172 3053
|
||||
L 172 3500
|
||||
L 594 3500
|
||||
L 594 4494
|
||||
L 1172 4494
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-6c" d="M 603 4863
|
||||
L 1178 4863
|
||||
L 1178 0
|
||||
L 603 0
|
||||
L 603 4863
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-69" d="M 603 3500
|
||||
L 1178 3500
|
||||
L 1178 0
|
||||
L 603 0
|
||||
L 603 3500
|
||||
z
|
||||
M 603 4863
|
||||
L 1178 4863
|
||||
L 1178 4134
|
||||
L 603 4134
|
||||
L 603 4863
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-65" d="M 3597 1894
|
||||
L 3597 1613
|
||||
L 953 1613
|
||||
Q 991 1019 1311 708
|
||||
Q 1631 397 2203 397
|
||||
Q 2534 397 2845 478
|
||||
Q 3156 559 3463 722
|
||||
L 3463 178
|
||||
Q 3153 47 2828 -22
|
||||
Q 2503 -91 2169 -91
|
||||
Q 1331 -91 842 396
|
||||
Q 353 884 353 1716
|
||||
Q 353 2575 817 3079
|
||||
Q 1281 3584 2069 3584
|
||||
Q 2775 3584 3186 3129
|
||||
Q 3597 2675 3597 1894
|
||||
z
|
||||
M 3022 2063
|
||||
Q 3016 2534 2758 2815
|
||||
Q 2500 3097 2075 3097
|
||||
Q 1594 3097 1305 2825
|
||||
Q 1016 2553 972 2059
|
||||
L 3022 2063
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-73" d="M 2834 3397
|
||||
L 2834 2853
|
||||
Q 2591 2978 2328 3040
|
||||
Q 2066 3103 1784 3103
|
||||
Q 1356 3103 1142 2972
|
||||
Q 928 2841 928 2578
|
||||
Q 928 2378 1081 2264
|
||||
Q 1234 2150 1697 2047
|
||||
L 1894 2003
|
||||
Q 2506 1872 2764 1633
|
||||
Q 3022 1394 3022 966
|
||||
Q 3022 478 2636 193
|
||||
Q 2250 -91 1575 -91
|
||||
Q 1294 -91 989 -36
|
||||
Q 684 19 347 128
|
||||
L 347 722
|
||||
Q 666 556 975 473
|
||||
Q 1284 391 1588 391
|
||||
Q 1994 391 2212 530
|
||||
Q 2431 669 2431 922
|
||||
Q 2431 1156 2273 1281
|
||||
Q 2116 1406 1581 1522
|
||||
L 1381 1569
|
||||
Q 847 1681 609 1914
|
||||
Q 372 2147 372 2553
|
||||
Q 372 3047 722 3315
|
||||
Q 1072 3584 1716 3584
|
||||
Q 2034 3584 2315 3537
|
||||
Q 2597 3491 2834 3397
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-46"/>
|
||||
<use xlink:href="#DejaVuSans-61" x="48.394531"/>
|
||||
<use xlink:href="#DejaVuSans-74" x="109.673828"/>
|
||||
<use xlink:href="#DejaVuSans-61" x="148.882812"/>
|
||||
<use xlink:href="#DejaVuSans-6c" x="210.162109"/>
|
||||
<use xlink:href="#DejaVuSans-69" x="237.945312"/>
|
||||
<use xlink:href="#DejaVuSans-74" x="265.728516"/>
|
||||
<use xlink:href="#DejaVuSans-69" x="304.9375"/>
|
||||
<use xlink:href="#DejaVuSans-65" x="332.720703"/>
|
||||
<use xlink:href="#DejaVuSans-73" x="394.244141"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="mpl_toolkits.axisartist.axis_artist_2">
|
||||
<defs>
|
||||
<path id="m97a740580f" d="M 0 0
|
||||
L 3.5 0
|
||||
" style="stroke: #000000; stroke-width: 0.8"/>
|
||||
</defs>
|
||||
<g>
|
||||
<use xlink:href="#m97a740580f" x="79.057708" y="369.36" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g>
|
||||
<use xlink:href="#m97a740580f" x="79.057708" y="66.96" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g>
|
||||
<use xlink:href="#m97a740580f" x="79.057708" y="170.91" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g>
|
||||
<use xlink:href="#m97a740580f" x="79.057708" y="369.36" style="fill: none; stroke: #000000; stroke-width: 0.8"/>
|
||||
</g>
|
||||
<g id="text_6">
|
||||
<!-- 0 -->
|
||||
<g transform="translate(65.377708 373.775)scale(0.16 -0.16)">
|
||||
<use xlink:href="#DejaVuSans-30"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_7">
|
||||
<!-- $1.1 * 10^{-2}$ -->
|
||||
<g transform="translate(-1.722292 71.375)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-2e" d="M 684 794
|
||||
L 1344 794
|
||||
L 1344 0
|
||||
L 684 0
|
||||
L 684 794
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-2a" d="M 3009 3897
|
||||
L 1888 3291
|
||||
L 3009 2681
|
||||
L 2828 2375
|
||||
L 1778 3009
|
||||
L 1778 1831
|
||||
L 1422 1831
|
||||
L 1422 3009
|
||||
L 372 2375
|
||||
L 191 2681
|
||||
L 1313 3291
|
||||
L 191 3897
|
||||
L 372 4206
|
||||
L 1422 3572
|
||||
L 1422 4750
|
||||
L 1778 4750
|
||||
L 1778 3572
|
||||
L 2828 4206
|
||||
L 3009 3897
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-2212" d="M 678 2272
|
||||
L 4684 2272
|
||||
L 4684 1741
|
||||
L 678 1741
|
||||
L 678 2272
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-32" d="M 1228 531
|
||||
L 3431 531
|
||||
L 3431 0
|
||||
L 469 0
|
||||
L 469 531
|
||||
Q 828 903 1448 1529
|
||||
Q 2069 2156 2228 2338
|
||||
Q 2531 2678 2651 2914
|
||||
Q 2772 3150 2772 3378
|
||||
Q 2772 3750 2511 3984
|
||||
Q 2250 4219 1831 4219
|
||||
Q 1534 4219 1204 4116
|
||||
Q 875 4013 500 3803
|
||||
L 500 4441
|
||||
Q 881 4594 1212 4672
|
||||
Q 1544 4750 1819 4750
|
||||
Q 2544 4750 2975 4387
|
||||
Q 3406 4025 3406 3419
|
||||
Q 3406 3131 3298 2873
|
||||
Q 3191 2616 2906 2266
|
||||
Q 2828 2175 2409 1742
|
||||
Q 1991 1309 1228 531
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-31" transform="translate(0 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-2e" transform="translate(63.623047 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-31" transform="translate(95.410156 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-2a" transform="translate(178.515625 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-31" transform="translate(247.998047 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-30" transform="translate(311.621094 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-2212" transform="translate(376.201172 39.046875)scale(0.7)"/>
|
||||
<use xlink:href="#DejaVuSans-32" transform="translate(434.853516 39.046875)scale(0.7)"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_8">
|
||||
<!-- $10^{-3}$ -->
|
||||
<g transform="translate(37.957708 175.325)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-33" d="M 2597 2516
|
||||
Q 3050 2419 3304 2112
|
||||
Q 3559 1806 3559 1356
|
||||
Q 3559 666 3084 287
|
||||
Q 2609 -91 1734 -91
|
||||
Q 1441 -91 1130 -33
|
||||
Q 819 25 488 141
|
||||
L 488 750
|
||||
Q 750 597 1062 519
|
||||
Q 1375 441 1716 441
|
||||
Q 2309 441 2620 675
|
||||
Q 2931 909 2931 1356
|
||||
Q 2931 1769 2642 2001
|
||||
Q 2353 2234 1838 2234
|
||||
L 1294 2234
|
||||
L 1294 2753
|
||||
L 1863 2753
|
||||
Q 2328 2753 2575 2939
|
||||
Q 2822 3125 2822 3475
|
||||
Q 2822 3834 2567 4026
|
||||
Q 2313 4219 1838 4219
|
||||
Q 1578 4219 1281 4162
|
||||
Q 984 4106 628 3988
|
||||
L 628 4550
|
||||
Q 988 4650 1302 4700
|
||||
Q 1616 4750 1894 4750
|
||||
Q 2613 4750 3031 4423
|
||||
Q 3450 4097 3450 3541
|
||||
Q 3450 3153 3228 2886
|
||||
Q 3006 2619 2597 2516
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-31" transform="translate(0 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-30" transform="translate(63.623047 0.765625)"/>
|
||||
<use xlink:href="#DejaVuSans-2212" transform="translate(128.203125 39.046875)scale(0.7)"/>
|
||||
<use xlink:href="#DejaVuSans-33" transform="translate(186.855469 39.046875)scale(0.7)"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_9">
|
||||
<!-- 0 -->
|
||||
<g transform="translate(65.377708 373.775)scale(0.16 -0.16)">
|
||||
<use xlink:href="#DejaVuSans-30"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="patch_4">
|
||||
<path d="M 79.057708 384.48
|
||||
L 79.057708 51.84
|
||||
L 79.057708 36.958034
|
||||
" style="fill: none; stroke: #000000; stroke-linecap: round"/>
|
||||
<path d="M 75.857708 43.358034
|
||||
L 79.057708 36.958034
|
||||
L 82.257708 43.358034
|
||||
L 75.857708 43.358034
|
||||
z
|
||||
" style="fill: #00a6d6; stroke: #000000; stroke-linecap: round"/>
|
||||
</g>
|
||||
<g id="text_10">
|
||||
<!-- Probability -->
|
||||
<g transform="translate(-10.049792 260.44625)rotate(-90)scale(0.16 -0.16)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-50" d="M 1259 4147
|
||||
L 1259 2394
|
||||
L 2053 2394
|
||||
Q 2494 2394 2734 2622
|
||||
Q 2975 2850 2975 3272
|
||||
Q 2975 3691 2734 3919
|
||||
Q 2494 4147 2053 4147
|
||||
L 1259 4147
|
||||
z
|
||||
M 628 4666
|
||||
L 2053 4666
|
||||
Q 2838 4666 3239 4311
|
||||
Q 3641 3956 3641 3272
|
||||
Q 3641 2581 3239 2228
|
||||
Q 2838 1875 2053 1875
|
||||
L 1259 1875
|
||||
L 1259 0
|
||||
L 628 0
|
||||
L 628 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-72" d="M 2631 2963
|
||||
Q 2534 3019 2420 3045
|
||||
Q 2306 3072 2169 3072
|
||||
Q 1681 3072 1420 2755
|
||||
Q 1159 2438 1159 1844
|
||||
L 1159 0
|
||||
L 581 0
|
||||
L 581 3500
|
||||
L 1159 3500
|
||||
L 1159 2956
|
||||
Q 1341 3275 1631 3429
|
||||
Q 1922 3584 2338 3584
|
||||
Q 2397 3584 2469 3576
|
||||
Q 2541 3569 2628 3553
|
||||
L 2631 2963
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-6f" d="M 1959 3097
|
||||
Q 1497 3097 1228 2736
|
||||
Q 959 2375 959 1747
|
||||
Q 959 1119 1226 758
|
||||
Q 1494 397 1959 397
|
||||
Q 2419 397 2687 759
|
||||
Q 2956 1122 2956 1747
|
||||
Q 2956 2369 2687 2733
|
||||
Q 2419 3097 1959 3097
|
||||
z
|
||||
M 1959 3584
|
||||
Q 2709 3584 3137 3096
|
||||
Q 3566 2609 3566 1747
|
||||
Q 3566 888 3137 398
|
||||
Q 2709 -91 1959 -91
|
||||
Q 1206 -91 779 398
|
||||
Q 353 888 353 1747
|
||||
Q 353 2609 779 3096
|
||||
Q 1206 3584 1959 3584
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-62" d="M 3116 1747
|
||||
Q 3116 2381 2855 2742
|
||||
Q 2594 3103 2138 3103
|
||||
Q 1681 3103 1420 2742
|
||||
Q 1159 2381 1159 1747
|
||||
Q 1159 1113 1420 752
|
||||
Q 1681 391 2138 391
|
||||
Q 2594 391 2855 752
|
||||
Q 3116 1113 3116 1747
|
||||
z
|
||||
M 1159 2969
|
||||
Q 1341 3281 1617 3432
|
||||
Q 1894 3584 2278 3584
|
||||
Q 2916 3584 3314 3078
|
||||
Q 3713 2572 3713 1747
|
||||
Q 3713 922 3314 415
|
||||
Q 2916 -91 2278 -91
|
||||
Q 1894 -91 1617 61
|
||||
Q 1341 213 1159 525
|
||||
L 1159 0
|
||||
L 581 0
|
||||
L 581 4863
|
||||
L 1159 4863
|
||||
L 1159 2969
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-79" d="M 2059 -325
|
||||
Q 1816 -950 1584 -1140
|
||||
Q 1353 -1331 966 -1331
|
||||
L 506 -1331
|
||||
L 506 -850
|
||||
L 844 -850
|
||||
Q 1081 -850 1212 -737
|
||||
Q 1344 -625 1503 -206
|
||||
L 1606 56
|
||||
L 191 3500
|
||||
L 800 3500
|
||||
L 1894 763
|
||||
L 2988 3500
|
||||
L 3597 3500
|
||||
L 2059 -325
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-50"/>
|
||||
<use xlink:href="#DejaVuSans-72" x="58.552734"/>
|
||||
<use xlink:href="#DejaVuSans-6f" x="97.416016"/>
|
||||
<use xlink:href="#DejaVuSans-62" x="158.597656"/>
|
||||
<use xlink:href="#DejaVuSans-61" x="222.074219"/>
|
||||
<use xlink:href="#DejaVuSans-62" x="283.353516"/>
|
||||
<use xlink:href="#DejaVuSans-69" x="346.830078"/>
|
||||
<use xlink:href="#DejaVuSans-6c" x="374.613281"/>
|
||||
<use xlink:href="#DejaVuSans-69" x="402.396484"/>
|
||||
<use xlink:href="#DejaVuSans-74" x="430.179688"/>
|
||||
<use xlink:href="#DejaVuSans-79" x="469.388672"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="text_11">
|
||||
<!-- FN curve, $1-F_{N}(n) = P(N > n)$ -->
|
||||
<g transform="translate(265.584 45.84)scale(0.192 -0.192)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-4e" d="M 628 4666
|
||||
L 1478 4666
|
||||
L 3547 763
|
||||
L 3547 4666
|
||||
L 4159 4666
|
||||
L 4159 0
|
||||
L 3309 0
|
||||
L 1241 3903
|
||||
L 1241 0
|
||||
L 628 0
|
||||
L 628 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-20" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-63" d="M 3122 3366
|
||||
L 3122 2828
|
||||
Q 2878 2963 2633 3030
|
||||
Q 2388 3097 2138 3097
|
||||
Q 1578 3097 1268 2742
|
||||
Q 959 2388 959 1747
|
||||
Q 959 1106 1268 751
|
||||
Q 1578 397 2138 397
|
||||
Q 2388 397 2633 464
|
||||
Q 2878 531 3122 666
|
||||
L 3122 134
|
||||
Q 2881 22 2623 -34
|
||||
Q 2366 -91 2075 -91
|
||||
Q 1284 -91 818 406
|
||||
Q 353 903 353 1747
|
||||
Q 353 2603 823 3093
|
||||
Q 1294 3584 2113 3584
|
||||
Q 2378 3584 2631 3529
|
||||
Q 2884 3475 3122 3366
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-75" d="M 544 1381
|
||||
L 544 3500
|
||||
L 1119 3500
|
||||
L 1119 1403
|
||||
Q 1119 906 1312 657
|
||||
Q 1506 409 1894 409
|
||||
Q 2359 409 2629 706
|
||||
Q 2900 1003 2900 1516
|
||||
L 2900 3500
|
||||
L 3475 3500
|
||||
L 3475 0
|
||||
L 2900 0
|
||||
L 2900 538
|
||||
Q 2691 219 2414 64
|
||||
Q 2138 -91 1772 -91
|
||||
Q 1169 -91 856 284
|
||||
Q 544 659 544 1381
|
||||
z
|
||||
M 1991 3584
|
||||
L 1991 3584
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-76" d="M 191 3500
|
||||
L 800 3500
|
||||
L 1894 563
|
||||
L 2988 3500
|
||||
L 3597 3500
|
||||
L 2284 0
|
||||
L 1503 0
|
||||
L 191 3500
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-2c" d="M 750 794
|
||||
L 1409 794
|
||||
L 1409 256
|
||||
L 897 -744
|
||||
L 494 -744
|
||||
L 750 256
|
||||
L 750 794
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-46" d="M 1081 4666
|
||||
L 3756 4666
|
||||
L 3653 4134
|
||||
L 1606 4134
|
||||
L 1338 2759
|
||||
L 3188 2759
|
||||
L 3084 2228
|
||||
L 1234 2228
|
||||
L 800 0
|
||||
L 172 0
|
||||
L 1081 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-4e" d="M 1081 4666
|
||||
L 1931 4666
|
||||
L 3219 666
|
||||
L 4000 4666
|
||||
L 4616 4666
|
||||
L 3706 0
|
||||
L 2853 0
|
||||
L 1569 4025
|
||||
L 788 0
|
||||
L 172 0
|
||||
L 1081 4666
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-28" d="M 1984 4856
|
||||
Q 1566 4138 1362 3434
|
||||
Q 1159 2731 1159 2009
|
||||
Q 1159 1288 1364 580
|
||||
Q 1569 -128 1984 -844
|
||||
L 1484 -844
|
||||
Q 1016 -109 783 600
|
||||
Q 550 1309 550 2009
|
||||
Q 550 2706 781 3412
|
||||
Q 1013 4119 1484 4856
|
||||
L 1984 4856
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-6e" d="M 3566 2113
|
||||
L 3156 0
|
||||
L 2578 0
|
||||
L 2988 2091
|
||||
Q 3016 2238 3031 2350
|
||||
Q 3047 2463 3047 2528
|
||||
Q 3047 2791 2881 2937
|
||||
Q 2716 3084 2419 3084
|
||||
Q 1956 3084 1622 2776
|
||||
Q 1288 2469 1184 1941
|
||||
L 800 0
|
||||
L 225 0
|
||||
L 903 3500
|
||||
L 1478 3500
|
||||
L 1363 2950
|
||||
Q 1603 3253 1940 3418
|
||||
Q 2278 3584 2650 3584
|
||||
Q 3113 3584 3367 3334
|
||||
Q 3622 3084 3622 2631
|
||||
Q 3622 2519 3608 2391
|
||||
Q 3594 2263 3566 2113
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-29" d="M 513 4856
|
||||
L 1013 4856
|
||||
Q 1481 4119 1714 3412
|
||||
Q 1947 2706 1947 2009
|
||||
Q 1947 1309 1714 600
|
||||
Q 1481 -109 1013 -844
|
||||
L 513 -844
|
||||
Q 928 -128 1133 580
|
||||
Q 1338 1288 1338 2009
|
||||
Q 1338 2731 1133 3434
|
||||
Q 928 4138 513 4856
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-3d" d="M 678 2906
|
||||
L 4684 2906
|
||||
L 4684 2381
|
||||
L 678 2381
|
||||
L 678 2906
|
||||
z
|
||||
M 678 1631
|
||||
L 4684 1631
|
||||
L 4684 1100
|
||||
L 678 1100
|
||||
L 678 1631
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-Oblique-50" d="M 1081 4666
|
||||
L 2541 4666
|
||||
Q 3178 4666 3512 4369
|
||||
Q 3847 4072 3847 3500
|
||||
Q 3847 2731 3353 2303
|
||||
Q 2859 1875 1966 1875
|
||||
L 1172 1875
|
||||
L 806 0
|
||||
L 172 0
|
||||
L 1081 4666
|
||||
z
|
||||
M 1613 4147
|
||||
L 1275 2394
|
||||
L 2069 2394
|
||||
Q 2606 2394 2893 2669
|
||||
Q 3181 2944 3181 3456
|
||||
Q 3181 3784 2986 3965
|
||||
Q 2791 4147 2438 4147
|
||||
L 1613 4147
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
<path id="DejaVuSans-3e" d="M 678 3150
|
||||
L 678 3719
|
||||
L 4684 2266
|
||||
L 4684 1747
|
||||
L 678 294
|
||||
L 678 863
|
||||
L 3897 2003
|
||||
L 678 3150
|
||||
z
|
||||
" transform="scale(0.015625)"/>
|
||||
</defs>
|
||||
<use xlink:href="#DejaVuSans-46" transform="translate(0 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-4e" transform="translate(57.519531 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-20" transform="translate(132.324219 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-63" transform="translate(164.111328 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-75" transform="translate(219.091797 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-72" transform="translate(282.470703 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-76" transform="translate(323.583984 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-65" transform="translate(382.763672 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-2c" transform="translate(444.287109 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-20" transform="translate(476.074219 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-31" transform="translate(507.861328 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-2212" transform="translate(590.966797 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-46" transform="translate(694.238281 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-4e" transform="translate(751.757812 -16.28125)scale(0.7)"/>
|
||||
<use xlink:href="#DejaVuSans-28" transform="translate(806.855469 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-6e" transform="translate(845.869141 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-29" transform="translate(909.248047 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-3d" transform="translate(967.744141 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-50" transform="translate(1071.015625 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-28" transform="translate(1131.318359 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-4e" transform="translate(1170.332031 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-3e" transform="translate(1264.619141 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-Oblique-6e" transform="translate(1367.890625 0.125)"/>
|
||||
<use xlink:href="#DejaVuSans-29" transform="translate(1431.269531 0.125)"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="p2afb94e894">
|
||||
<rect x="72" y="51.84" width="446.4" height="332.64"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 20 KiB |
BIN
book/figures/example-river-excavation-2.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
book/figures/example-river-excavation-3.PNG
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
book/figures/example-river-excavation.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
book/figures/exercise-FN-curve.png
Normal file
|
After Width: | Height: | Size: 7 KiB |
BIN
book/figures/exercise-dam-fn-limit-line.png
Normal file
|
After Width: | Height: | Size: 90 KiB |
BIN
book/figures/exercise-decision-tree.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
book/figures/exercise-optimization.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
book/figures/exercise-sample-exam-bay.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
book/figures/exercise-sample-exam-failure-domain.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
book/figures/exercise-sample-exam-limit-line.png
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
book/figures/exercise-sample-exam-mortality.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
book/figures/exercise_sample_IR.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
book/figures/exercise_sample_opt.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
book/figures/flood-protection.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
book/figures/fn_limit.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
1509
book/figures/fn_limit00.svg
Normal file
|
After Width: | Height: | Size: 38 KiB |
1910
book/figures/fn_limit01.svg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
book/figures/fn_limit_eq.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
1619
book/figures/fn_simple01.svg
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
book/figures/periodic_investments.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
1165
book/figures/present_value.svg
Normal file
|
After Width: | Height: | Size: 28 KiB |
1089
book/figures/present_value_py.svg
Normal file
|
After Width: | Height: | Size: 27 KiB |
1073
book/figures/rating_curve.svg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
book/figures/risk-curve-baecher.PNG
Normal file
|
After Width: | Height: | Size: 94 KiB |
242
book/figures/risk-hazard.svg
Normal file
|
After Width: | Height: | Size: 133 KiB |
BIN
book/figures/risk-steps.PNG
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
book/figures/risk_contour.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
book/figures/risk_matrix.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
1886
book/figures/risk_types.svg
Normal file
|
After Width: | Height: | Size: 50 KiB |
1823
book/figures/risk_types_py.svg
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
book/figures/simple-city.png
Normal file
|
After Width: | Height: | Size: 414 KiB |
BIN
book/figures/sinewave.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
book/figures/system-corr-coeff.PNG
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
book/figures/system_lightbulbs.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
book/figures/system_series_parallel.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
book/figures/system_series_parallel_ex.png
Normal file
|
After Width: | Height: | Size: 69 KiB |
1054
book/figures/temp.svg
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
book/images/TUDelft_logo_rgb.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
73
book/intro.md
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
(intro)=
|
||||
# Risk and Reliability for Engineers
|
||||
|
||||
Almost all activities in life are characterized by some level of risk, such as riding a bike or driving a car, boarding an airplane, or living below sea level behind flood protection system. Particularly within the field of civil engineering, risk and safety are key concepts that should be taken into account explicitly in design and management. Failures of systems providing flood protection, water distribution, transportation networks, air quality control, buildings and other infrastructure are expected to occur rarely, but can lead to large consequences. On the other hand, these systems also provide many benefits to humankind on a daily basis.
|
||||
|
||||
*Risk* is often defined simply as the combination of probability and consequences; it is a measure of how bad something can be (the consequence) combined with the chance that it can happen. In mathematical form:
|
||||
|
||||
$$\text{Risk}_\text{bad thing}=\text{Consequence}_\text{bad thing}\cdot\text{Probability}_\text{bad thing}$$
|
||||
|
||||
```{note}
|
||||
:class: dropdown
|
||||
Why are the variables above written using words? Because many different terms and symbols are used in different fields of science and enginering which refer to about the same mathematical concepts. For example, 'failure probability,' $p_f$, is often used when designing structural components. However, this term may be misleading when applied to the probability that the concentration of a solute in groundwater exceeds a certain value, or the discharge of a river falling below a regulatory threshold for fish migration.
|
||||
```
|
||||
|
||||
As engineers we are typically concerned with making sure bad things don't happen, or, stated more precisely for our purposes: *reducing the **probability** of a bad thing happening to an **acceptable** level.* To determine if this probability results in a situation that is *safe enough,* an acceptable level of risk needs to be defined. The eventual decision about acceptable risk is predominantly a political one, but engineers can have an important role in the discussion and decision-making. They can provide information on failure probabilities and consequences (economic consequences, life loss, etc.) of a given system and highlight trade-offs between investments in safer systems and risk reduction. Risk plays an important role in many current societal discussions. Examples include recent discussions related to Covid-19 vaccination programs and mitigation measures like facemasks, where there was a lot of uncertainty in the effect of on virus spread. Another example is the discussion over nuclear power versus fossil fuels: both activities bring various benefits (energy generation) but also introduce additional risks to the population and environment. A systematic analysis of risks of (proposed) projects can help to inform the broader societal discussions.
|
||||
|
||||
Inevitably, the consideration of risk should result in a specific value of probability that can be used in the design or evaluation of something; in other words, a specific criteria for $\text{Probability}_\text{bad thing}$. For standard applications and systems that are frequently constructed, the risk analysis has been done and building codes are available that define acceptable safety levels in such a way that the failure probability of a structure is sufficiently small. For example, Eurocode provides guidance for the design of structures using so-called target values for the failure probability different safety classes. Thus, critical buildings like hospitals are designed to be stronger than a hardware store. However, for other applications, e.g. special structures or new applications like the reliability of renewable energy-generating components, no standard codes or guidelines are available for design and a more explicit analysis of the reliability and risk of the system is required. An example from the past is the design of the Eastern Scheldt barrier. The acceptable probabilities of failure of the structure and non-closure of the gates were determined based on the acceptable risk of flooding of Zeeland. These probability values formed the basis for the so-called probabilistic design of the barrier in the 1970’s.
|
||||
|
||||
```{note}
|
||||
:class: dropdown
|
||||
Although much of this book focuses on calculating failure probability, or $\text{Probability}_\text{bad thing}$, we call this a reliability analysis, where *reliability* is simply
|
||||
|
||||
$$\text{Reliability}=1-\text{Probability}_\text{bad thing}$$
|
||||
|
||||
So in fact, as engineers we are optimistic, otherwise this chapter would be called Risk and *Un*reliability.
|
||||
```
|
||||
|
||||
## Risk and Reliability in Practice
|
||||
|
||||
Throughout this book we will repeatedly draw on the field of flood management to illustrate risk and reliability concepts as this field requires expertise from all perspectives in civil and environmental engineering and geosciences, from climate and hydrologic processes to evacuation and recovery. In addition, this field has driven the development and use of risk and reliability techniques in the Netherlands since the flooding disaster of 1953, not to mention the experience gained during the previous millenium, albeit in a less rigorous mathematical fashion. And finally, new safety standards for primary flood defences in the Netherlands have been in place since 2017 that are formulated as a tolerable failure probability of dike[^dike] segments. As such, dike reinforcements are legally required to be designed according to these new standards, which requires one to show that the failure probability is less than an allowable maximum value.
|
||||
|
||||
Despite the focus on flood management, many applications exist in other fields, for example the discussion about the gas extraction in the North of the Netherlands which leads to increased earthquakes, building damage and potential injury to humans. A thorough analysis of the probability of earthquake occurrence, structural safety of various infrastructure (houses, levee, hospitals, pipelines), benefits associated with extracting gas and the resulting level of risk is required to make decisions about how to manage this industry. As with the flood management application, advanced knowledge of probabilistic techniques is needed.
|
||||
|
||||
## It All Comes Back to Probability
|
||||
|
||||
In short, risk and reliability concepts cannot be defined or applied without *probability.* It is necessary in order to quantify uncertainty and take it into account when making decisions, regardless of whether our specific task is to investigate, assess, design or create policy for a particular engineering problem. Probability theory is a powerful tool because it provides a way to quantify many aspects of uncertainty, for example:
|
||||
- precision of measurements
|
||||
- variability in data
|
||||
- accuracy and precision of data-driven or physics-based models
|
||||
- stochastic processes
|
||||
- unknown conditions due to lack of data or
|
||||
- inability to predict the outcome of future events with sufficient accuracy or precision
|
||||
- and many more
|
||||
|
||||
It is crucial that civil and environmental engineers and geoscientists are able to understand and apply the concepts of risk and reliability, as well as probability theory. As such, these lecture provide an introduction to the fundamental techniques and concepts necessary to do so.
|
||||
|
||||
## Book Overview
|
||||
|
||||
Risk and reliability concepts have been organized into five primary chapters to introduce fundamental concepts and progressively illustrate how they are applied in practice.
|
||||
- **Probabilistic Design** describes how probability is used in the design process and illustrates key concepts through simple examples and 'patterns' (analytic expressions and visual representations).
|
||||
- **Risk Analysis** as a process is formally defined and quantitative risk measures are introduced.
|
||||
- **Component Reliability** and **System Reliability** briefly introduce approaches for evaluating reliability, or $\text{P}_\text{bad thing}$, in order to carry out probabilistic assessment and design quantitatively. This is the *quantitative analysis* step of a risk analysis.
|
||||
- **Risk evaluation** provides simple quantitative tools and a framework for establishing risk-based safety standards and economic risk criteria. This is a key step in the risk analysis process.
|
||||
|
||||
Additional chapters are provided to put these concepts into context, explain industry-specific characteristics or indicate possibilities of additional study for the student.
|
||||
|
||||
### Additional Resources
|
||||
|
||||
If you are in need of a quick refresher on fundamental probability and statistics topics, you may find the online course [Probability and Statistics for Engineers](https://tudelft-citg.github.io/learn-probability/) helpful. This course was created for those who need to brush up on topics from a prior bachelors-level course. If you have no background in probability and statistics you will need to take a more thorough approach; we recommend the Probability Theory and Statistics courses offered in the Mastering Mathematics series from TU Delft, which you can find [here](https://online-learning.tudelft.nl/topic/mastering-mathematics/) (also on EdX).
|
||||
|
||||
### Additional Information
|
||||
|
||||
This book was developed and used for use in the master's program in the faculty of Civil and Environmental Engineering at Delft University of Technology in the Netherlands. Although the concepts are relevant for a wider audience outside the faculty, the generic reference "for Engineers" in the title refers to the diverse areas of emphasis evolving within the field historically referred to as "civil engineering." For example, our MSc programs in Environmental Engineerinng and Applied Earth Sciences.
|
||||
|
||||
Additional information about authors, licenses and how the book is made can be found on the {ref}`Credits and License page <credits>`. We hope you enjoy this book, and don't hesitate to contact {ref}`the Editor <editor>` with questions or suggestions!
|
||||
|
||||
[^dike]: A dike is a structure, typically made of soil, that protects a specific region from flooding by physically holding back water. Usually associated with rivers, such structures are also widely used on the coast, especially in low elevation areas such as the Netherlands. The Dutch word for levee is *dijk,* but English word *dike* is used in this book. Outside of the Netherlands the words *embankment* and *levee* are used.
|
||||
|
||||
---
|
||||
|
||||
This book is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
|
||||
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png"/></a>
|
||||