Professional Documents
Culture Documents
Data Analytics Using R: Demographics of Surveys
Data Analytics Using R: Demographics of Surveys
DEMOGRAPHICS OF SURVEYS:
GENDER
MALE FEMALE
51.0% 46.5%
The survey has representation from both the genders so the information and
opinions in this survey are not biased to one group
1
>50 11-15 21-30 31-40 41-50 16-20
AGE GROUP
The respondents in the survey are mostly from the age 21 to 50 years which accounts for
almost 70% this can be helpful as these two age group people travel most
The respondents from age group between 11 to 15 very less and in my opinion, this is not
going to effect quality of analysis because this age group of people don’t have driving
license and most of them might not drive any kind vehicle expect bicycle so they might
not have the firsthand experience of traffic situations on roads
The respondents from the age group of 31-40 are at low side so this might affect analysis
report as the weightage of these age group people will be less
MYSORE NON-MYSORE
72% 28%
The respondent includes 72% of Mysore people and 28% non-Mysore people
As the people from Mysore have more representation in the survey this will help in getting
better information as people staying in Mysore will have better idea about the traffic situation
in both during festival and non-festival times
2
1-3 10-12 >12 4-6 7-9
The survey consists of 62% respondents living the Mysore from 4 to 9 years a this will
help us know about if the Mysore traffic problems has improved and worsen over the
years.
Around 20% of respondents are one who are living in the Mysore for 10 to 12 years this
will give us access to the information regarding developments done by Mysore traffic
authorities and increase in the level of Traffic
PLACE OF WORK
Ap Bangalore Bellary Chennai Hassan Hunsur Kerala Kolkat Kr nagar
a
6.5% 3.5%
3 6.5% 10.0%
The survey consists of respondents from different regions and there are respondents who are
also from metropolitan cities this will help us get insight on traffic situation in Mysore
compared to other cities and region
EDUCATION QAULIFICATION
BA B.COM BSC MBA MCOM MSC PHD PUC
17.0% 8.5% 8.0% 8.0% 8.5% 8.5% 17% 16.5%
Summary statistics:
group: Y
vars n mean Sd median trimmed mad min max range skew kurtosis se
X1 1 144 4.74 2.85 4 4.39 1.48 0 17 17 1.4 2.41 0.24
4
From the table we can infer that the people who are non-Missourian thinks that on
average there around 5 accidents during Dussehra the skewness is 0.49 which means
that the data is almost symmetric and
The boxplot shows that the 50% of data points lie between 3 to 7 and outliers here are
11 and 16 and we can conclude that the people who from not Mysore on average thinks
there are 4 to 5 accidents during Dussehra
5
144 4.74 2.85 2.41 4 4.39 1.48 0 17 17 1.41
As you can see in the above box plot the 50% of the data lies between 3-5 and the
outliers are between 9 to 16
To conclude we can say that the on average there are 3-6 accidents during Dussehra
6
Average distance Female Male sum
21to30 8 11 19
31 to 40 5 6 11
41 to 50 1 6 7
5 to 10 3 5 8
51 t0 60 5 2 7
11 to 21 24 24 48
From the above table we can infer that around 48% of the respondents travel 11 to 21
km on average ,24% of the male and 24% female comes under this range
The respondents who travel from bus and two wheelers are around 77% and as the
opinion of people travelling from different modes of travel are different it difficult to
infer any concrete conclusion from this table
parking facilities adequate near the places of visit and other traffic measures being
taken by the police
7
AGREE 6 0.5 3.0 3.0 1.5 1.5 15%
NETURAL 12.5 0 4.0 3.5 2.5 2.5 25%
DISAGREE 10 3.0 4.5 3.0 1.0 1.0 25%
STRONGLY 6 3.0 6.5 9.0 1.0 1.0 30%
DISAGREE
37.5 6.5% 19.0% 18.5% 6.0% 6.0% 100%
%
SUM
From the table we can infer that respondent’s opinion on parking facility is more of
neutral or disagreement by this we can say traffic authorities has provide proper
parking space which might help to improve traffic conditions
50% of the respondents who visited place d finds that parking space was not adequate
More than 50% of respondent who visited place b disagree with parking facilities being
adequate
8
From the boxplot we can infer that the 50% of the respondents who strongly agree with
the fact that main roads should be made one way thinks that there on average 3-7
accidents during Dussehra
We can say that though making roads one way don’t have high impact accidents during
the festival season we can say there some attention needed towards this aspect
Frequency table traffic is diverted/Managed properly by the police and more accidents
DIVERSIO disagree
N
STRONGLY 1% 0.5% 1.5% 2% 5%
AGREE
AGREE 2,5% 6.5% 8.5% 4.5% 22%
NETURAL 1.5% 9.0% 10.5% 5% 26%
DISAGREE 1.0% 8.0% 13.5% 7% 29%
STRONGLY 3% 2.0% 5.5% 7% 17.5%
DISAGREE
sum 9.0% 26.0% 39.5% 25.5% 100%
To know the average distance a Mysore and travels per day-during both the
times.
DUSSERA
MEAN=25.17
SKEW=1.76
9
From the above table we can infer that the average distance travelled by Mysore people
during non-festival time is 25.17
The skewness is 1.55 which states the distribution is positively skewed and more people
are on the left side of the average
The box plot shows that 50% of the people travel 15-30 km during non-festive time
10
From the above table we can infer that the average distance travelled by Mysore people
during festival time is 26.42
The skewness is 1.47which states the distribution is positively skewed and more people
are on the left side of the average
The box plot shows that 50% of the people travel 15-32 km during non-festive time
FROM THE ABOVE INFO WE CAN TELL THAT THERE IS NOT MUCH
DIFFERNCE BETWEEEN THE AVERAGE DISTANCE TRAVELLED BY
MYSOREAN DURING DUSERRA AND NON_DUSERRA
11
Lack of efficient traffic diversion
To specifically know and report the opinion of auto drivers, bus drives and other heavy
vehicle drivers on the problems they face on
Most of the drivers park their vehicle in empty place
Most of the drivers think that the traffic is diverted/Managed properly by the police
Most of the drivers think that the parking facilities near the palace grounds are not
peaceful
Most of the drivers think that the parking facilities adequate near the places of visit
and other traffic measures being taken by the police are efficient
Most of the drive find that the parking arrangements made are not adequate during
Dussehra program
To know the opinions of the Mysore Ans on the measures taken by Police to prevent
Most of the Mysore people park their vehicle in their home or empty places they
don’t have a parking place provided by the govt
Few measures must be taken to improve the parking facilities adequate near the
places of visit and other traffic measures being taken by the police
parking arrangements at the program venue can be improved
traffic diversion and management by the police can be improved
traffic authorities should not allow the traffic to pass through the venue, to avoid
problems
12
Dependent variable: Average. Accidents dasara
To predict the average accidents during duresra with the help of other independent
variables
To explain the variation in average accidents based on the variation in one or more other
variables (called the independent variables).
REFRENCE DUMMY VARIABLE:
PUC
PROFESSOR
FEMALE
MYSORIAN MODEL:1
Travel By other
means of transport Residual standard error: 2.99 on 134 degrees of freedom
Accompanied by
Multiple R-squared: 0.3677, Adjusted R-squared: 0.06092
others
F-statistic: 1.199 on 65 and 134 DF, p-value: 0.1899
BUSY PLACE
DF Here the multiple r-square is low the model is significant
VISIT PLACE
Only 5 variables are significant to model
NO
Visit dasara prog BULIDING MODEL:2
N
VISIT YUVA Building the model
DASAR NO Dependable variable: Average. Accidents dasara
INDPENDENTENT VARIABLE:
visit dasara_yes
visit yuva dasra_yes
park vehicle near the shop
parking facility adequate
traffic does not allow
13
Multiple R-squared: 0.06375, Adjusted R-squared: 0.03962
F-statistic: 2.642 on 5 and 194 DF, p-value: 0.02456
Only intercept and visit to Dussehra variable are significant for equation and the
overall model is also not significant
o Will there be any difference in the gender with respect to average vehicle speed?
Chi-square test
Alpha=0.05
Contingency table
25_35 46_55 56_65 66_75
F 68 9 13 3
M 66 10 20 6
MF 2 0 3 0
H0=There is no association
Ha=there is significant relationship
data: g_m
X-squared = 8.4613, df = 6, p-value = 0.2062
As the p_value is greater than alpha we accept null hypothesis
ANOVA TEST
Null hypothesis: There is no significant between the gender and the average vehicle
speed
#Alternative: There is a significant difference
#Level of significance=5%
Df Sum Sq Mean Sq F Value PR(>F)
tra_s$Gender 2 1089 544.3 2.775 0.0648.
14
Residuals 197 38635 196.1
p>alpha
there is no significant difference
Will there be any difference between different professions with respect to common
parking sufficient?
Null hypothesis: There is no significant between the PROF and common parking
sufficient
#Alternative: There is a significant difference
#Level of significance=5%
Can we use conjoint analysis? If yes, then present the same? If no, then explain what
additional data you need? Present the design in detail.
YES, conjoint can be used and send it to people of Mysore and rate their preference
regarding the arrangements required for the Dussehra program
MODEL
15
`features LEVE LEVEL LEVE LEVE LEVE
L1 2 L3 L4 L5
average 35 kms 50 kms .65-70
speed that kms
the
tourists’
buses
must
travel
during
these days
YES NO
Businesspe
ople must
provide
parking
facility
auto YES NEUTR NO
drivers AL
must be
more
careful
during
Dasara
16
Road, Ur’s
Road,
Sayyagi
Rao road
must be
made one-
way during
Dasara
No of combination or profiles=162
Profile Avg Business Auto Lorrie Main’s
speed People drivers and roads
buses Must must be other Must
should provide careful Vehicles Be
follow parking Should blocked
not be
allowed
Profile1 1 1 1 1 1
Profile2 2 2 2 2 2
Profile3 3 2 3 3 3
Profile4 1 2 3 2 3
Profile5 3 2 1 3 1
Profile6 2 1 3 1 2
17
CORRELATION BETWEEN VARIABLES
18
Who are the stakeholders for the given situation and what value you can add for them
through the analysis?
The traffic authorities, people of the Mysore, shop owners are the stakeholders
By analyzing the data, we can give suggestion to the traffic authorities regarding the
problems faced by Mysore people and what the other things that cause traffic jams and
accidents
This will help traffic authorities to manage the traffic well in future and properly
organize and manage their human resource and other resource effectively
For example, in this analysis we found that traffic diversion and lack of government
parking facility is one of the issues. Also, they can guide and spread awrness about the
traffic measures that should be taken by the people of Mysore to have less accidents and
less traffic jams
CONCULSION:
From the analysis conducted we can conclude that there are few measures which can be
taken to manage the traffic like providing adequate parking place, providing
government parking places, common parking places and selecting appropriate place to
accommodate all the visitors and diverting the traffic efficiently
Conjoint analysis model is created, and this model can be used to build profiles and
cand sent it as questioner too mysore people and take measures which will make the
authorities control traffic better
19