Question on "integrating out against a density"

I am trying to set up the likelihood function following Wooldridge (2005)'s dynamic probit estimator using Matlab (this is my first time using Matlab, and I am doing this for practice), but I am not sure how to model the "integrating out a_i" part of the likelihood function, where
c_i (the random effect) = alpha0+alpha1y_i0+z_ialpha2+a_i, a_i~normal(0, sigma_a^2).
Could someone give me a hint on how to do this?
Thank you.

7 Comments

If you could upload a PDF of the paper, it would provide us a context. (Use the ‘paperclip’ or ‘staple’ icon to upload it.)
I’m not entirely altruistic. I learn interesting stuff.
Besides, Margaret’s doesn’t sound like a ‘do it for me’ Question.
@ starstrider @imageanalyst Thank you for your comments. Someone told me that these integrals are approximated using Gauss-Hermite quadrature.
I still don’t know what integrals. Please post the PDF of the paper you’re referring to. (My telepathic abilities aren’t working at all well this morning.)
Star, once you reach 25,000 reputation points they let you beta test the Mind Reading Toolbox. So far only Walter has it. Something to strive for though.
WOW! Cool! Something to strive for, definitely! Even better than being able to delete spam.

Answers (1)

No. How could we? Pretend you're looking at it from our point of view. Would you be able to answer that if you were us?

This question is closed.

Asked:

on 7 Jun 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!