我正在处理核估计,我将 R 中的密度函数应用到我的数据文件(双变量),经过几次统计处理后,我需要转换这些数据,这就是我的问题:
是否存在非参数方法的逆累积分布函数?
我尝试过 Google、ethz 论坛、R 帮助,但似乎丢失了。
最佳答案
听起来您想要 quantile功能:
# simulate some data
mydata = rnorm(1000)
# print the quantiles at a few points
# (it's the inverse of the cumulative distribution function):
print(quantile(mydata, .5))
print(quantile(mydata, .75))
# show the curve from 0 to 1
curve(quantile(mydata, x))
关于r - 非参数逆(累积)分布函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14281656/