You are on page 1of 2

LOVELY PROFESSIONAL UNIVERSITY

Course Code : GEN 730
Test 1 (Academic Task 1)
1. The data set 1 contains the information used for conducting survey. Please change the variables as per the
instructions given below:
Codebook for data Set 1
Full variable name SPSS variable

name

Coding instructions

Sex

sex

1 = males; 2 = females

Marital

marital

1 = single; 2 = steady relationship;
3 = living witha partner; 4 = married for the first time;
5 =remarried; 6 = separated; 7 = divorced; 8 =widowed

Children

child

1 = yes; 2 = no

Highest level of education

educ

1 = primary; 2 = some secondary;
3 = completed high school; 4 = some additional
training;5 = completed undergraduate;
6 = completed postgraduate.

Major source of stress
= children;

source

1 = work; 2 = spouse or partner; 3 =relationships; 4
5 = family; 6 = health /illness; 7 = life in general

Do you smoke?

Smoke

1 = yes; 2 = no

Optimism Scale

op1 to op6

1=strongly disagree , 5=strongly agree

Mastery Scale

mast1 to mast7

1=strongly disagree , 4=strongly agree

PANAS Scale

pn1 to pn20

1=very slightly, 5=extremely

Life Satisfaction Scale

lifsat1 to lifsat5

Perceived Stress Scale

pss1 to pss10

Self esteem Scale

sest1 to sest10

1=strongly disagree , 7=strongly agree
1=never, 5=very often
1=strongly disagree , 4=strongly agree

Marlowe-Crowne Social
Desirability Scale

m1 to m10

1=true, 2=false

pc1 to pc18

1=strongly disagree, 5=strongly agree

Perceived Control of Internal
States Scale (PCOISS)

Call this new variable pcemot. minimum. Is this association significant? . across the three age groups (agegp3) (c) boxplot of scores on the Total Negative Affect scale (tnegaff) for males and females C) Create new total subscale scores for the Perceived Control of Internal States scale. add items pc1 to pc6. living with partner. divorced. These will be coded 2.   In the first group include people who are not in a relationship (single. separated. Check the descriptive statistics (mean. married for the first time. (a) To calculate the Emotion subscale. These will be coded 1.2. The new variable will only have two values. (b) To calculate the Thoughts subscale. (a) What is the mean age of the sample? What is the age range of the sample? (b) What is the percentage of males and females in the sample? Did any of the sample fail to indicate their gender? (c) What percentage of the sample were smokers? B) Obtain the following graphs. indicating whether a person is or is not in a relationship. A) Answer the following questions concerning the variables included in the Data set1 data file. Call this new variable pcphys. standard deviation. Call this new variable pcthou. (c) To calculate the Physical subscale. add items pc7 to pc12. add items pc13 to pc18. remarried). D) Create a new variable (relship) from the variable in the data file (marital). Using the same data file explore the association between education level and smoking using cross tabulation. In the second group include people who are in a relationship (steady relationship. maximum) for your new subscales. 3. (a) histogram of scores on the Total Self-esteem scale (tslfest) (b) bar graph of scores on the Total Self-esteem scale (tslfest) for males and females (sex). widowed).