楼主: liyyu
74007 41

做似然估计时,Log likelihood为负是否正常? [推广有奖]

31
白日梦小姐 发表于 2013-11-7 11:24:02
楼主,我也刚刚弄懂这个问题。不知道现在回复对你而言算不算晚,但是至少对以后看到这帖子并且有同样疑问的人应该有用。

赞同9楼的看法。具体的原因可进一步阅读:http://wenku.baidu.com/view/77a63505eff9aef8941e0691.html

32
隆末客 发表于 2014-2-23 21:04:33
1. loglikelihood 通常应该为负。因为累积likelihood值通常为小数,取自然对数后……必然为负。
2.但是也有例外,如假设sample为正态分布时,如果variance过小,会导致loglikelihood为正。
原因如下,
在连续变量的情况下
我们用maximum likelihood method时,用的是probability density function,得到的并不是‘真正’的概率,而是单位概率。如,f(s)在x=0,取值为0.325, 并不意味着此点发生概率为此。
所以loglikelihood有可能为证,在normal distribution时,尤其sample是daily return of stock

33
Lisrelchen 发表于 2014-2-23 22:27:22
The likelihood is proportional to the probability of observing the data given the parameter estimates and your model. To ensure that they are comparable across models the models have to be nested, i.e. you can get from the more complex model to the less complex model by imposing a set of constraints on the more complex model. If the models are nested than a larger likelihood function means a larger probability of observing the data, which is good.

A positive log likelihood means that the likelihood is larger than 1. This is possible because the  likelihood is not itself the probability of
observing the data, but just proportional to it.

The likelihood is hardly ever interpreted in its own right (though see (Edwards 1992[1972]) for an exception), but rather as a test-statistic, or as a means of estimating parameters. There are a number of goodness of fit statistics based on the  likelihood: many of the pseudo-Rsquares, the AIC, and the BIC.

34
Lisrelchen 发表于 2014-2-23 22:33:13
There's nothing inherently wrong with positive log likelihoods, because likelihoods aren't strictly speaking probabilities, they're densities. When they occur, it is typically in cases with very few variables and very small variances. For raw data, we define the log likelihood of a model as the density of the model-implied multivariate normal distribution for each observed data raw. If we had three values (0, 1, 2) and fit a model with a mean of 1 and variance of 2/3, we'd get densities of .231, .487 and .231. If we use 0, .01 and .02 and fit mean .01 variance 2/300 instead, those densities become 2.31, 4.87 and 2.31. The likelihoods change with the different scaling, and one yields a positive log-likelihood and one a negative, but they're the same model.

The issue with low variance items is not about how weird positive likelihoods look, but that variances can't go below zero, and very low variances run an increased risk of the optimizer picking a negative variance or your model bumping up against whatever bound you enforce.

35
mykonka 发表于 2016-12-8 10:57:45
IBELIEVE2013 发表于 2013-7-1 22:08
正解!!高斯模型下的似然估计出来的全是负值,并且是越大越好。
请问是负的话,越大越好?

36
jerryren 发表于 2016-12-8 21:22:01
可正可负,不用纠结在此

37
mykonka 发表于 2016-12-12 22:46:25
IBELIEVE2013 发表于 2013-7-1 22:08
正解!!高斯模型下的似然估计出来的全是负值,并且是越大越好。
亲,你确定?所以总的说来还是越大越好?

38
alasaa 发表于 2017-4-15 07:10:29
IBELIEVE2013 发表于 2013-7-1 22:08
正解!!高斯模型下的似然估计出来的全是负值,并且是越大越好。
请问,Log likelihood是绝对值越大越好?还是负数越大(绝对值越小)越好?

39
醉沫离殇 在职认证  发表于 2017-5-13 12:01:50
学习了,谢谢

40
氟他胺3 发表于 2019-3-31 18:00:10
alasaa 发表于 2017-4-15 07:10
请问,Log likelihood是绝对值越大越好?还是负数越大(绝对值越小)越好?
请问有结论了吗?

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-25 21:29