{ "cells": [ { "cell_type": "markdown", "id": "6801bdc7-2b6a-4478-a15e-02a30f5f0f89", "metadata": {}, "source": [ "# Sensitivitet, specificitet og positiv/negativ prædiktiv værdi" ] }, { "cell_type": "markdown", "id": "080e79be-8277-4cd5-8ff0-83a68f7e01d1", "metadata": {}, "source": [ "$$\n", "Sensitivitet = P(Positiv\\ test | syg) = \\frac{antal\\ sandt\\ positive}{antal\\ sandt\\ positive + antal\\ falsk\\ negative}\n", "$$\n", "\n", "$$\n", "Specificitet = P(Negativ\\ test|rask) = \\frac{antal\\ sandt\\ negative}{antal\\ sandt\\ negative + antal\\ falsk\\ positive}\n", "$$\n", "\n", "$$\n", "PPV = P(Syg|positiv\\ test) = \\frac{antal\\ sande\\ positive}{antal\\ sande\\ positive + antal\\ falske\\ positive}\n", "$$\n", "\n", "$$\n", "NPV = P(Rask|negativ\\ test) = \\frac{antal\\ sande\\ negative}{antal\\ sande\\ negative + antal\\ falske\\ negative}\n", "$$" ] }, { "cell_type": "code", "execution_count": null, "id": "76bb0b41-f3a1-4065-9962-c5690caed0b8", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.14.4" } }, "nbformat": 4, "nbformat_minor": 5 }