modified mathpnl.dta from Wooldridge (2000)