Learn R Programming

hypothesestest (version 1.0)

hypothesistest-package: hypothesistest

Description

Creat a test of statistical hypothesis for the estimation of a parameter.

Arguments

Details

Package:
hypothesis
Type:
Package
Version:
1.0
Date:
2012-05-14
License:
GPL (>=2)
The aim of the package is to build a test of statistical hypothesis.

See Also

confidence interval and findroot

Examples

Run this code
conint(m=67.53,n1=25,s1=10,side="both",alpha=0.95,method="n") #63.61 71.45
findroot(alpha = 0.05, side = "both", method = "n", n=30, mu = 0, sigma = 1)  # 1.959961
hypothesis(TrnX=c(3,4,5),TrnY=c(4,5,6),m,u0=4,3,3,s1=NULL,s2=NULL,sigma1=NULL,sigma2=NULL,alpha=0.05,method="n",H0="u=u0",p)
# "we can not reject H0."
# "t is"
# 4.302673
# "Q is"
# 0
# "p-value is"
# 1

Run the code above in your browser using DataLab