Professional Documents
Culture Documents
QUESTION 1
Answer:
A variable is a characteristic of the data being observed that may be assumed that more than one
of the set of values to which a numerical measure or a category from classification can be
assigned.
Examples of variables are: age , income , Weight, Occupation, Industry, Disease, etc.
For example if a person’s eye colour is a potential variable then it could have value as “Brown”
for one person and “blue” for another person.
1. Qualitative Variables:
Qualitative variables can also be called categorical variables. Qualitative variables consist
of values such as name or label.
The colour of a car or the breed of a dog can be some examples of categorical or
qualitative variable
● Polynomic variable:
A Polynomic variable is a qualitative variable with an order implied in the levels.
Examples of Polynomial variable are –
● Brand of PC
● Hair color
● Health (Poor, reasonable, good, or excellent)
There is clear order in these levels so health is in this case a qualitative ordinal variable.
2. Quantitative Variables:
Quantitative variables can also be called numerical variables. They represent a
measurable quantity.
We can take the population of a city or a country as an example of quantitative data.
● Continuous variable
When a value that a variable can take is not a countable or infinite number of possibilities
then it is a continuous variable.
Examples of continuous variables are –
1. Age
2. Weight
3. Height
4. Amount of income tax paid
For measurements we can stop at a standard level of granularity but nothing prevents us
from going deeper which leads to an infinite possibilities.
QUESTION 2
Variable 1 Variable 2
Amount Spent Age of Customer
per month (Rs) (years)
1200 18
850 22
740 28
590 38
340 33
450 28
890 19
260 18
610 23
350 18
1780 33
180 44
850 42
2050 34
770 25
800 22
1090 26
510 18
520 30
220 19
1450 33
280 22
1120 32
200 33
350 34
ANSWER 2A
As we can see from the above pie diagram that class 251-500 has the highest percentage
frequency with 6 samples.
ANSWER 2B
Descriptive statistics of age of customers
ANSWER 2C
Scatter diagram
Correlation between both the variables
As we can see from the above correlation table that both the variables have a very weak
or low correlation which is 0.1418.
QUESTION 3
ANSWER 3A
On using the given values of X1, X2 and X3 from the question,
X1 = Rs. 3500
X2 = Rs 1800
X3 = Rs 1300
ANSWER 3B
As we can see from the above table that the F value is less than F critical value
which means our null hypothesis is accepted.
This means that there is NO significant difference between the variables.
ANSWER 3C
As we can see from the above table that the t Stat value is more than t critical
two-tail value which means that our null hypothesis is rejected.
This means that there is a significant difference between both the variables.