Programs of Stata and R in Metrics Class