<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/women-in-the-2016-stack-overflow-survey/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://juliasilge.com/blog/Women-Survey/"> data science ish</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><em>Note: Cross-posted <a target="_blank" rel="nofollow" href="https://stackoverflow.blog/2017/01/women-in-the-2016-stack-over-survey/">with the Stack Overflow blog</a></em></p>
<p>The <a target="_blank" rel="nofollow" href="https://www.surveymonkey.com/r/DWZ2672">2017 Stack Overflow Developer Survey</a> opened last week, and we on the Data Team are looking forward to analyzing the survey results to better understand our developer community. I am particularly interested in women in tech, for probably obvious reasons, and recently I explored <a target="_blank" rel="nofollow" href="http://stackoverflow.com/research/developer-survey-2016">last year’s survey data</a> to see what we can learn about women developers.</p>
<h2>How many women took the developer survey?</h2>
<p>The results from the 2016 Developer Survey are available <a target="_blank" rel="nofollow" href="https://github.com/dgrtwo/stacksurveyr">on GitHub as an R package</a>. For this year, we’ve changed how we ask about gender as we have heard more from our community. Survey respondents can choose more than one option, and the options on the 2017 survey are:</p>
<ul>
<li>male,</li>
<li>female,</li>
<li>transgender,</li>
<li>non-binary, genderqueer, or gender non-conforming, and</li>
<li>a different identity, with an open text field.</li>
</ul>
<p>We can use the results from last year, with last year’s gender categories, to first just ask how many people of different gender identities took the survey.</p>
<p><img alt="count of survey respondents" src="https://i1.wp.com/juliasilge.com/figs/2017-01-19-Women-Survey/counts-1.png?w=456" data-recalc-dims="1"></p>
<p>There were 3202 women who took the survey, which was 5.76% of the respondents. We all know that women are underrepresented in tech (I certainly am aware of this most days), but this is actually even lower than we would have expected. <a target="_blank" rel="nofollow" href="https://www.quantcast.com/stackoverflow.com#demographicsCard">Audience demographic measurements from Quantcast</a> indicate that Stack Overflow’s readers are about 10% women; survey respondents who identified as women took the survey at a lower rate than Quantcast indicates women use Stack Overflow itself.</p>
<p>We were disappointed to see this discrepancy last year because we want this survey to be representative of all kinds of developers. We at Stack Overflow value the voices of all of our users and would love to hear the perspectives of more people on our survey this year.</p>
<h2>Why do we use Stack Overflow?</h2>
<p>Next, let’s examine one question on the survey and explore how we can compare the answers given by women to those given by men. Let’s look at the question, “Why do you use Stack Overflow?” This is a question that allowed multiple answers.</p>
<p><img alt="why use stack overflow" src="https://i0.wp.com/juliasilge.com/figs/2017-01-19-Women-Survey/why_so-1.png?w=456" data-recalc-dims="1"></p>
<p>First, notice that the error bars are larger for the women’s answers than the men’s; this is because there were many more men in the survey than women and thus the values for women cannot be estimated as precisely as for men. Next, notice that some answers exhibit differences between women’s and men’s answers; for example, women were more likely to choose answers related to doing our jobs but less likely to choose answers related to helping others or maintaining an online presence.</p>
<p>Statistical analysis (specifically the chi-squared test) shows that the distribution of men’s answers is different than women’s answers more than would be expected by chance. This provides evidence that men and women have some different motivations or experiences when they come to Stack Overflow. Women said they use Stack Overflow more specifically for their jobs and chose very pragmatic answers to this question, instead of answers about helping or learning.</p>
<h2>Technologies used</h2>
<p>Another question on the survey asked about what technologies each respondent used; this was also a question that allowed multiple answers. How did men’s and women’s answers compare?</p>
<p><img alt="technologies used" src="https://i1.wp.com/juliasilge.com/figs/2017-01-19-Women-Survey/tech_do-1.png?w=456" data-recalc-dims="1"></p>
<p>The x-axis in this plot shows what percentage of men chose each technology and the y-axis shows what percentage of women chose each technology; these are logarithmic axes. First notice that most technologies appear near the dashed line (with slope equal to 1), indicating that the overall pattern of technology choices by women and men are similar, i.e., lots of both men and women use JavaScript.</p>
<p>Also notice that almost all the languages and technologies are below the dashed line, meaning proportionally fewer women said they use most all technologies. Since this is a question that allowed multiple responses, this indicates that men chose more technologies on this question than women. In fact, men chose a median of 4 technologies on this question while women chose a median of 3 technologies. There are likely complex reasons behind this difference, including imbalance in how women and men evaluate their own skills, but one reason could be the fact that women in our survey were, on average, <a target="_blank" rel="nofollow" href="http://stackoverflow.com/research/developer-survey-2016#gender-experience">younger with less experience</a> than men.</p>
<p><img alt="log odds ratio" src="https://i1.wp.com/juliasilge.com/figs/2017-01-19-Women-Survey/logs_odds-1.png?w=456" data-recalc-dims="1"></p>
<p>Although there are large-scale similarities between the technologies that women and men use, some technologies exhibit significant differences between the proportion of women and men who identified them. A higher proportion of women use Salesforce, Matlab, R, and Ruby; I use R professionally as a data scientist (and am a woman!) so this was fun and interesting to see. Languages and technologies with the highest proportion of men compared to women include Rust, Redis, F#, and Arduino/Raspberry Pi.</p>
<h2>Exploring many survey questions</h2>
<p>The questions above were just two of many on the Developer Survey, and we would like to look at more of the responses to find similarities and differences between women and men who work with technology. I built a <a target="_blank" rel="nofollow" href="https://juliasilge.shinyapps.io/survey2016/">Shiny app</a> to allow users to explore these survey results themselves.</p>
<p><a target="_blank" rel="nofollow" href="https://juliasilge.shinyapps.io/survey2016/"><img alt="screenshot of app" src="https://i1.wp.com/juliasilge.com/figs/2017-01-19-Women-Survey/screenshot.png?w=456" data-recalc-dims="1"></a></p>
<p>Notice several things as you explore <a target="_blank" rel="nofollow" href="https://juliasilge.shinyapps.io/survey2016/">the app</a>:</p>
<ul>
<li>More than men, women think diversity in the workplace is important.</li>
<li>Women are more likely to love their bosses and value the mission of their companies.</li>
<li>More than men, women do not want to code late at night and value ending work at the same time every day and working from home.</li>
<li>Some sets of answers (is learning new technologies important? do you love problem solving? is getting promoted important?) look the same or close to the same when comparing men and women.</li>
<li>We all agree that we don’t want to go to Mars!</li>
</ul>
<p>The upper panel in the app shows a plot with the survey results, and the lower panel shows the results of the chi-squared test that corresponds to that plot. We are comparing about 20 p-values here, which isn’t a huge number, but still I applied an adjustment for multiple comparisons. You can see the code that made this app <a target="_blank" rel="nofollow" href="https://github.com/juliasilge/stacksurveyapp">on GitHub here</a>.</p>
<p>These survey responses from men and women show us differences and similarities that can help us understand the developer community better. The 2017 Developer Survey is open right now, and we want to hear from you to gain more and better understanding. Just to reiterate one more time, we want to hear from <em>all</em> kinds of developers. Our results from last year show that underrepresented groups responded to the Stack Overflow Developer Survey at lower rates, so know that we want to hear what you (yes, <em>you</em>) think. <a target="_blank" rel="nofollow" href="https://www.surveymonkey.com/r/DWZ2672">Participate in the Developer Survey today!</a></p>
<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://juliasilge.com/blog/Women-Survey/"> data science ish</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/search/data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/search/map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/search/animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/search/sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/search/SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/search/git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/search/hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/search/PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/search/time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/search/trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/COrS002lhM4"></a></div>