当前位置:网站首页>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 .
边栏推荐
- MySQL introduction - functions (various function statistics, exercises, details, tables)
- Fundamentals of machine learning: feature selection with lasso
- 基于.NetCore开发博客项目 StarBlog - (14) 实现主题切换功能
- Decompile and modify the non source exe or DLL with dnspy
- 7.1 学习内容
- Infiltration learning diary day19
- How programmers find girlfriends through blind dates
- [common error] custom IP instantiation error
- Characteristics of ginger
- Network layer - routing
猜你喜欢
Since the "epidemic", we have adhered to the "no closing" of data middle office services
Who moved my code!
功能:求5行5列矩阵的主、副对角线上元素之和。注意, 两条对角线相交的元素只加一次。例如:主函数中给出的矩阵的两条对角线的和为45。
“疫”起坚守 保障数据中台服务“不打烊”
Windos10 reinstallation system tutorial
MySQL statement learning record
0 basic learning C language - nixie tube dynamic scanning display
2020-12-02 SSM advanced integration Shang Silicon Valley
Introduction to A-frame virtual reality development
HackTheBox-baby breaking grad
随机推荐
基于.NetCore开发博客项目 StarBlog - (14) 实现主题切换功能
QML add gradient animation during state transition
Function: store the strings entered in the main function in reverse order. For example, if you input the string "ABCDEFG", you should output "gfedcba".
All in one 1407: stupid monkey
Summary of JWT related knowledge
Fundamentals of machine learning: feature selection with lasso
机器学习基础:用 Lasso 做特征选择
Logical operator, displacement operator
ThinkPHP uses redis to update database tables
Conditional test, if, case conditional test statements of shell script
Msp32c3 board connection MSSQL method
Summary of common tools and technical points of PMP examination
Openbionics robot project introduction | bciduino community finishing
Notice on Soliciting Opinions on the draft of information security technology mobile Internet application (APP) life cycle security management guide
How to set the response description information when the response parameter in swagger is Boolean or integer
Mongodb learning notes: command line tools
Summary of common tools and technical points of PMP examination
功能:求5行5列矩阵的主、副对角线上元素之和。注意, 两条对角线相交的元素只加一次。例如:主函数中给出的矩阵的两条对角线的和为45。
ES6 deletes an attribute in all array objects through map, deconstruction and extension operators
Make drop-down menu