Description Usage Arguments Value Examples
This function calculates the censoring point of a random censored epanechnikov-distributed variable associated a given expected value.
The inverse of this function is evepan
.
1 | cepan(ev, mu = 0, r = 5^0.5, side_censored = "left")
|
ev |
expected value. |
mu |
mean of distribution prior to censoring. |
r |
half the range of the distribution, ie the distance from the mean to the smallest/largest value supported by the distribution. |
side_censored |
indicates whether the variable is |
the censoring point associated with ev
, mu
and r
.
1 2 3 4 5 6 7 8 | #Censoring point of a left-censored epan-distributed variable
#with an expected value of 3 (given mu=0 and r=16):
cepan(ev=3,mu=0,r=16)
#Censoring point of a right-censored epan-distributed variable
#with an expected value of 103 (given mu=100 and r=32):
cepan(ev=94,mu=100,r=32,side_censored="right")
#Results are usually not an integer though and rarely coinciding with mu
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.