cd "E:/usr/local/src/imach/Copie4doc/" set xlabel "Age" set ylabel "Probability" set ter gif small size 400,300 plot [70:95] "vplrbiaspar.txt" every :::0::0 u 1:2 "%lf %lf (%lf) %*lf (%*lf)" t"Stationary prevalence" w l 0,"vplrbiaspar.txt" every :::0::0 u 1:($2+2*$3) "%lf %lf (%lf) %*lf (%*lf)" t"95% CI" w l 1,"vplrbiaspar.txt" every :::0::0 u 1:($2-2*$3) "%lf %lf (%lf) %*lf (%*lf)" t"" w l 1,"prbiaspar.txt" every :::0::0 u 1:($2) t"Observed prevalence " w l 2 set out "vbiaspar11.gif" replot set xlabel "Age" set ylabel "Probability" set ter gif small size 400,300 plot [70:95] "vplrbiaspar.txt" every :::0::0 u 1:2 "%lf %*lf (%*lf) %lf (%lf)" t"Stationary prevalence" w l 0,"vplrbiaspar.txt" every :::0::0 u 1:($2+2*$3) "%lf %*lf (%*lf) %lf (%lf)" t"95% CI" w l 1,"vplrbiaspar.txt" every :::0::0 u 1:($2-2*$3) "%lf %*lf (%*lf) %lf (%lf)" t"" w l 1,"prbiaspar.txt" every :::0::0 u 1:($6) t"Observed prevalence " w l 2 set out "vbiaspar21.gif" replot set ylabel "Years" set ter gif small size 400,300 plot [70:95] "trbiaspar.txt" every :::0::0 u 1:2 "%lf %lf (%lf) %*lf (%*lf) %*lf (%*lf)" t"TLE" w l ,"trbiaspar.txt" every :::0::0 u 1:($2-$3*2) "%lf %lf (%lf) %*lf (%*lf) %*lf (%*lf)" t"" w l 0,"trbiaspar.txt" every :::0::0 u 1:($2+$3*2) "%lf %lf (%lf) %*lf (%*lf) %*lf (%*lf)" t"" w l 0,"trbiaspar.txt" every :::0::0 u 1:2 "%lf %*lf (%*lf) %lf (%lf) %*lf (%*lf)" t"LE in state (1)" w l ,"trbiaspar.txt" every :::0::0 u 1:($2-$3*2) "%lf %*lf (%*lf) %lf (%lf) %*lf (%*lf)" t"" w l 0,"trbiaspar.txt" every :::0::0 u 1:($2+$3*2) "%lf %*lf (%*lf) %lf (%lf) %*lf (%*lf)" t"" w l 0,"trbiaspar.txt" every :::0::0 u 1:2 "%lf %*lf (%*lf) %*lf (%*lf) %lf (%lf)" t"LE in state (2)" w l ,"trbiaspar.txt" every :::0::0 u 1:($2-$3*2) "%lf %*lf (%*lf) %*lf (%*lf) %lf (%lf)" t"" w l 0,"trbiaspar.txt" every :::0::0 u 1:($2+$3*2) "%lf %*lf (%*lf) %*lf (%*lf) %lf (%lf)" t"" w l 0 set out "ebiaspar1.gif" replot set ter gif small size 400,300 plot [70:95] "erbiaspar.txt" every :::0::0 u 1:2 t "e11" w l,"erbiaspar.txt" every :::0::0 u 1:3 t "e12" w l set out "expbiaspar11.gif" replot set ter gif small size 400,300 plot [70:95] "erbiaspar.txt" every :::0::0 u 1:4 t "e21" w l,"erbiaspar.txt" every :::0::0 u 1:5 t "e22" w l set out "expbiaspar21.gif" replot set xlabel "Age" set ylabel "Probability" set ter gif small size 400,300 plot [70:95] "pijrbiaspar.txt" u ($1==1 ? ($3):1/0):($5/($4+$5)) t"prev(1,2)" w l,"pijrbiaspar.txt" u ($1==1 ? ($3):1/0):($8/($7+$8)) t"prev(2,2)" w l set out "pbiaspar11.gif" replot p1=-12.290174 p2=0.092161 p3=-9.155590 p4=0.046627 p5=-2.629849 p6=-0.022030 p7=-7.958519 p8=0.042614 set ter gif small size 400,300 set log y plot [70:95] exp(p1+p2*x)/(1+exp(p1+p2*x)+exp(p3+p4*x)) t "p12" , exp(p3+p4*x)/(1+exp(p1+p2*x)+exp(p3+p4*x)) t "p13" , exp(p5+p6*x)/(1+exp(p5+p6*x)+exp(p7+p8*x)) t "p21" , exp(p7+p8*x)/(1+exp(p5+p6*x)+exp(p7+p8*x)) t "p23" set out "pebiaspar1.gif" replot