maram salem wrote:
Hi all,
I've a trivial question. If (q) is a continous variable,actually a vector of 1000 
values. how to calculate the probability that q is greater than a specific value, 
i.e. P(q>45)??

Do you want to estimate any distribution or do you just want the empirical information on the number of values greater than 45? Foir the latter:

  mean(q > 45)

Uwe Ligges



Thanks
Maram


[[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.

______________________________________________
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