# Assignment 3

We conduct a survey and collect information of 20 people about their age, gender, education and work experience. Calculate the measure of central tendency, measure of dispersion and draw the graph of given data. Formula used: 1. Measures of central tendency: Central tendency is a single value derived by some mathematical or logical formula which could represent the whole data in itself. Three of its widely used types are: a) Mean: - The mean is said to be the average of given data. It is computed as the

sum of all the observed outcomes from the sample divided by the total number of events. Mean is most commonly used measure of central tendency. We use x̄ as the symbol for the sample mean. In formula it can be written as,

where n = sample size x = observed value x̄ = mean

b) Median: - The median of the data is the middle value of the data set if the observations are arranged in some order (ascending or descending). Median of a variable x is represented either as or as exact middle value in the For an odd number (n) of observations, there is an

n +1 position. However, for an even number (n) of 2 n n and +1 positions and the average 2 2

observations, there are two middle values in the

of these two values will be said to be the median of whole data. Median is used for qualitative purposes (to see if given data is up to some satisfaction level or not).

c) Mode: .Standard deviation (σ) is defined as the square root of the variance. where Standard Deviation: .Values of dispersion: dispersion tells the deviation of other values from the mean value a) Variance: . graduate and professional degree. It is the difference between an expected and actual result. It is denoted by σ2. female values for gender were valued as: Male=1 Female=2 Education: We had three attributes of education namely post graduate. 2.the variance is a measure of how far a set of numbers is spread out. The value which has maximum occurrence in given data is its mode. Column description: Age: The age group was given in intervals for which we gave relative values as: 30-40 = 1 25-30 = 2 20-25 = 3 Work experience: More than 20 years= 1 10 to 20 years=2 5 to 10 years=3 1 to 5 years=4 Gender: The male. Their combinations were evaluated as: Post graduation=1 Graduation=2 Post graduation with professional degree=3 Graduation with professional degree=4 .The mode of a set of data is the number with the highest frequency.

562 .0 .0 15.0 85.0 100.0 100.0 15. Deviation Variance Valid Missing 20 0 2.00 2.00 .0 15.0 70.Analysis: Age: Statistics age N Mean Median Std.0 100.0 70.0 15.316 Age Frequency Percent Valid Percent Cumulative Percent 30-40 Valid 25-30 20-25 Total 3 14 3 20 15.

.

55 2.0 50.682 Experience Frequency Percent Valid Percent Cumulative Percent >20 10-20 Valid 5-10 1-5 Total 1 10 6 3 20 5.0 .0 55.0 50.0 15.0 100.0 5. Deviation Variance Valid Missing 20 0 2.Experience: Statistics Experience N Mean Median Std.0 85.0 5.0 30.0 100.0 15.826 .0 30.0 100.00 .

Gender: Statistics Gender N Mean Median Valid Missing 20 0 1.00 .20 1.

0 80.00 .90 3.0 100.0 20.0 Education: Statistics Education N Mean Median Valid Missing 20 0 2.Gender Frequency Percent Valid Percent Cumulative Percent male Valid female Total 16 4 20 80.0 100.0 20.0 80.0 100.

education Frequency Percent Valid Percent Cumulative Percent post graduation graduation post graduation with Valid professional degree graduation with professional degree Total 3 1 11 15.0 100.0 .0 20.0 15.0 100.0 100.0 5 20 25.0 5.0 25.0 55.0 75.0 15.0 5.0 55.

826 and . Values of mean and median were . Mean and median were found out to be 2. gender. Next experience was studied which was a categorical data type. education and work experience.562 and variance was . Central tendency and dispersion for the data was calculated along with their graphs. Standard deviation was found to be .0 which illustrated people with post-graduation with professional degree were dominant in the given data. Median value of 2 made it even clear that average experience lies in 10-20 years. The result was interpreted as: • • First we made analysis on age of those 20 people.90 and 3.682.2 and 1 respectively clearly stating that it was a male dominant analysis. Lastly we studied education which of ordinal data type. Mean was found out to be 2. Median was also 2 which signify the same thing as mean. The mean of age was found to be 2 which imply that people were aged 25-30 on average.316. • • . The study of gender (nominal data) in the data gave mean and median of 1.55 which show average experience lies in range of five to twenty years.Interpretation: we have collected the data of 20 people regarding their age.