St.
Lawrence College
Tribhuvan University
Faculty of Humanity & Social Science
“PROBABILITY & STATISTICS”
Lab Assignment
As required for the partial fulfilment of the
BCA 3rd Semester
Submitted by: Submitted to:
Arpan Trital
Roll No: Lecturer, BCA
Table of Content
Question 1:...............................................................................................4
Enter the following data into the IBM SPSS statistics directly or
you can first enter the data into MS Excel and then read the MS
Excel data into the SPSS.....................................................................4
Question 2:...............................................................................................5
Compute summary measure (mean, median, mode, standard
deviation, variance, minimum value, maximum value, skewness
and kurtosis) of age, bmi, bp_dy, bp_sy............................................5
Question 3:...............................................................................................7
Define all the labels of each categorical variable gender,
occupation, lit, smoke and alcohol......................................................7
Question 4:...............................................................................................8
Generate frequency distribution for each categorical variable
gender, occupation, literacy status, smoke and alcohol....................8
Question 5:...............................................................................................9
Generate new variable age cat from the variable age with code 1
for 60-69, 2 for 70-79 and 3 for >=80 years. Label these all codes.
Then prepare a frequency distribution of new variable age cat......9
Prepare boxplots of Bim, age separately......................................9
Prepare boxplots of bp_dy and bp_sy in a single graph...........10
Prepare boxplot of Bim over gender...........................................10
Prepare boxplot of Bim over alcohol..........................................11
Prepare a pie-chart of smoke.......................................................11
Question 6:.............................................................................................12
Compute correlation between experience and performance. Also
fit a regression line of performance on experience. The data as
follows.................................................................................................12
Question 7:.............................................................................................13
The following is the data related to the cost of computer (in
thousand rupees) of three types of computer C1, C2 and C3. Test
whether the average cost per computer is significantly different
among three types of computer at 5% level of Significance? Apply
one way NOVA in SPSS rearranging the given data in SPSS data
editor window.....................................................................................13
Question 1:
Enter the following data into the IBM SPSS statistics directly or you can first enter the
data into MS Excel and then read the MS Excel data into the SPSS.
Answer
Question 2:
Compute summary measure (mean, median, mode, standard deviation, variance, minimum
value, maximum value, skewness and kurtosis) of age, bmi, bp_dy, bp_sy.
Answer
Question 3:
Define all the labels of each categorical variable gender, occupation, lit, smoke and alcohol.
Answer
Question 4:
Generate frequency distribution for each categorical variable gender, occupation, literacy
status, smoke and alcohol.
Answer
Question 5:
Generate new variable age cat from the variable age with code 1 for 60-69, 2 for 70-79 and
3 for >=80 years. Label these all codes. Then prepare a frequency distribution of new
variable age cat.
Answer
Prepare boxplots of Bim, age separately.
Answer
Prepare boxplots of bp_dy and bp_sy in a single graph.
Answer
Prepare boxplot of Bim over gender.
Answer
Prepare boxplot of Bim over alcohol.
Answer
Prepare a pie-chart of smoke.
Answer
Question 6:
Compute correlation between experience and performance. Also fit a regression line of
performance on experience. The data as follows.
Answer
Question 7:
The following is the data related to the cost of computer (in thousand rupees) of three types
of computer C1, C2 and C3. Test whether the average cost per computer is significantly
different among three types of computer at 5% level of Significance? Apply one way
NOVA in SPSS rearranging the given data in SPSS data editor window.
Answer