Distfit: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
imported>Jeremy
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Purpose===
===Purpose===


Line 14: Line 13:
'''NOTE: '''Some distributions will ignore parts of the sample that are not part of the supported range.
'''NOTE: '''Some distributions will ignore parts of the sample that are not part of the supported range.


====INPUTS====
====Inputs====


* '''x''' = The name of a matrix (column vector) in which the sample data is stored.
* '''x''' = The name of a matrix (column vector) in which the sample data is stored.


====OUTPUTS====
====Outputs====


The return value is a structure with fields:
The return value is a structure with fields:
Line 38: Line 37:
===See Also===
===See Also===


[[chitest]]
[[chilimit]], [[chitest]], [[plotqq]]

Latest revision as of 13:13, 30 May 2012

Purpose

Chitest for all distributions.

Synopsis

res = distfit(x,options)

Description

This command will perform the chi-squared test for all supported distributions and then present a list of the supported distributions from the most likely parent distribution to the least likely (along with the associated p-values).The default behavior is to display a figure containing the results. This can be disabled using options.

NOTE: Some distributions will ignore parts of the sample that are not part of the supported range.

Inputs

  • x = The name of a matrix (column vector) in which the sample data is stored.

Outputs

The return value is a structure with fields:

  • dist = names of candidate distributions.
  • pval = p-value associated with the test statistic.

Options:

  • name : 'options', name indicating that this is an options structure,
  • plots : [ 'none' | {'final'} ] governs level of plotting,

Examples

distfit(x)

See Also

chilimit, chitest, plotqq