jacoblin
第3楼2009/07/28
其实是一些常见函数,可以参考仪器的帮助文件。自定义函数:
偏态?Skew:
Syntax : Skew(pType)
Group : Stats.
Description : Returns the Skew of the current result distribution based on a distribution type (pType).
As an alternative the distribution type can be used directly, in the form rtDistribution type.
The values of pType and distribution type variables are:
0 = Volume or rtVolume
1 = Surface or rtSurface
2 = Length or rtLength
3 = Number or rtNumber
See Distribution statistics for more information on skew.
Example
Calculations to determine the volume skew
Private Function Calc() As Variant
volskew= Stats.Skew(0)
'Round returns the calculated value to 3 decimal places
Calc =Round (volskew ,3)
End Function
Or
Private Function Calc() As Variant
volskew = Stats.Skew(rtVolume)
'Round returns the calculated value to 3 decimal places
Calc =Round (volskew ,3)
End Function
Return to Result statistics list
峰态?Kurtosis
Syntax : Kurtosis(pType)
Group : Stats.
Description : Returns the Kurtosis of the current result distribution based on a distribution type (pType).
As an alternative the distribution type can be used directly, in the form rtDistribution type.
The values of pType and distribution type variables are:
0 = Volume or rtVolume
1 = Surface or rtSurface
2 = Length or rtLength
3 = Number or rtNumber
See Distribution statistics for more information on kurtosis.
Examples
Calculations to determine the volume kurtosis
Private Function Calc() As Variant
volkurt = Stats.Kurtosis(0)
Round returns the calculated value to 3 decimal places
Calc =Round (volkurt ,3)
End Function
Or
Private Function Calc() As Variant
volkurt = Stats.Kurtosis(rtVolume)
'Round returns the calculated value to 3 decimal places
Calc =Round (volkurt ,3)
End Function
Return to Result statistics list