{smcl} {* 02oct2006}{...} {hline} help for {hi:acf} {hline} {title:Calculate and plot autocorrelation function for longitudinal data} {p 8 27} {cmdab:acf} {it:varname} {title:Description} {p}If you have not read help for {help xt}, please do so now. {p} {cmd:acf} calculates and plots the autocorrelation function for the variable {it:varname} using the time variable in {help tis} and the id variable {help iis}. See Diggle, Liang and Zeger (1994, Ch.3). {title:Options} None. {title:Remarks} None. {title:Author} {p} Paul Rathouz {title:Also see} {p 0 19}On-line: help for {help xt}, {help ksm}, {help variogram} {p_end}