File: warnings-and-exceptions.rst

package info (click to toggle)
statsmodels 0.14.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 49,848 kB
  • sloc: python: 253,316; f90: 612; sh: 560; javascript: 337; asm: 156; makefile: 132; ansic: 16; xml: 9
file content (58 lines) | stat: -rw-r--r-- 1,307 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
=======================
Exceptions and Warnings
=======================

Exceptions
----------

Errors derive from Exception or another custom error. Custom errors are
only needed if standard errors, for example ValueError or TypeError, are not
accurate descriptions of the cause for the error.

.. module:: statsmodels.tools.sm_exceptions
   :synopsis: Exceptions and Warnings

.. currentmodule:: statsmodels.tools.sm_exceptions

.. autosummary::
   :toctree: generated/

   ParseError
   PerfectSeparationError
   X13NotFoundError
   X13Error

Warnings
--------

Warnings derive from either an existing warning or another custom
warning, and are often accompanied by a string using the format
``warning_name_doc`` that services as a generic message to use when the
warning is raised.


.. currentmodule:: statsmodels.tools.sm_exceptions

.. autosummary::
   :toctree: generated/

   X13Warning
   IOWarning
   ModuleUnavailableWarning
   ModelWarning
   ConvergenceWarning
   CacheWriteWarning
   IterationLimitWarning
   InvalidTestWarning
   NotImplementedWarning
   OutputWarning
   DomainWarning
   ValueWarning
   EstimationWarning
   SingularMatrixWarning
   HypothesisTestWarning
   InterpolationWarning
   PrecisionWarning
   SpecificationWarning
   HessianInversionWarning
   CollinearityWarning