当前位置:网站首页>Maximum likelihood method, likelihood function and log likelihood function
Maximum likelihood method, likelihood function and log likelihood function
2022-07-04 01:27:00 【YaoHa_】
Likelihood function
In Statistics , Likelihood function Is a function of statistical model parameters . Represents... In model parameters Likelihood .
Definition : Given the output x when , About parameters θ Likelihood function of L(θ|x)( In numerical terms ) Equal to the given parameter θ Post variable X Probability :

among , Small x Refers to the joint sample random variable X Value taken .θ Refers to unknown parameters , It belongs to parameter space .
p(x|θ) It can be regarded as a function with two variables .
When θ Set to constant , Then you will get an answer about x The probability function of (probability function), For different sample points x, What is the probability of its occurrence ;
When x Set to constant , You will get information about θ Likelihood function of (likelihood function), For different parameters θ, appear x What's the probability of this sample point .
example :
- Toss a homogeneous coin , throw 10 Time ,6 How likely is the secondary positive ? This is probability .
- Flip a coin , throw 10 Time , The result is 6 Second, face up , And how likely is it to be homogeneous ? This is likelihood , Find parameters .
notes : The possibility of homogeneity means that it is possible to face up and face up , Are all 0.5. So the result is the same last time .
How to understand the maximum likelihood function ?
Maximum likelihood estimation refers to It is known that a random sample satisfies a certain probability distribution , Use the result to deduce the parameter value that leads to the result .
example : Flip a coin , throw 10 Time , The result is 6 Sub head up , What is the biggest parameter ?
notes : It can be understood as how likely it is to throw it face up once , Throwing 10 Next time , The result is 6 The probability of facing up is the greatest .
Steps of maximum likelihood method :
- Write the likelihood function .
- If you can't find the derivative directly , Log the likelihood function .
- Find the derivative , Let the derivative be 0, Get the likelihood equation .
- solve equations , Get the parameter result .
Why use log likelihood function ?
Solving the maximization of a function often requires solving the partial derivative of the function with respect to unknown parameters , But direct derivation will make the calculation more complicated . So with the help of log likelihood function . Because the logarithmic function is monotonically increasing , So the maximum point will be the same .
notes : Probability value is decimal , In the case of multiple consecutive rides , The result will be close to 0, At this time, take the negative number of logarithm for the likelihood function , To minimize the log likelihood function .
边栏推荐
- Introduction to A-frame virtual reality development
- 【.NET+MQTT】. Net6 environment to achieve mqtt communication, as well as bilateral message subscription and publishing code demonstration of server and client
- PMP 考试常见工具与技术点总结
- Function: find the approximate value of the limit of the ratio of the former term to the latter term of Fibonacci sequence. For example, when the error is 0.0001, the function value is 0.618056.
- “疫”起坚守 保障数据中台服务“不打烊”
- Oracle database knowledge points (IV)
- Ka! Why does the seat belt suddenly fail to pull? After reading these pictures, I can't stop wearing them
- Technical practice online fault analysis and solutions (Part 1)
- Pratique technique | analyse et solution des défaillances en ligne (Partie 1)
- C import Xls data method summary V (complete code)
猜你喜欢

MySQL - use of aggregate functions and group by groups

Audio resource settings for U3D resource management

功能:求5行5列矩阵的主、副对角线上元素之和。注意, 两条对角线相交的元素只加一次。例如:主函数中给出的矩阵的两条对角线的和为45。

基于.NetCore开发博客项目 StarBlog - (14) 实现主题切换功能

在寻求人类智能AI的过程中,Meta将赌注押向了自监督学习

Avoid playing with super high conversion rate in material minefields

Introduction to superresolution

Infiltration learning diary day19

Make drop-down menu

Install the pit that the electron has stepped on
随机推荐
Idsia & supsi & usi | continuous control behavior learning and adaptive robot operation based on Reinforcement Learning
机器学习基础:用 Lasso 做特征选择
The first training of wechat applet
Mongodb learning notes: command line tools
7.1 learning content
MySQL statement learning record
HackTheBox-baby breaking grad
在寻求人类智能AI的过程中,Meta将赌注押向了自监督学习
Day05 表格
Openbionics exoskeleton project introduction | bciduino community finishing
Fundamentals of machine learning: feature selection with lasso
In the process of seeking human intelligent AI, meta bet on self supervised learning
PMP 考试常见工具与技术点总结
Gauss elimination method and template code
Employees' turnover intention is under the control of the company. After the dispute, the monitoring system developer quietly removed the relevant services
How to set the response description information when the response parameter in swagger is Boolean or integer
File contains vulnerability summary
A-Frame虚拟现实开发入门
Flutter local database sqflite
Special copy UML notes