stieltjes(spatstat)
stieltjes()所属R语言包:spatstat
Compute Integral of Function Against Cumulative Distribution
计算积分的累积分布函数的反
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the Stieltjes integral of a function f with respect to a function M.
计算Stieltjes积分的一个函数f相对于一个函数M。
用法----------Usage----------
stieltjes(f, M, ...)
参数----------Arguments----------
参数:f
The integrand. A function in the R language.
积。 R语言中的函数。
参数:M
The cumulative function against which f will be integrated. An object of class "fv".
对f累计功能将被整合。对象的类"fv"。
参数:...
Additional arguments passed to f.
额外的参数传递给f。
Details
详细信息----------Details----------
This command computes the Stieltjes integral
该命令计算Stieltjes积分
of a real-valued function f(x) with respect to a nondecreasing function M(x).
一个实值函数f(x)一个非降函数M(x)。
One common use of the Stieltjes integral is to find the mean value of a random variable from its cumulative distribution function F(x). The mean value is the Stieltjes integral of f(x)=x with respect to F(x).
Stieltjes积分的一个常见用途是要找到一个随机变量的平均值,其累积分布函数F(x)。的平均值为Stieltjes积分的f(x)=x就F(x)。
The argument f should be a function in the R language. It should accept a numeric vector argument x and should return a numeric vector of the same length.
参数f应该是一个functionR语言。它应该接受一个数值向量参数x,应该返回一个数值向量的长度相同。
The argument M should be a function value table (object of class "fv", see fv.object). Such objects are returned by the commands link{Kest}, Gest, etc.
参数M应该是一个函数值表(对象类"fv",看到fv.object“)。这样的对象返回的命令link{Kest},Gest,等
值----------Value----------
A list containing the value of the Stieltjes integral computed using each of the versions of the function M.
一个列表,包含每个版本的功能MStieltjes积分计算中使用的价值。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
参见----------See Also----------
fv.object, Gest
fv.object,Gest
实例----------Examples----------
data(redwood)
# estimate cdf of nearest neighbour distance[估计累积分布函数的最近邻距离]
G <- Gest(redwood)
# compute estimate of mean nearest neighbour distance[计算估计平均最近邻距离]
stieltjes(function(x){x}, G)
# estimated probability of a distance in the interval [0.1,0.2][距离估计的概率在区间[0.1,0.2]]
stieltjes(function(x,a,b){ (x >= a) & (x <= b)}, G, a=0.1, b=0.2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|