::Free Statistics and Forecasting Software::

v1.1.22-r6
 
  Black&White | Blue Theme | Normal Fontsize | Increase Fontsize | Decrease Fontsize | Toggle underline | Secure website (SSL)
 
 
This software module is powered by R

:: 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.

Click here to edit the underlying code of this R Module.

Send output to:
Population Variance 
Sample Size 
Sample Mean 
Confidence Interval 

Click here to edit the underlying code of this R Module.






Cite this software as:
Wessa P., (2008), Testing Population Mean with known Variance (confidence intervals) (v1.0.2) in Free Statistics Software (v1.1.22-r6), 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

Source code of R module
1par1<-as.numeric(par1)
2par2<-as.numeric(par2)
3par3<-as.numeric(par3)
4par4<-as.numeric(par4)
5sigma <- sqrt(par1)
6sqrtn <- sqrt(par2)
7ua <- par3 - abs(qnorm((1-par4)/2))* sigma / sqrtn
8ub <- par3 + abs(qnorm((1-par4)/2))* sigma / sqrtn
9ua
10ub
11ul <- par3 - qnorm(par4) * sigma / sqrtn
12ul
13ur <- par3 + qnorm(par4) * sigma / sqrtn
14ur
15load(file="createtable")
16a<-table.start()
17a<-table.row.start(a)
18a<-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)
19a<-table.row.end(a)
20a<-table.row.start(a)
21a<-table.element(a,"Population variance",header=TRUE)
22a<-table.element(a,par1,2)
23a<-table.row.end(a)
24a<-table.row.start(a)
25a<-table.element(a,"Sample size",header=TRUE)
26a<-table.element(a,par2,2)
27a<-table.row.end(a)
28a<-table.row.start(a)
29a<-table.element(a,"Sample mean",header=TRUE)
30a<-table.element(a,par3,2)
31a<-table.row.end(a)
32a<-table.row.start(a)
33a<-table.element(a,"Confidence interval",header=TRUE)
34a<-table.element(a,par4,2)
35a<-table.row.end(a)
36a<-table.row.start(a)
37a<-table.element(a,"Type of Interval",header=TRUE)
38a<-table.element(a,"Left tail",header=TRUE)
39a<-table.element(a,"Right tail",header=TRUE)
40a<-table.row.end(a)
41a<-table.row.start(a)
42a<-table.element(a,paste("Two-sided confidence interval at ",par4), header=TRUE)
43a<-table.element(a,ua)
44a<-table.element(a,ub)
45a<-table.row.end(a)
46a<-table.row.start(a)
47a<-table.element(a,paste("Left one-sided confidence interval at ",par4), header=TRUE)
48a<-table.element(a,ul)
49a<-table.element(a,"+inf")
50a<-table.row.end(a)
51a<-table.row.start(a)
52a<-table.element(a,paste("Right one-sided confidence interval at ",par4), header=TRUE)
53a<-table.element(a,"-inf")
54a<-table.element(a,ur)
55a<-table.row.end(a)
56a<-table.row.start(a)
57a<-table.element(a, hyperlink("http://www.xycoon.com/ht_mean_knownvar.htm#ex5", "more information about confidence interval","example"),3,TRUE)
58a<-table.row.end(a)
59a<-table.end(a)
60table.save(a,file="mytable.tab")
Delete history
Server DateModuleCommand
Sat, 17 May 2008 14:41:14 -0600Start of session-

Please, send us your feedback!
Overall rating
What do you think about the response time?
Rate the facility with which you interact with our software.
Is the output presented in an understandable (clear) form?
How did you find this website/module?
Do you have any comments about our site?
Do you have any suggestions for our site?
Please enter the code that is displayed in this picture: captcha

To cite Wessa.net in publications use:
Wessa, P. (2008), Free Statistics Software, Office for Research Development and Education,
version 1.1.22-r6, URL http://www.wessa.net/

© Resa R&D, and the 'Office for Research, Development, and Education' - All rights reserved. Academic license for non-commercial use only.
This website is an intellectual and physical property of Resa R&D. This includes: html content, graphical illustrations (gif files), computer software, online or electronic documentation, associated media, and printed materials. 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 of Resa R&D or the Office for Research, Development, and Education.

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. However, Resa R&D makes 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 Resa R&D 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.22-r6
Algorithms & Software : Prof. dr. P. Wessa
Facilities : Resa R&D - Office for Research, Development, and Education
Server : www.wessa.net

Comments, Feedback & Errors | Privacy Policy | Statistics Resources | Wessa.net Home

 © Wessa.Net 2002-2008  
 
 

Home Page
Equation Plotter
Time Series Analysis (new)
Time Series Analysis (old)
Multiple Regression (new)
Multiple Regression (old)
Descriptive Statistics
Statistical Distributions
Hypothesis Testing

Academic citations
Computations Archive
Search Computations
FAQ
About Wessa.net
Powered by Linux

Server status page
History list
Edit R Code
Google
Web wessa.net