Using Stata, this lesson shows: how difference in means test statistics can be added to summary statistics; how to define survey design and weights (specifically for RALS, but applicable to other survey datasets) and use in analysis; the use of lincom to test difference of means with survey data; how to view estimation results as a matrix; how to assemble customised output into a table; and, how to write output to a text file for use in other applications (e.g. Excel).