Stata: Data Analysis and Statistical Software
   >> 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
Date September 1996

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.

Bookmark and Share 
FAQs
What's new?
Statistics
Data management
Graphics
Programming Stata
Mata
Resources
Internet capabilities
Stata for Windows
Stata for Unix
Stata for Mac
Technical support
Like us on Facebook Follow us on Twitter Follow us on LinkedIn Google+ Watch us on YouTube
Follow us
© Copyright 1996–2013 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index   |   View mobile site