|
SOLUTIONS
|
Mathematica
>
Data Manipulation
>
Statistical Data Analysis
>
Probability & Statistics
>
Random Variables
>
FindDistributionParameters
BUILT-IN MATHEMATICA SYMBOL
FindDistributionParameters
FindDistributionParameters[data, dist]
finds the parameter estimates for the distribution dist from data.
FindDistributionParameters[data, dist, {{p, p0}, {q, q0}, ...}]
finds the parameters p, q, ... with starting values
,
, ....
Details and OptionsDetails and Options
- FindDistributionParameters returns a list of replacement rules for the parameters in dist.
- The data must be a list of possible outcomes from the given distribution dist.
- The distribution dist can be any parametric univariate, multivariate, or meta distribution with unknown parameters.
- The following options can be given:
-
AccuracyGoal Automatic the accuracy sought ParameterEstimator "MaximumLikelihood" what parameter estimator to use PrecisionGoal Automatic the precision sought WorkingPrecision Automatic the precision used in internal computations - The following basic settings can be used for ParameterEstimator:
-
"MaximumLikelihood" maximize the log-likelihood function "MethodOfMoments" match raw moments "MethodOfCentralMoments" match central moments "MethodOfCumulants" match cumulants "MethodOfFactorialMoments" match factorial moments - The maximum likelihood method attempts to maximize the log-likelihood function
, where
are the distribution parameters and
is the PDF of the symbolic distribution. - The method of moments solves
,
, ... where
is the 
sample moment and
is the 
moment of the distribution with parameters
. - Method-of-moment-based estimators may not satisfy all restrictions on parameters.
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
Obtain the maximum likelihood parameter estimates assuming a Laplace distribution:
| In[1]:= |
| Out[1]= |
Obtain the method of moments estimates:
| In[2]:= |
| Out[2]= |
Estimate parameters for a multivariate distribution:
| In[1]:= |
| In[2]:= |
| Out[2]= |
Compare the difference between the original and estimated PDFs:
| In[3]:= |
| Out[3]= | ![]() |
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


