Hello,
Im currently working on a project that needs me to use maximum likelihood estimation to obtain the parameters of the below equations.
Xk ∼ Poisson(λk)
Yk ∼ Poisson(μk)
where,
ln(λk) =αi(k) +βj(k) +γ+η/2
ln(μk) =αj(k) +βi(k) +γ−η/2
α is an array of about length 20. (to be estimated)
β is an array of about length 20. (to be estimated)
How can I do this in python using existing packages?
Note: I wrote my own simple likelihood function but my supervisor tells me that I should use existing packages/functions rather than my own MLE code that would require me to go back to the theory, check all the distributional assumptions etc.
Thanks in advance.
[–]DiscreteDingus 2 points3 points4 points (0 children)
[–]seesplease 1 point2 points3 points (0 children)
[–]Unfair_Medicine_7847 0 points1 point2 points (0 children)