svplot1 {svplots}R Documentation

Creates Sv-plot1, the first version of the sample variance plots.

Description

Sv-plot1 identifies the characteristics of the distribution illustrating squared deviations in the sample variance by squares for each data value.

Usage

svplot1(X,title="Sv-plot1",xlab="x",lbcol="grey5",lscol="grey60",
              rbcol="grey45",rscol="grey75",...)

Arguments

X

an n by 1 matrix, equivalently, a column vector of length n, where n is number of observations.

title

title of the plot, Sv-plot1 by default.

xlab

x-axis label, x by default.

lbcol

left bound color, grey5 by default.

lscol

left square color, grey60 by default.

rbcol

right bound color, grey45 by default.

rscol

right square color, grey75 by default.

...

other graphical parameters.

Value

Sv-plot1

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

   set.seed(0)
   X1 <- matrix(rnorm(50,mean=2,sd=5))
   svplot1(X1)

   X2 <- matrix(rf(50,df1=10,df2=5))
   svplot1(X2)

   X3 <- matrix(rbeta(50,shape1=10,shape2=2))
   svplot1(X3,title="",lbcol="blue",lscol="blue",rbcol="red",rscol="grey75")

[Package svplots version 0.1.0 Index]