WeibullDataSet.Calculate: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) m (moved Calculate to WeibullDataSet.Calculate) |
Albert Szeto (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}} | {{Template:APIClass|WeibullDataSet Class|WeibullDataSet}} | ||
Runs the calculation and creates a distribution model for the WeibullDataSet. | |||
== Declaration == | == Declaration == | ||
{{APIName|Calculate()}} | {{APIName|Calculate()}} | ||
{{APIComment| | {{APIComment|Creates a model from the raw data previously entered in the data set. Also sets the Fitted Model property if successful. Clears it (sets to Nothing) in case of an error.}} | ||
== Usage Example == | |||
{{APIComment|Declare the WeibullDataSet. See [[New WeibullDataSet]] for additional details.}} | |||
Dim WDS as New WeibullDataSet | |||
{{APIComment|Add values to the raw data.}} | |||
WDS.AddFailure(1, 1) | |||
WDS.AddFailure(2, 1) | |||
WDS.AddFailure(3, 1) | |||
{{APIComment|Calculate the WeibullDataSet.}} | |||
WDS.Calculate |
Revision as of 20:43, 11 September 2013
Runs the calculation and creates a distribution model for the WeibullDataSet.
Declaration
Calculate()
Creates a model from the raw data previously entered in the data set. Also sets the Fitted Model property if successful. Clears it (sets to Nothing) in case of an error.
Usage Example
Declare the WeibullDataSet. See New WeibullDataSet for additional details.
Dim WDS as New WeibullDataSet
Add values to the raw data.
WDS.AddFailure(1, 1) WDS.AddFailure(2, 1) WDS.AddFailure(3, 1)
Calculate the WeibullDataSet.
WDS.Calculate