::Free Statistics and Forecasting Software::

v1.1.23-r7
Secure website (SSL) | Donate to wessa.net

:: Testing Population Mean with known Variance - Confidence Interval - Free Statistics Software (Calculator) ::

All rights reserved. The non-commercial (academic) use of this software is free of charge. The only thing that is asked in return is to cite this software when results are used in publications.

This free online software (calculator) computes the confidence intervals for the one-sided and two-sided hypothesis test about the population mean (for a given sample size). In this test it is assumed that the population variance is known.

 Send output to: Browser Blue - Charts White Browser Black/White CSV MS Excel MS Word Population Variance Sample Size Sample Mean Confidence Interval

 Source code of R module par1<-as.numeric(par1) par2<-as.numeric(par2) par3<-as.numeric(par3) par4<-as.numeric(par4) sigma <- sqrt(par1) sqrtn <- sqrt(par2) ua <- par3 - abs(qnorm((1-par4)/2))* sigma / sqrtn ub <- par3 + abs(qnorm((1-par4)/2))* sigma / sqrtn ua ub ul <- par3 - qnorm(par4) * sigma / sqrtn ul ur <- par3 + qnorm(par4) * sigma / sqrtn ur load(file="createtable") a<-table.start() a<-table.row.start(a) a<-table.element(a,hyperlink("http://www.xycoon.com/ht_mean_knownvar.htm","Testing Population Mean with known Variance","learn more about Statistical Hypothesis Testing about the Mean when the Variance is known"),3,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,"Population variance",header=TRUE) a<-table.element(a,par1,2) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,"Sample size",header=TRUE) a<-table.element(a,par2,2) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,"Sample mean",header=TRUE) a<-table.element(a,par3,2) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,"Confidence interval",header=TRUE) a<-table.element(a,par4,2) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,"Type of Interval",header=TRUE) a<-table.element(a,"Left tail",header=TRUE) a<-table.element(a,"Right tail",header=TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,paste("Two-sided confidence interval at ",par4), header=TRUE) a<-table.element(a,ua) a<-table.element(a,ub) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,paste("Left one-sided confidence interval at ",par4), header=TRUE) a<-table.element(a,ul) a<-table.element(a,"+inf") a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,paste("Right one-sided confidence interval at ",par4), header=TRUE) a<-table.element(a,"-inf") a<-table.element(a,ur) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a, hyperlink("http://www.xycoon.com/ht_mean_knownvar.htm#ex5", "more information about confidence interval","example"),3,TRUE) a<-table.row.end(a) a<-table.end(a) table.save(a,file="mytable.tab")
 Top | Output | Charts | References | History | Feedback

 Cite this software as: Wessa P., (2008), Testing Population Mean with known Variance (confidence intervals) (v1.0.2) in Free Statistics Software (v1.1.23-r7), Office for Research Development and Education, URL http://www.wessa.net/rwasp_hypothesismean5.wasp/ The R code is based on : Xycoon, Statistics - Econometrics - Forecasting, Office for Research Development and Education, http://www.xycoon.com/ht_mean_knownvar.htm#ex5
 Top | Output | Charts | References | History | Feedback
 Top | Output | Charts | References | History | Feedback
 To cite Wessa.net in publications use:Wessa, P. (2013), Free Statistics Software, Office for Research Development and Education, version 1.1.23-r7, URL http://www.wessa.net/ © All rights reserved. Academic license for non-commercial use only. The free use of the scientific content, services, and applications in this website is granted for non commercial use only. In any case, the source (url) should always be clearly displayed. Under no circumstances are you allowed to reproduce, copy or redistribute the design, layout, or any content of this website (for commercial use) including any materials contained herein without the express written permission. Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. We make no warranties or representations as to the accuracy or completeness of such information (or software), and it assumes no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site. Software Version : 1.1.23-r7Algorithms & Software : Patrick Wessa, PhDServer : www.wessa.net