1<!DOCTYPE html> 2<html lang="en-US"> 3 <head> 4 <meta name="google-site-verification" content="_AlI1cFOyF0n2ca6he8Lb9Ln1g2TxdE0zdS07QHyT5s" /> 5 <meta charset="utf-8"> 6 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 7 <meta name="viewport" content="width=device-width, initial-scale=1"> 8 9<!-- Begin Jekyll SEO tag v2.8.0 --> 10<title>DS200:Research Methods | Aditya Rastogi, PhD</title> 11<meta name="generator" content="Jekyll v3.10.0" /> 12<meta property="og:title" content="DS200:Research Methods" /> 13<meta property="og:locale" content="en_US" /> 14<meta name="description" content="Post Doctoral Researcher, Department of Neuroradiology Universitätsklinikum Bonn, Germany PhD, Medical Imaging Group Department of Computational and Data Science Indian Institute of Science B.Tech, Mechanical Engineering Delhi Technological University 2012-2016" /> 15<meta property="og:description" content="Post Doctoral Researcher, Department of Neuroradiology Universitätsklinikum Bonn, Germany PhD, Medical Imaging Group Department of Computational and Data Science Indian Institute of Science B.Tech, Mechanical Engineering Delhi Technological University 2012-2016" /> 16<link rel="canonical" href="https://adityarastogi2k12.github.io/DS200/module4/" /> 17<meta property="og:url" content="https://adityarastogi2k12.github.io/DS200/module4/" /> 18<meta property="og:site_name" content="Aditya Rastogi, PhD" /> 19<meta property="og:type" content="website" /> 20<meta name="twitter:card" content="summary" /> 21<meta property="twitter:title" content="DS200:Research Methods" />
22<script type="application/ld+json"> 23{"@context":"https://schema.org","@type":"WebPage","description":"Post Doctoral Researcher, Department of Neuroradiology Universitätsklinikum Bonn, Germany PhD, Medical Imaging Group Department of Computational and Data Science Indian Institute of Science B.Tech, Mechanical Engineering Delhi Technological University 2012-2016","headline":"DS200:Research Methods","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://adityarastogi2k12.github.io/images/aditya_pic.jpg?raw=true"}},"url":"https://adityarastogi2k12.github.io/DS200/module4/"}</script>
23 24<!-- End Jekyll SEO tag --> 25 26 <link rel="stylesheet" href="/assets/css/style.css?v=d8f5098f3c95781318e557459dfddbea036ea7bd"> 27 <!--[if lt IE 9]> 28
28<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
28 29 <![endif]--> 30 </head> 31 <body> 32 <div class="wrapper"> 33 <header> 34 <h1><a href="https://adityarastogi2k12.github.io/">Aditya Rastogi, PhD</a></h1> 35 36 37 <img src="/images/aditya_pic.jpg?raw=true" alt="Logo" /> 38 39 40 <p>Post Doctoral Researcher, Department of Neuroradiology <br> Universitätsklinikum Bonn, Germany <br><br> PhD, Medical Imaging Group <br> Department of Computational and Data Science <br> Indian Institute of Science <br><br> B.Tech, Mechanical Engineering <br> Delhi Technological University <br> 2012-2016 41</p> 42 43 44 45 46 <p class="view"><a href="https://github.com/adityarastogi2k12">View My GitHub Profile</a></p> 47 48 49 50 <ul class="downloads"> 51 <li><a href="https://github.com/adityarastogi2k12"><strong>GitHub</strong></a> </li> 52 <li><a href="https://twitter.com/_aditya_rastogi" class="fa fa-twitter"><strong>Twitter</strong></a></li> 53 <li><a href="https://www.linkedin.com/in/aditya-rastogi-8167417b/" class="fa fa-linkedin"><strong>Linkedin</strong></a> </li> 54 </ul> 55 56 <a href="https://github.com/ocimakamboj"> <i class="big github icon icon-color"></i> </a> 57 </header> 58 <section> 59 60 <h1 id="ds200research-methods">DS200:Research Methods</h1> 61<hr /> 62<h2 id="module-4--assignment">Module 4 : Assignment</h2> 63<hr /> 64 65<blockquote> 66 <p><strong>AIM:- To download a dataset from <a href="www.data.gov.in">www.data.gov.in</a> and do the following</strong></p> 67 <blockquote> 68 <p>Make a scatterplot, barchart and boxplot and draw inferences from it.</p> 69 </blockquote> 70</blockquote> 71 72<h3 id="part1---dataset">Part1: - Dataset</h3> 73<blockquote> 74 <p>The dataset is <a href="#my_anchor">[1]</a> <strong>Crime in India - 2009/State/UT-wise Complaints received by Police & Cases registered under IPC & SLL during 2009</strong> and is downloaded from <a href="www.data.gov.in">www.data.gov.in</a>.</p> 75 <blockquote> 76 <p>The link to download the dataset is <a href="https://data.gov.in/resources/stateut-wise-complaints-received-police-cases-registered-under-ipc-sll-during-2009">here</a> .<br /> The data is uploaded by <strong>National Crime Records Bureau- Ministry of Home Affairs</strong> (<a href="http://ncrb.gov.in/">http://ncrb.gov.in/</a>). <br />The data gives the statistics of the method of complaint registration (oral/written/helpline/suomoto by police) and the category in which complaint is registered (IPC or SLL)</p> 77 </blockquote> 78</blockquote> 79 80<h3 id="part2---scatter-plot">Part2: - Scatter Plot</h3> 81<blockquote> 82 <p>Below are two scatterplot.</p> 83</blockquote> 84 85<p><img src="/DS200/module4/images/Figure_1.png" alt="scatterplot" /></p> 86 87<ol> 88 <li>The plot on left has <strong>Number of complaints registered suomoto by police</strong> -i.e The cases registered by police based on their investigation - vs <strong>Number of complaints registered as SLL</strong> (SLL:- Special and Local Laws, these are laws which are not part of IPC and include law instituted by Acts like Gambling Act 1867, Forest Act 1927, etc) for 28 states (based on 2009 data) and 7 union territories of India.</li> 89 <li>The plot on the right has <strong>Number of complaints registered to police by oral,written or via helpline</strong> vs <strong>Number of cases registered as SLL</strong> for 28 states (based on 2009 data) and 7 union territories of India.</li> 90 <li>Both the <strong>x-axis</strong> and <strong>y-axis</strong> are on log10 scale. Best fit line is also plotted in each scatter plot.</li> 91 <li><strong>r</strong> denotes the correlation coefficient between the data on <strong>x-axis</strong> and <strong>y-axis</strong>. 92 <h4 id="the-observations-one-can-derive-from-the-scatterplot-are-the-following-">The observations one can derive from the scatterplot are the following:-</h4> 93 </li> 94 <li>The number of complaints registered suomoto by the police for a state/UT are highly correlated with the number of complaints filed under SLL.</li> 95 <li>The correlation between number of complaints registered by others(not suomoto by police) are not correlated to the number of complaints filed under SLL to that extent.</li> 96 <li>The regression line in plot (a) fits the data better than in plot (b).</li> 97 <li>A logical reason for this is that mostly complaints under Special and Local Laws are filed againsts an entity after investigation by law enforcers and are therefore not filed on recieving of first complaint (with few exceptions like cognizible crime under Dowry Actor SC/ST attrocity ACT).
97</li> 98</ol> 99 100<hr /> 101 102<h3 id="part2---box-plot">Part2: - Box Plot</h3> 103<blockquote> 104 <p>Below are two boxplots.</p> 105</blockquote> 106 107<p><img src="/DS200/module4/images/Figure_2.png" alt="Boxplot" /></p> 108 109<ol> 110 <li>The plot on the left shows the box plot of <strong>Number of complaints received by police</strong> in two catergories. First the complaints which are submitted to police by other entities via oral,written means or using police helpline for all 35 states and U.Ts. Second are the complaints that are registered by police suomoto for all 35 states and U.Ts. The first boxplot shows the number of complaints on log scale along with the outliers.</li> 111 <li>The second boxplot shows the same data as (1) but on a linear scale without outliers. 112 <h4 id="the-observations-one-can-derive-from-the-boxplots-are-the-following-">The observations one can derive from the boxplots are the following:-</h4> 113 </li> 114 <li>Looking at (b) we can say that on an average more complaints are registered by outside entities than suomoto by law enforceres.</li> 115 <li>The spread in number of complaints filed by non law enforcers is more. This category also has less outliers than the other.</li> 116 <li>The complaints registered suomoto by law enforcers are very high compared to the IQR in a few States/UTs and hence have more outliers.</li> 117</ol> 118 119<hr /> 120<h3 id="part3---bar-chart">Part3: - Bar Chart</h3> 121<blockquote> 122 <p>Below is the Barchart which shows for all States and U.Ts (those that existed in 2009) how many complaints are filed by non law enforcers and suomoto by police.</p> 123</blockquote> 124 125<p><img src="/DS200/module4/images/Figure_3.png" alt="Barchart" /></p> 126 127<ol> 128 <li>The Bar chart shows on log10 scale the <strong>number of complaints</strong>. The <strong>blue</strong> bar denoted the <strong>number of complaints received by police via oral/written/helpline</strong> and the <strong>red</strong> bar denoted the <strong>number of complaints filed suomoto by police</strong> for all 35 states and U.Ts .</li> 129</ol> 130 131<h4 id="the-observations-one-can-derive-from-the-bar-chart-are-the-following-">The observations one can derive from the bar chart are the following:-</h4> 132 133<ol> 134 <li>Apart from T.N, A&N Islands and Uttarakhand in all states more complaints are recieved via oral/written/helpline means. This explains the higher average of number of complaints received via oral/written/helpline means in box plot.</li> 135 <li>Although in most of states the number of suomoto complaints are considerably less than the other category, in some of them the number is closer or even higher than later. This explains the reason for high number of outliers.</li> 136</ol> 137 138<hr /> 139<h3 id="references">References</h3> 140<p><b id="my_anchor">[1].</b> National Crime Records Bureau,2009, <em>State/UT-wise Complaints received by Police & Cases registered under IPC & SLL during 2009</em>, electronic dataset,Open Government Data (OGD) Platform India, <a href="https://data.gov.in/resources/stateut-wise-complaints-received-police-cases-registered-under-ipc-sll-during-2009">https://data.gov.in/resources/stateut-wise-complaints-received-police-cases-registered-under-ipc-sll-during-2009</a>.</p> 141 142 143 </section> 144 <footer> 145 146 </footer> 147 </div> 148
148<script src="/assets/js/scale.fix.js"></script>
148 149 150
150<script>
vendor: 364 bytes, lines 150-155
150 151 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 152 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 153 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 154 })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); 155 ga('create', '
155UA-000000-0
vendor: 46 bytes, lines 155-157
155', 'auto'); 156 ga('send', 'pageview'); 157
157</script>
157 158 159 </body> 160</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.