View source: R/328.Sum_Leng_GENERAL_SIM.R
lengthGEN | R Documentation |
Calculates the sum of lengths for a specific LL and UL
lengthGEN(n, LL, UL, hp)
n |
- Number of trials |
LL |
- Lower limit |
UL |
- Upper limit |
hp |
- Hypothetical "p" |
Evaluation of intervals obtained from any method using sum of the lengths for the n + 1 intervals
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 |
Other Expected length:
PlotexplGEN()
,
PlotexplSIM()
,
PlotlengthGEN()
,
PlotlengthSIM()
,
lengthSIM()
n= 5; 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) hp=seq(0,1,by=0.01) lengthGEN(n,LL,UL,hp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.