This repository has been archived on 2021-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
scientificComputing/statistics/figs/testframework01.dot
2014-10-02 08:01:29 +02:00

26 lines
712 B
Plaintext

digraph G {
rankdir=KR;
node [fontsize=12, shape=oval, style=filled, nodesep=0.95,ranksep=0.95, color="dodgerblue"];
edge [penwidth=2, fontsize=10 ];
root[label=""];
H0[label="H0 is true",color="green"];
HA[label="HA is true"];
TN[label="true negative:\naccept H0",color="green"];
FP[label="false positive:\nreject H0",color="green"];
TP[label="true positive:\nreject H0"];
FN[label="false negative:\naccept H0"];
root->H0[label="P(H0)"];
root->HA[label="1-P(H0)"];
H0->TN[label="P(accept H0| H0 true)=1-alpha"];
H0->FP[label="P(reject H0| H0 true)=alpha\n=type I"];
HA->TP[label="P(accept HA| HA true)=1-\beta\n=power"];
HA->FN[label="P(reject HA| HA true)=\beta\n=type II"];
}