Project

General

Profile

Support #486

BHPS education leaving age variables

Added by Stefanie Jane about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Data analysis
Start date:
01/14/2016
% Done:

100%


Description

Hi, I'm trying to create a variable for bhps that gives an overall 'education leaving age' which takes account of school leaving age (scend) or further education leaving age (feend) depending on which is relevant (i.e depending on whether respondent went to further education, whether respondent has left school or FE) and alternatively gives a different value(for example 100) if the respondent is still in education (either school or FE), in order to ultimately create a 'number of years out of education' variable.

I am having trouble getting my head around the syntax to use because of the way the bhps variables are set up. I have tried numerous syntaxes ad get very different results each time. Could you please suggest correct syntax to use here. I am in a bit of an urgent situation as need to produce some regression analyses asap.

Thanks and best wishes,
Stefanie

Also available in: Atom PDF