::Free Statistics and Forecasting Software::

v1.1.23-r6
 
  Black&White | Blue Theme | Normal Fontsize | Increase Fontsize | Decrease Fontsize | Toggle underline
Secure website (SSL) | Private
 
 


This software module is powered by R

:: Testing Mean with known Variance - Type II Error - 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 Type II Error for the one-sided hypothesis test about the mean. 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:
Sample size 
Population Variance 
Sample Mean 
Null Hypothesis about mean 
Type I error (alpha) 
Alternative Hypothesis about mean 

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





Source code of R module
1par1<-as.numeric(par1)
2par2<-as.numeric(par2)
3par3<-as.numeric(par3)
4par4<-as.numeric(par4)
5par5<-as.numeric(par5)
6par6<-as.numeric(par6)
7c <- "NA"
8csn <- abs(qnorm(par5))
9if (par3 == par4)
10{
11conclusion <- "Error: the null hypothesis and sample mean must not be equal."
12}
13if (par3 > par4)
14{
15c <- par4 + csn * sqrt(par2) / sqrt(par1)
16}
17if (par3 < par4)
18{
19c <- par4 - csn * sqrt(par2) / sqrt(par1)
20}
21p <- pnorm((c - par6) / (sqrt(par2/par1)))
22p
23load(file="createtable")
24a<-table.start()
25a<-table.row.start(a)
26a<-table.element(a,hyperlink("http://www.xycoon.com/ht_mean_knownvar.htm","Testing Mean with known Variance","learn more about Statistical Hypothesis Testing about the Mean when the Variance is known"),2,TRUE)
27a<-table.row.end(a)
28a<-table.row.start(a)
29a<-table.element(a,"sample size",header=TRUE)
30a<-table.element(a,par1)
31a<-table.row.end(a)
32a<-table.row.start(a)
33a<-table.element(a,"population variance",header=TRUE)
34a<-table.element(a,par2)
35a<-table.row.end(a)
36a<-table.row.start(a)
37a<-table.element(a,"sample mean",header=TRUE)
38a<-table.element(a,par3)
39a<-table.row.end(a)
40a<-table.row.start(a)
41a<-table.element(a,"null hypothesis about mean",header=TRUE)
42a<-table.element(a,par4)
43a<-table.row.end(a)
44a<-table.row.start(a)
45a<-table.element(a,"type I error",header=TRUE)
46a<-table.element(a,par5)
47a<-table.row.end(a)
48a<-table.row.start(a)
49a<-table.element(a,"alternative hypothesis about mean",header=TRUE)
50a<-table.element(a,par6)
51a<-table.row.end(a)
52a<-table.row.start(a)
53a<-table.element(a,hyperlink("http://www.xycoon.com/ht_mean_knownvar.htm#ex3","Type II Error","example"),header=TRUE)
54a<-table.element(a,p)
55a<-table.row.end(a)
56a<-table.end(a)
57table.save(a,file="mytable.tab")
Top | Output | Charts | References | History | Feedback



Cite this software as:
Wessa P., (2008), Testing Mean with known Variance (type II error) (v1.0.3) in Free Statistics Software (v1.1.23-r6), Office for Research Development and Education, URL http://www.wessa.net/rwasp_hypothesismean3.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#ex3
Top | Output | Charts | References | History | Feedback
List of last 4 computationsDelete history
Server DateModuleCommand
Sun, 21 Mar 2010 16:56:38 -0600Population Mean TestPrint | Word | Excel | Blog this | Delete
Sun, 21 Mar 2010 16:46:59 -0600ARMA Parameter EstimationPrint | Word | Excel | Blog this | Delete
Sun, 21 Mar 2010 16:46:43 -0600Standard Deviation-Mean PlotPrint | Word | Excel | Blog this | Delete
Sun, 21 Mar 2010 16:46:35 -0600Start of session-
Top | Output | Charts | References | History | Feedback

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 or suggestions for our site?
Please enter the code that is displayed in this picture: captcha

To cite Wessa.net in publications use:
Wessa, P. (2010), Free Statistics Software, Office for Research Development and Education,
version 1.1.23-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.23-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-2010  
 
 

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

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

Server status page
Any R Server






Installed Packages

History list
Edit R Code
Google
Web wessa.net



Resa R&D provides this service to the internet community free of charge. Support this project with your contribution.