code

Code used in class.

The file Readme_Porter2.txt describes the homework for Thursday 12 October.

ScriptOct19_v0.m contains code written in class 19 Oct.

Homework for 9 November in BLP_Homework2.zip.

Homework for 23 November in BLP_Homework3.zip. We will talk about this in class on 16 November, and also on 23 November.

Additional homework for 23 November: calculate new equilibrium prices for the counterfactual experiment that all products are owned by the same firm.

To solve the nonlinear system of equations given by the FOCs, see ClassCodeNov9.zip. (This can be done without providing analytical derivatives of the equations.)