Skip to main content

All Questions

Tagged with
0 votes
0 answers
19 views

Deriving log-likelihood contribution involving fixed effects (panel model)

I would appreciate some help with the following problem: We have the following panel model: $y_{it} = h(x_{it}\beta + c_i) + \epsilon_{it}, \quad t=1,\ldots,T, \quad i=1,\ldots,N $ where \begin{align*}...
TheSnailSurgeon's user avatar
9 votes
4 answers
915 views

An interesting observation regarding the log transformation of data

I stumbled upon something interesting while attempting to do a log transformation for some data (with zeros) today. It seems that there must be a good reason for this that I'm just not seeing. I'm ...
knrumsey's user avatar
  • 8,392
0 votes
1 answer
218 views

Numerically stable transformation of log-likelihoods to probability [closed]

I have the following problem: I have log-likelihoods that need to be transformed to probabilities. One thing I have attempted is the following. Define $\kappa_{s} := \log \int p (\theta | X_s) \text{d}...
KeynesCoeFen's user avatar
0 votes
0 answers
26 views

nakagami distribution

How can i do the parameter's estimation with nakagami distribution with fisher scoring ? i've problem with derive the log likelihood for the variabel of m.(i attach the picture with screenshot file)
Bisma Adhira's user avatar
0 votes
0 answers
59 views

How do I find log likelihood function based on observations

Assuming the regression model Yi = BiXi + E is appropriate. And I have observations : X1...X10, Y1...Y10 How do i find the log likelihood function based on the observed values? Any help is much ...
InsertNameHere11231's user avatar
2 votes
1 answer
532 views

Is negative log likelihood calculated in log space or exponential space?

I have a question about calculating negative log likelihood in a machine learning model over a dataset which seems simple but I cannot find a solid answer/explanation online. Is the NLL calculated as ...
Joff's user avatar
  • 942
3 votes
3 answers
1k views

Prove that the likelihood function L(θ|x) is equivalent to maximizing log L(θ|x) where log is the natural logarithm

In other words, why $\text{argmax} \text{ } L(\theta) = \text{argmax} \text{ } \text{log} \text{ } L(\theta)$ ?
Ekaterina's user avatar
5 votes
2 answers
591 views

Why is the expected gradient of a density not parallel to the expected gradient of the log density?

I'm confused by a seemingly counter-intuitive property of the interaction between distributions, log transforms, expectations and gradients. Suppose I have some distribution over random variable $x$ ...
Rylan Schaeffer's user avatar
1 vote
1 answer
860 views

Behaviour of likelihood ratio test as sample size increases

I know that the log likelihood statistic, i.e. $X^2=-2(LL_1 - LL_2)$ where $LL_1$ and $LL_2$ are the maximum log likelihoods of two models, one nested in the other, is asymptotically distributed as a ...
Bill Shipley's user avatar
15 votes
1 answer
35k views

What is the log of the PDF for a Normal Distribution?

I am learning Maximum Likelihood Estimation. Per this post, the log of the PDF for a normal distribution looks like this: $$ \log{\left(f\left(x_i;\,\mu,\sigma^2\right)\right)} = - \frac{n}{2} \log{\...
JJJohn's user avatar
  • 1,995
2 votes
1 answer
6k views

Computing the Hessian of maximum log likelihood function

I am trying to find the Hessian matrix for the maximum log likelihood function given training data ${(xi, yi)}$ for $i=1:N$ with $yi ∈ \left\{+1, −1\right\}$ for each $i = 1,\dots, N$ for the function:...
Kristin's user avatar
  • 23
3 votes
1 answer
48 views

Is it ever convenient to maximize different functions of the likelihood than the logarithm?

We all know that it's often much more convenient to maximize the log-likelihood rather than the likelihood to get a parameter estimate, since it amounts to the same thing by the fact that the ...
dain's user avatar
  • 375
1 vote
1 answer
8k views

How to normalize log-likelihoods? [closed]

I have referred to this post here. In my case, I am trying to normalize the log-likelihoods I obtained from the same data set. However, the approach in the top answer did not work out for me. Below ...
Adrian's user avatar
  • 2,909
2 votes
1 answer
529 views

logarithm in loglikelihood

I think I understand likelihood, and also log-likelihood as well. After reading about log-likelihood in various sources, I thought that the purpose of taking the logarithm of likelihood was all about ...
Muatik's user avatar
  • 163
1 vote
1 answer
4k views

Why don't log-likelihoods lead to log(0)?

How do log likelihoods function in practice? I seem to oscillate between understanding this and not understanding this (which most likely means I've never understood it). When you take log( P( X | Y )...
marcman's user avatar
  • 215

15 30 50 per page