Learn R Programming

proportion (version 2.0.0)

PlotexplSIM: Plots the expected length using calculated using simulation

Description

Plots the expected length using calculated using simulation

Usage

PlotexplSIM(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 plot of the expected length for n given lower limit LL and upper limit UL

See Also

Other Expected length: PlotexplGEN, PlotlengthGEN, PlotlengthSIM, lengthGEN, lengthSIM

Examples

Run this code
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;
PlotexplSIM(n,LL,UL,s,a,b)

Run the code above in your browser using DataLab