This function returns specified settings made by CB.BatchFitND or the Batch Fit tool.
Table 91. CB.GetBatchFitOption Index Parameter — Required, Integer
Returns a string with the address of the selected Batch Fit data range in the format: | ||
Returns a constant to indicate whether the data cells are in rows or columns: | ||
Returns a boolean to indicate whether the input range has a header (True) | ||
Returns a boolean to indicate whether the input range has a label (True) | ||
Returns an array of cbDfa... assumption distribution integers as listed in Table 53 | ||
Returns the constant of the selected fit ranking method as listed in Table 78 | ||
Returns the constant of the selected output location setting, a new workbook, the current workbook, a new worksheet, or the current worksheet: cbBftNewWorkbook [1], cbBftCurrentWorkbook [2], cbBftNewWorksheet [3], or cbBftCurrentWorksheet [4] If cbBftCurrentWorksheet is returned, you can use cbBftOutputLocationCell [25] to return the starting cell. | ||
Returns a boolean to indicate whether the output is formatted (True) | ||
Returns a boolean to indicate whether a correlation matrix is produced (True) | ||
Returns a boolean to indicate whether assumptions greater than a certain absolute value threshold are correlated (True); if True, use cbBftOutputCorrelationThreshold [26] to return the threshold value | ||
Returns a boolean to indicate whether there is a link to the matrix of correlations between the data series (True), assuming cbBftOutputCorrelationMatrix [14] is set to True | ||
Returns a boolean to indicate whether a goodness-of-fit report is produced (True); if True, use cbBftOutputGoodnessOfFitSheet [27] to return the sheet name of the report | ||
Returns a boolean to indicate whether an assumption report is produced (True); if True, use cbBftOutputAssumSheet [28] to return the sheet name of the report | ||
If cbBftOutputAssumReport [18] is True, can be used to return a boolean to indicate whether the assumption report includes full statistics (True) | ||
Returns a boolean to indicate whether parameter locking is switched on (True) | ||
Returns a boolean to indicate whether all statistics should appear when a Goodness of Fit report is produced (True) | ||
Returns the locked value of the specified distribution and parameter. The following distributions from Table 53 can be used as Value1: | ||
If cbBftOutputLocation [12] returns cbBftCurrentWorksheet [4], can be used to return the first cell of the output range (in the upper left corner) | ||
If cbBftOutputCorrelation [15] returns True, can be used to return the correlation threshold absolute value (default = 0.0) | ||
If cbBftOutputGoodnessOfFitReport [17] returns True, can be used to return the sheet name string of the report | ||
If cbBftOutputAssumReport [18] returns True, can be used to return the sheet name string of the report | ||
Returns whether the current sheet (cbBftCurrentWorksheet [4]) or new sheet (cbBftNewWorksheet [3]) is being used for the Batch Fit output | ||
Returns a constant to indicate whether the output is in rows or columns: | ||
cbBftOutputSheetName | 31 | Returns the name of the worksheet containing primary fit results (assumptions) as a string |
Table 92. CB.GetBatchFitOption Value1 Parameter — Optional, Variant
One of the cbDfa[distribution]... names for the following distributions from Table 53: gamma, lognormal, Student’s t, Weibull, binomial, hypergeometric. | Returns the locked value of the specified distribution and the parameter specified with Value2 |
Table 93. CB.GetBatchFitOption Value2 Parameter — Optional, Variant
One of the parameter numbers from Table 53 for the distribution specified with Value1: gamma, lognormal, Student’s t, Weibull, binomial, hypergeometric. | Returns the locked value of the specified parameter for the distribution specified with Value1. The numbers listed for the following parameters in Table 53 can be used for Value2: |