Simulation & Probabilistic Analysis SDK
Add Distribution Fitting & Simulation Features to Your Applications

SPA SDK Help HomeLearn More About the SPA SDK

SPADataSet.Fit (method)

Description

Fits distributions to a data set. See the Distribution Fitting topic for details and examples.

Syntax

object.Fit(dist As Variant, fitResults() As Variant)

Arguments

Name
Type
Description
dist Variant Distributions to fit to a data set. Can take on the following data types:
- SPADistributionType;
- SPADistribution;
- an array of Variants (each array element can have one of the above mentioned types).
fitResults An array of SPAFitResult objects. The fitting results array, sorted according to the SPAApplication.SPAFitOptions.RankBy property value.

Return Value

(Long) - the size of the fitResults array, or the total number of successfully and unsuccessfully fitted distributions.

Copyright © MathWave Technologies
www.mathwave.com