Hi,
Recently, I started using the BLP (Berry-Levinsohn-Pakes) code which is written by Vincent(2015) in Stata. The reference to the Stata manual is :Vincent, D. W. (2015). The Berry–Levinsohn–Pakes estimator of the random-coefficients logit demand model. Stata Journal, 15(3), 854-880.
In the ado-file (http://fmwww.bc.edu/repec/bocode/b/blp.ado) in lines 942-944 there are variables generated like "delta" and "u". I want to extract the mean utility variable ("delta" in the code), since the original code does not store this variable, so I have no idea how to extract "delta", so I want to ask does anybody know how to change the "blp" dofile to extract "delta"?
Could you please help me in modifying the Ado file so that I can ask Stata to store the above variables like it does for the coefficient vector.
Thanks very much!!
Recently, I started using the BLP (Berry-Levinsohn-Pakes) code which is written by Vincent(2015) in Stata. The reference to the Stata manual is :Vincent, D. W. (2015). The Berry–Levinsohn–Pakes estimator of the random-coefficients logit demand model. Stata Journal, 15(3), 854-880.
In the ado-file (http://fmwww.bc.edu/repec/bocode/b/blp.ado) in lines 942-944 there are variables generated like "delta" and "u". I want to extract the mean utility variable ("delta" in the code), since the original code does not store this variable, so I have no idea how to extract "delta", so I want to ask does anybody know how to change the "blp" dofile to extract "delta"?
Could you please help me in modifying the Ado file so that I can ask Stata to store the above variables like it does for the coefficient vector.
Thanks very much!!