Displaying 2 results from an estimated 2 matches for "cawa".
Did you mean:
cada
2007 Nov 18
2
Obtaining x-values from ECDF
Dear Group,
I am using the ecdf function as follows:
cawa.cdp <- ecdf(cawaocc$LEFF80)
summary(cawa.cdp)
Empirical CDF: 223 unique values with summary
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.07918 1.35700 1.68600 1.61000 1.91200 2.70000
I can see by the summary that the y-value for the 3rd quartile is 1.912.
How can I obtain the x-valu...
2007 Nov 16
1
Extracting x-values from an ecdf
...Quick question on the use of ecdf for producing a cumulative
distribution function.
After having produced a cumulative distribution using ecdf, I would
like to extract the exact x-value for a given percentile. For example
I can ascertain the 1st and 3rd quartile using the summary function:
cawa.cdp <- ecdf(cawaocc$LEFF80)
plot(cawa.cdp, ylab="Fn(x)")
summary(cawa.cdp)
But, I would like write a function so that I can produce multiple
ecdfs for >100 separate distributions and then extract the x-value (in
this case LEFF80) for a given percentile (e.g., 80) for each separ...