<script type="text/javascript"><!-- [et_pb_line_break_holder] --> <!-- to hide script from older bowsers<!-- [et_pb_line_break_holder] -->conInt = 0;<!-- [et_pb_line_break_holder] -->conLev=1;<!-- [et_pb_line_break_holder] -->zVal=1.96;<!-- [et_pb_line_break_holder] -->zValC=3.8416;<!-- [et_pb_line_break_holder] -->ss=0;<!-- [et_pb_line_break_holder] -->pop=0;<!-- [et_pb_line_break_holder] -->perc=0;<!-- [et_pb_line_break_holder] -->pf = 0;<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->function to(obj) {<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (obj.box.value == "") {<!-- [et_pb_line_break_holder] --> conInt=0<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> conInt = eval(obj.box.value)<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (obj.popbox.value == "") { <!-- [et_pb_line_break_holder] --> pop=0<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> pop = eval(obj.popbox.value)<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (conInt == 0) {<!-- [et_pb_line_break_holder] --> alert("You must enter a confidence interval between .1 and 50.")<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else { <!-- [et_pb_line_break_holder] --> if (pop == 0) {<!-- [et_pb_line_break_holder] --> ss = ((zVal *zVal) * 0.25) / ((conInt / 100) *(conInt / 100))<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> ss = ((zVal *zVal) * 0.25) / ((conInt / 100) *(conInt / 100));<!-- [et_pb_line_break_holder] --> ss=ss/(1+(ss-1)/pop)<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> obj.ssbox.value=parseInt(ss+.5)<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->function ConLevButF1(obj){<!-- [et_pb_line_break_holder] --> zVal=1.96<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] -->function ConLevButF2(obj){<!-- [et_pb_line_break_holder] --> zVal=2.58<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] -->function ConLevButFC1(obj){<!-- [et_pb_line_break_holder] --> zValC=3.8416 ;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] -->function ConLevButFC2(obj){<!-- [et_pb_line_break_holder] --> zValC=6.6564 ;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->// conf int calc --<!-- [et_pb_line_break_holder] -->function ci(obj) {<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (obj.ssbox.value == "") {<!-- [et_pb_line_break_holder] --> ss=0<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> ss = eval(obj.ssbox.value)<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (obj.popbox.value == "") { <!-- [et_pb_line_break_holder] --> pop=0<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> pop = eval(obj.popbox.value)<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (obj.popbox.value == "") { <!-- [et_pb_line_break_holder] --> pop=0}<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> pop = eval(obj.popbox.value)}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (obj.perbox.value == "") { <!-- [et_pb_line_break_holder] --> perc=0}<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> perc = eval(obj.perbox.value)}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (ss == 0 || perc < 1 || perc >99) {<!-- [et_pb_line_break_holder] --> alert("You must enter a Sample Size and a Percentage between 1 and 99")<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else { <!-- [et_pb_line_break_holder] --> if (pop == 0) {<!-- [et_pb_line_break_holder] --> pf = 1 }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> pf = (pop - ss) / (pop - 1) }<!-- [et_pb_line_break_holder] --> conInt = Math.sqrt(zValC * (perc / 100) * (1 - perc / 100) / ss * pf) * 100 <!-- [et_pb_line_break_holder] --> // round and display<!-- [et_pb_line_break_holder] --> pf=parseInt(conInt);<!-- [et_pb_line_break_holder] --> conInt=Math.round((conInt-pf)*100);<!-- [et_pb_line_break_holder] --> obj.cibox.value=pf+conInt/100<!-- [et_pb_line_break_holder] --> //obj.cibox.value=pf<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->function cler(obj, string) {<!-- [et_pb_line_break_holder] --> obj.box.value = string;<!-- [et_pb_line_break_holder] --> obj.popbox.value = string;<!-- [et_pb_line_break_holder] --> obj.ssbox.value = string;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] -->function clerC(obj, string) {<!-- [et_pb_line_break_holder] --> obj.cibox.value = string;<!-- [et_pb_line_break_holder] --> obj.popbox.value = string;<!-- [et_pb_line_break_holder] --> obj.ssbox.value = string;<!-- [et_pb_line_break_holder] --> obj.perbox.value = string;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->// end hiding script from old browsers --><!-- [et_pb_line_break_holder] --> </script><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <script type="text/javascript"><!-- [et_pb_line_break_holder] --> <!-- Begin<!-- [et_pb_line_break_holder] --> function iVal(val) { var sTmp=""; var sAllow="1234567890"<!-- [et_pb_line_break_holder] --> for(i=0;i<val.length;i++) if(sAllow.indexOf(val.charAt(i))>=0) sTmp+=val.charAt(i);<!-- [et_pb_line_break_holder] --> return sTmp;} // End --><!-- [et_pb_line_break_holder] --></script><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <script type="text/javascript"><!-- [et_pb_line_break_holder] --> <!-- to hide script from older bowsers<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> function examWindow() {<!-- [et_pb_line_break_holder] --> examWin=window.open ("em-email.htm", "ewin", "scrollbars=yes, resizable=yes")<!-- [et_pb_line_break_holder] --> ewin.focus()<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->// end hiding script from old browsers --><!-- [et_pb_line_break_holder] --> </script><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><script type="text/javascript"><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var _gaq = _gaq || [];<!-- [et_pb_line_break_holder] --> _gaq.push(['_setAccount', 'UA-17738824-1']);<!-- [et_pb_line_break_holder] --> _gaq.push(['_trackPageview']);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> (function() {<!-- [et_pb_line_break_holder] --> var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;<!-- [et_pb_line_break_holder] --> ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';<!-- [et_pb_line_break_holder] --> var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);<!-- [et_pb_line_break_holder] --> })();<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --></script><!-- [et_pb_line_break_holder] --></head><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><body><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><p><!-- [et_pb_line_break_holder] --> <FORM name="calc"><!-- [et_pb_line_break_holder] --> <div class="simple_calc"><!-- [et_pb_line_break_holder] --> <TABLE class="determine" ><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD><TABLE><!-- [et_pb_line_break_holder] --> <CAPTION><!-- [et_pb_line_break_holder] --> <p><b>Determine Sample Size</b><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </CAPTION><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD>Confidence Level:</TD><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT TYPE="RADIO" NAME="ConLevBut" VALUE="1" class="sil" onclick="ConLevButF1(this.form)"<!-- [et_pb_line_break_holder] --> Checked >95%<!-- [et_pb_line_break_holder] --> <INPUT TYPE="RADIO" NAME="ConLevBut" VALUE="2" onclick="ConLevButF2(this.form)"<!-- [et_pb_line_break_holder] --> >99%</TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <TD>Confidence Interval:</TD><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT type="text" name="box" size=15></TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD>Population:</TD><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT type="text" name="popbox" size=15 onKeyUp="this.value=iVal(this.value)"></TD><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD></TD><!-- [et_pb_line_break_holder] --> <TD></TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT type = "button" name = "Calculate" value = "Calculate" onClick ="to(this.form)"><!-- [et_pb_line_break_holder] --> </TD><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT type = "button" name = "Clear" value = " Clear " onClick ="cler(this.form,'')"><!-- [et_pb_line_break_holder] --> </TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD></TD><!-- [et_pb_line_break_holder] --> <TD></TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD>Sample size needed:</TD><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT type="text" name="ssbox" size=15></TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> </TABLE><!-- [et_pb_line_break_holder] --> </TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </TABLE><!-- [et_pb_line_break_holder] --> </div><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> </FORM><!-- [et_pb_line_break_holder] --> <P><!-- [et_pb_line_break_holder] --> <P class="cen"><!-- [et_pb_line_break_holder] --> <FORM name="cicalc"><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> <div class="simple_calc"><!-- [et_pb_line_break_holder] --> <TABLE class="determine"><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <TD><TABLE><!-- [et_pb_line_break_holder] --> <CAPTION><!-- [et_pb_line_break_holder] --> <b>Find Confidence Interval</b><!-- [et_pb_line_break_holder] --> </CAPTION><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD>Confidence Level:</TD><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <INPUT TYPE="RADIO" NAME="ConLevButC" VALUE="1" onclick="ConLevButFC1(this.form)"<!-- [et_pb_line_break_holder] --> Checked >95%<!-- [et_pb_line_break_holder] --> <INPUT TYPE="RADIO" NAME="ConLevButC" VALUE="2" onclick="ConLevButFC2(this.form)"<!-- [et_pb_line_break_holder] --> >99%</TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD>Sample Size:</TD><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT type="text" name="ssbox" size=15></TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD>Population:</TD><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT type="text" name="popbox" size=15 onKeyUp="this.value=iVal(this.value)"></TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD>Percentage:</TD><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <INPUT TYPE="text" NAME="perbox" VALUE="50" size=15></TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD></TD><!-- [et_pb_line_break_holder] --> <TD></TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT type = "button" name = "Calculate" value = "Calculate" onClick ="ci(this.form)"><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </TD><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT type = "button" name = "Clear" value = " Clear " onClick ="clerC(this.form,'')"><!-- [et_pb_line_break_holder] --> </TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD></TD><!-- [et_pb_line_break_holder] --> <TD></TD><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> <TR><!-- [et_pb_line_break_holder] --> <TD>Confidence Interval:</TD><!-- [et_pb_line_break_holder] --> <TD><!-- [et_pb_line_break_holder] --> <INPUT type="text" name="cibox" size=15></TD><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> </TABLE><!-- [et_pb_line_break_holder] --> </TD><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </TR><!-- [et_pb_line_break_holder] --> </TABLE><!-- [et_pb_line_break_holder] --> </div><!-- [et_pb_line_break_holder] --> </FORM><!-- [et_pb_line_break_holder] -->