/* this checks the msr and invoice data, to figure out fishy values*/ /* created by TLM 8.16.04*/ /* modified */ clear set mem 100m #delimit; foreach i of numlist 1(1)49 {; use "C:\Documents and Settings\b1clmir\My Documents\Hellerstein\edmunds\july-august\shw quantity & smoothedtmv3.dta", clear; quietly separate smoothinvoice, by(make); quietly separate smoothmsr, by(make); quietly drop if smoothinvoice`i'==.; sort mydate; graph twoway (line smoothinvoice`i' mydate) (line smoothmsr`i' mydate), by(model); graph export "C:\Documents and Settings\b1clmir\My Documents\Hellerstein\edmunds\checking data\smooth invoiceandmsr`i'.eps", as(eps) preview(off) replace; };