lengthSIM: Sum of length calculated using simulation method

View source: R/328.Sum_Leng_GENERAL_SIM.R

lengthSIMR Documentation

Sum of length calculated using simulation method

Description

Sum of length calculated using simulation method

Usage

lengthSIM(n, LL, UL, s, a, b)

Arguments

n

- Number of trials

LL

- Lower limit

UL

- Upper limit

s

- Number of Hypothetical "p"

a

- Beta parameters for hypo "p"

b

- Beta parameters for hypo "p"

Details

The calculation of the sum of length for n given lower limit LL and upper limit UL

Value

A dataframe with

sumLen

The sum of the expected length

explMean

The mean of the expected length

explSD

The Standard Deviation of the expected length

explMax

The max of the expected length

explLL

The Lower limit of the expected length calculated using mean - SD

explUL

The Upper limit of the expected length calculated using mean + SD

See Also

Other Expected length: PlotexplGEN(), PlotexplSIM(), PlotlengthGEN(), PlotlengthSIM(), lengthGEN()

Examples

LL=c(0,0.01,0.0734,0.18237,0.3344,0.5492)		#Lower and Upper Limits
UL=c(0.4507,0.6655,0.8176,0.9265,0.9899,1)
n= 5; s=5000; a=1; b=1;
lengthSIM(n,LL,UL,s,a,b)

RajeswaranV/proportion documentation built on June 17, 2022, 9:11 a.m.