Hello,
 
Could someone help me please and to tell how to get the probability from 
empirical distribution (not parametric) for each data value (R function).
For example, for normal distribution there is such a function like: 
 
“pnorm(q, mean = 0, sd = 1, lower.tail = TRUE, log.p = FALSE)”
 
I need the same function only for the empirical distribution (which does not 
correspond to any typical distribution).
R plots the density function of any data:
 
“plot(density(x))”
 
I need to find out the probability for each data value from this plot-line.
 
Best regards,
Lina 


      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to