Home  /  Resources & support  /  FAQs  /  When to use ltable versus sts list

What is the difference between sts list and ltable?

Title   When to use ltable versus sts list
Author William Sribney, StataCorp

The major difference between sts list and ltable is the actuarial adjustment. You should use ltable if you want the actuarial adjustment; otherwise use sts list.

Another difference is that ltable aggregrates the data, whereas sts does not. This means that the accuracy of ltable can be less than sts.

For example, at(0 12:60) with sts list gives accurate numbers; it’s just as if you read off the Kaplan–Meier curve at these values. There is no aggregation.

interval(12) with ltable, however, aggregates the data into these intervals. There can be loss of accuracy.