Tuesday, 31 July 2007

pr.probability - Likelihood function for sequential random variables

Context



Consider the following sequential data generating process for Y1, Y2, Y3. (By sequential I mean that we generate Y1, Y2, Y3 in sequence.):



Y_1 = X_1^' beta + epsilon_1



Y_2 = X_2^' beta + epsilon_2



Y_3 = X_3^' beta + epsilon_3



where,



X3=x3,1 if y1 y2 > 0,



OR



X3=x3,2 if y1 y2 < 0,



epsiloni, (i = 1, 2, 3) are i.i.d N(0,sigma2),



beta is a px1 vector and



X1, X2, and X3 are vectors of appropriate dimensions.



Question




Suppose we observe the following sequence: {Y1 = y1,Y2 = y2, X3 = x31, Y3 = y3} and wish to estimate the parameters beta and sigma. Is the likelihood function given below the correct function?



L( beta, sigma | y1, y2, y3, x1, x2, x31 ) = ( f(y1|x1,beta,sigma) f(y2|x2,beta,sigma) f(y3|x31,beta,sigma) ) / Prob( Y1Y2>0 )




Thanks



EDIT: Fixed some typos and notation in light of comments by Bjørn.

No comments:

Post a Comment