University of Jordan Department of Mathematics Home Work 1 Actuarial Packages Summer 2006-2007 Problem 1: For each of the following examples of data, determine the type of variable a- the month of highest sales for each firm in a sample b- the weekly closing price of gold throughout the year c- the size of soft drink (small, medium, or large) ordered by a sample of customers d- the amount of crude oil imported monthly by the United States for the past 10 years Problem 2: The following represent the sales of a market in thousands of dollars. Month Sales Month Sales Month Sales January 65 May 72 September 91 February 61 June 80 October missing March 70 July 88 November 68 April 74 August 93 December 84 a- Enter the above data and save it in SPSS file b- Use graphical representation to show the change of sales through the time c- Add a new variable representing the four seasons, (Jan.-Mar.)=Winter, (Apr.Jun.)=Spring, (Ju.-Sept.)=Summer, (Oct.-Dec.)=Autumn. d- Use the graphical representation for sales averages of the fours seasons. Problem 3: A growing concern at universities and colleges across North America is the number of professors who will retire in the next 5, 10, and 15 years. To examine the problem, a statistics professor took a random sample of 1000 professors and recorded their ages. These data are stored in file XR01-3. Assuming that professors will retire at age 65, use graphical method to discuss the retirement problem facing universities during the next 15 years. Problem 4: The file Pulse.dat contains data saved in the form of text. It contains the following variables: Pulse, Smokes (Is the person smoking? (1=Yes, 2=No), Sex (1=Male, 2=Female), Activity (1=little, 2=moderate, 3=a lot). a- Read and save this file and enter the value labels for the variables b- Find the frequency distribution for the variable Activity. What is the percentage of persons doing high practice? c- Find the joint frequency distribution for Activity and Sex. Compare between percentage of persons have high practice from males and those from females. d- Use appropriate graphical representation to show the joint frequency distribution for Activity and Smokes Problem 5: Use the file world95.sav, which is saved in SPSS a- Find the number of Middle East countries in this file (Region=Middle East). b- Choose the Middle East data (Region=5) to find - Plot Stem-and-Leaf for the variable Literacy, that represents the percentage of population (not illiterate). - Plot Bar Chart for the average of female age (lifeexpf) for each country in this region. c- Use split file in SPSS to obtain the frequency histogram for the average of male age (lifeexpm) for each part of the variable Region. Problem 6: Transform the bivariate frequency distribution into raw data in SPSS Educational Level Graduate Undergraduate Smoking Yes 35 80 No 130 175 Plot stacked Bar Chart for the bivariate (smoking, educ. Level). 1