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
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
with⁡Statistics:
Calculate the likelihood, log likelihood and score function of a beta distribution
Likelihood⁡Β⁡a,b,A,samplesize=1
0A1<0A1a−1⁢1−A1b−1Β⁡a,bA1<101≤A1
LogLikelihood⁡Β⁡a,b,A,samplesize=1
ln⁡A1a−1⁢1−A1b−1Β⁡a,b
Score⁡Β⁡a,b,A,samplesize=1
ln⁡A1−Ψ⁡a+Ψ⁡a+bln⁡1−A1−Ψ⁡b+Ψ⁡a+b
Attempt to calculate the maximum likelihood estimate of a binomial distribution.
S≔Sample⁡Binomial⁡10,0.4,1000
MaximumLikelihoodEstimate⁡Binomial⁡10,θ,S,bounds=0..1
0.393299998240230
Calculate the same information about a normal distribution.
Information⁡Normal⁡μ,σ,A,samplesize=1,param=μ
−1σ2
FisherInformation⁡Normal⁡μ,σ,1,μ
1σ2
Compute the likelihood ratio statistic about a similar normal distribution.
LikelihoodRatioStatistic⁡Normal⁡μ,5,A,samplesize=1
125⁢A12−225⁢A1⁢μ+125⁢μ2
See Also
Statistics
Statistics[Computation]
Download Help Document