Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: ST: Calculating first differenced correlations


From   "White, Nicole (UMSL-Student)" <nw883@mail.umsl.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: ST: Calculating first differenced correlations
Date   Tue, 7 Dec 2010 22:59:40 +0000

Hello--
 I am trying to figure out how to calculate the correlation of first differences for two variables, poverty and violence rates, for the years 1993 to 2004.  I assume that I need to identify my dataset as a time series, so I entered the tsset command and identified the time variable as years, 1993 to 2004.  However, I do not know what command or formula to use to generate the first difference for these rates.  Can anyone offer some guidance?  Thanks
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index