Can you solve it please.
Q1: Defining variables and entering data. Switch to the Variable View and define the five variables listed in the table below. Use numeric variables in SPSS for scale.
Variable name Data type Surname nominal Gender Nominal - Female and Male Age scale Income scale Smoker Nominal - Smoker and Non-smoker
2. The table below shows the data which you have collected from five patients who took part in a pilot study for the clinical trial. Switch to the Data Editor and enter the data on these five patients. Remember to use numeric codes where necessary.
Surname Gender Age Income Smoker
Norah Female 32 46000 Non-smoker
Ahmed Male 33 58000 Non-smoker
Ali Male 38 47000 Smoker
Fatima Female 51 55000 Non-smoker
Musa Male 44 28000 Non-smoker
Q2: The following data represents the age of 22 patients in a certain clinic 25, 35, 18, 25, 35, 18, 21, 25, 35, 19, 21, 25, 18, 25, 19, 18, 21, 25, 35, 18, 12, 13. Use SPSS to obtain the following:
a - Frequency distribution of the variable age [Analyze - descriptive statistics - frequency table]
The mean, median, mode, standard deviation, minimum value, maximum value [Analyze - descriptive statistics - descriptive]