Overview - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Estimation Commands

  

The Statistics package supports a variety of tools for manipulating likelihood functions, performing maximum likelihood estimation and deriving various properties of the likelihood function.

 

Available Commands

Examples

Available Commands

FisherInformation

Fisher information

Information

statistical information

KernelDensity

estimate the probability density of a data set

Likelihood

likelihood function

LikelihoodRatioStatistic

compute the likelihood ratio statistic

LogLikelihood

log likelihood function

MaximumLikelihoodEstimate

compute the maximum likelihood estimate

Score

statistical score

Examples

withStatistics:

Calculate the likelihood, log likelihood and score function of a beta distribution

LikelihoodΒa,b,A,samplesize=1

0A1<0A1a11A1b1Βa&comma;bA1<101A1

(1)

LogLikelihoodΒa&comma;b&comma;A&comma;samplesize=1

lnA1a11A1b1Βa&comma;b

(2)

ScoreΒa&comma;b&comma;A&comma;samplesize=1

lnA1Ψa+Ψa+bln1A1Ψb+Ψa+b

(3)

Attempt to calculate the maximum likelihood estimate of a binomial distribution.

SSampleBinomial10&comma;0.4&comma;1000

MaximumLikelihoodEstimateBinomial10&comma;θ&comma;S&comma;bounds=0..1

0.393299998240230

(4)

Calculate the same information about a normal distribution.

InformationNormalμ&comma;σ&comma;A&comma;samplesize=1&comma;param=μ

1σ2

(5)

FisherInformationNormalμ&comma;σ&comma;1&comma;μ

1σ2

(6)

Compute the likelihood ratio statistic about a similar normal distribution.

LikelihoodRatioStatisticNormalμ&comma;5&comma;A&comma;samplesize=1

125A12225A1μ+125μ2

(7)

See Also

Statistics

Statistics[Computation]