1%feature("docstring") OT::DistributionFactoryResult
2"Results of distribution estimation.
3
4This class is the result of a distribution estimation through a
5:class:`~openturns.DistributionFactory`.
6
7Parameters
8----------
9distribution : :class:`~openturns.Distribution`
10    The estimated distribution.
11parameterDistribution : :class:`~openturns.Distribution`
12    The distribution of the parameter.
13
14
15See also
16--------
17DistributionFactory
18
19
20Examples
21--------
22We demonstrate the method on a Beta Distribution.
23
24Create a sample from a Beta distribution:
25
26>>> import openturns as ot
27>>> sample = ot.Beta().getSample(10)
28>>> ot.ResourceMap.SetAsUnsignedInteger('DistributionFactory-DefaultBootstrapSize', 100)
29
30Fit a Beta distribution and create a :class:`~openturns.DistributionFactory`:
31
32>>> fittedRes = ot.BetaFactory().buildEstimator(sample)
33
34Get the fitted Beta distribution and its parameters:
35
36>>> fittedBeta =  fittedRes.getDistribution()
37
38Get the asymptotic parameters distribution:
39
40>>> paramDist = fittedRes.getParameterDistribution()"
41
42// ---------------------------------------------------------------------
43
44%feature("docstring") OT::DistributionFactoryResult::getDistribution
45"Accessor to the estimated distribution.
46
47Returns
48-------
49distribution : :class:`~openturns.Distribution`
50    The estimated distribution."
51
52// ---------------------------------------------------------------------
53
54%feature("docstring") OT::DistributionFactoryResult::setDistribution
55"Accessor to the estimated distribution.
56
57Parameters
58----------
59distribution : :class:`~openturns.Distribution`
60    The estimated distribution."
61
62// ---------------------------------------------------------------------
63
64%feature("docstring") OT::DistributionFactoryResult::getParameterDistribution
65"Accessor to the distribution of the parameter.
66
67Returns
68-------
69parameterDistribution : :class:`~openturns.Distribution`
70    The distribution of the parameter."
71
72// ---------------------------------------------------------------------
73
74%feature("docstring") OT::DistributionFactoryResult::setParameterDistribution
75"Accessor to the distribution of the parameter.
76
77Parameters
78----------
79parameterDistribution : :class:`~openturns.Distribution`
80    The distribution of the parameter."
81