test1musm {svplots}R Documentation

Tests the hypothesis over population mean based on one sample summary statistics by Sv-plot2.

Description

Decision on hypothesis testing over single mean is made by graphing sample and population Sv-plot2s along with the threshold line. Intersecting Sv-plots on or above the horizontal line concludes the alternative hypothesis.

Usage

test1musm(n=20,xbar=3,s=2,mu0=4.5,alpha=0.05,
                 unkwnsigma=TRUE,sigma=NULL,xlab="x",
                 title="Single mean summary: Hypothesis testing by Sv-plot2",
                 samcol="grey5",popcol="grey45",thrcol="black",...)

Arguments

n

sample size, n=20 by default.

xbar

sample average, xbar=3 by default.

s

sample standard deviation, s=2 by default.

mu0

hypothesized population mean, mu0=4.5 by default.

alpha

significance level, alpha=0.05 by default.

unkwnsigma

population standard deviation is unknown, TRUE by default.

sigma

population standard deviation, NULL by default.

xlab

x-axis label, x by default.

title

title of the plot, Single mean: Hypothesis testing by Sv-plot2 by default by default.

samcol

sample Sv-plot2 color, grey5 by default.

popcol

sample Sv-plot2 color, grey45 by default.

thrcol

threshold color, black.

...

other graphical parameters.

Value

Decision on testing hypotheses over single population mean by Sv-plot2.

References

Wijesuriya, U. A. (2020). Sv-plots for identifying characteristics of the distribution and testing hypotheses. Communications in Statistics-Simulation and Computation, doi: 10.1080/03610918.2020.1851716.

Examples

 ## For summary data
    test1musm(n=20,xbar=3,s=2,mu0=4.5,alpha=0.05, unkwnsigma=TRUE,sigma=NULL,xlab="x",
    title="Single mean summary: Hypothesis testing by Sv-plot2",
    samcol="grey5",popcol="grey45",thrcol="black")

[Package svplots version 0.1.0 Index]