. Generate market observations from the above two equations using the following codes:

clear

set obs 1000

set seed 1732

gen T = uniform()*2+1

gen U = 2*uniform() -1

gen V = 2*uniform() -1

gen C = U + uniform() + 1

gen Q = 20-2/3*(T+C)+1/3*(U+2*V)

c 2021 by Yixiao Sun. This document may be reproduced and distributed for non-proÖt educational purposes

only