You are on page 1of 1

ST2137 Computer Aided Data Analysis Semester I, 2010-2011

Tutorial 7
1. The number of pages in magazines devoted to advertisements varies widely from magazineto-magazine and from issue-to-issue within the same magazine. Advertising expenditures, and therefore the number of advertising pages in magazines, tend to be the highest during periods of economic growth. The data in the le weeklies.txt (free format with comma as delimiter) gives the number of advertising pages in the current issues of 19 weekly magazines and the number of advertising pages in the same issue of the previous calendar year. (a) At the 5% level of signicance, is there evidence of a dierence in the mean number of advertising pages in the current issues compared to the previous year? Set up a 95% condence interval estimate of the mean dierence in the number of advertising pages in the current issues compared to the previous year. Use SAS. (b)What assumptions did you make? Check these assumptions. (c) Repeat (a) and (b) using R. (d) Repeat (a) and (b) using SPSS. 2. A exible working hour program permits employees to design their own 42-hour work week to meet their personal needs. The management of a large manufacturing rm may adopt a extime program for its administrators and professional employees, depending on the success or failure of a pilot program. Ten employees were randomly selected and given a questionnaire designed to measure their attitudes toward their jobs. Each was then permitted to design and follow a extime workday. After six months, attitudes toward their jobs were again measured. The resulting attitude scores are given in the data le extime.txt(free format with space as delimiter). The higher the score, the more favorable the employees attitude toward his or her work. (a) Use a nonparametric test procedure in SAS to evaluate the success of the pilot extime program. (b) Repeat (a) using R. (c) Repeat (a) using SPSS. 3. The retailing manager of a supermarket chain wants to determine whether product location has any eect on the sale of pet toys. Three dierent aisle locations are considered: front, middle, and rear. A random sample of 18 stores is selected with 6 stores randomly assigned to each aisle location. The size of the display area and price of the products are constant for all stores. At the end of a one-month trial period, the sales volumes (in thousands of dollars) of the product in each store were recorded in the le locate.txt (free format with space as delimiter). (a) At the 5% level of signicance, is there any evidence of a signicant dierence in average sales among the various aisle locations. Use SAS. (b) If appropriate, which aisle locations appear to dier signicantly in average sales? Use SAS. (c) Repeat (a) to (b) using R. (d) Repeat (a) to (b) using SPSS.

You might also like