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 on April 23, and its replacement, is already up and running.

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

st: Translating SPSS syntax into STATA

From   Stephen LeRoux <>
To   "" <>
Subject   st: Translating SPSS syntax into STATA
Date   Fri, 10 Aug 2012 12:15:20 +0000

I need some help understanding the following SPSS syntax in order to translate it into STATA syntax.

I am using STATA 12

SPSS syntax:

COMPUTE lhsq2 = (lhe - lhe_1)**2.

The variable lhe is the log of hourly pay. My data is one quarter of the UK Labour Force Survey.

I don't know what the lhe_1 means. 

Any help would be much appreciated,


Stephen le Roux
National Institute of Economic and Social Research
2 Dean Trench Street, Smith Square, London
SW1P 3HE United Kingdom
Tel no: +44 (0)207 654 1946
Follow me on Twitter:!/stephleroux


*   For searches and help try:

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