ass4 - STAT1303A Data Management Due Date: 3rd December,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
STAT1303A Data Management Assignment 4 Due Date: 3rd December, 2009 1. The data set DIAG contains variables GENDER, GROUP and X. There are 2 genders and 5 groups in the data set. For the following, group similar variables into an array when possible. (a) Find the mean of X for di/erent combinations of GENDER and GROUP. Save the mean values into a new data set MDIAG. all group means. (i) Create a new data set MDIAGT from MDIAG. The new data set contains 2 observations and 6 variables (GENDER, M1 to M5) which are the gender and the mean of X for 5 di/erent groups for each gender. (ii) Combine the data set MDIAGT with DIAG into DIAG1 according to the gender. Create 5 new variables DX1 to DX5 by subtracting the group means from X. 2. The data set FAMILY contains the family income, expense and debit status of a number of families from 1990 to 1999. For the following, group similar variables into an array when possible. (a) Convert the data set to FAMILYT which contains the only variables FAMID,
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

ass4 - STAT1303A Data Management Due Date: 3rd December,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online