Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Calculating first differenced correlations


From   "White, Nicole (UMSL-Student)" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Calculating first differenced correlations
Date   Tue, 7 Dec 2010 22:37:42 +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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index