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"];


}