<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="http://www.r-bloggers.com/a-shiny-app-to-help-interpret-gw-degree-estimates-in-ergms/"></div></div><div><a data-url="http://www.r-bloggers.com/a-shiny-app-to-help-interpret-gw-degree-estimates-in-ergms/" data-counturl="http://www.r-bloggers.com/a-shiny-app-to-help-interpret-gw-degree-estimates-in-ergms/" data-count="horizontal" data-text="A Shiny app to help interpret GW-Degree estimates in ERGMs" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://michaellevy.name/blog/gwdegree-interpretation-ergm/"> Michael Levy - Rstats</a></strong>, and kindly contributed to <a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Most researchers are misinterpreting geometrically weighted degree (GWD) estimates in exponential random graph models (ERGMs) of networks. By a 3:1 ratio papers cite positive estimates of GWD as indicative of a popularity or centralization force; in fact, positive estimates indicate dispersion of edges.</p>
<h3>Shiny app</h3>
<p><a target="_blank" href="https://michaellevy.shinyapps.io/gwdegree/">Here is a Shiny app</a> that allows you to examine the effects of GWD parameter and decay-parameter values on network degree distributions. On the app’s other tabs, it provides some intuition on how the GWD statistic works and how GWD and GWESP – which is used to model triadic closure – are confounded.</p>
<h3>Poster</h3>
<p>I presented this research at the 2016 Political Networks conference. Check out the poster, which includes a literature review showing how prevalent this mistake is, by clicking on the image.</p>
<p><a target="_blank" href="https://figshare.com/articles/Interpretation_of_GW-Degree_Estimates_in_ERGMs/3465020"><img alt="PolNet Poster on GWDegree Interpretation" src="http://i0.wp.com/michaellevy.name/images/blog/gwdegree/gwdegreePoster.png?w=456" data-recalc-dims="1"></a></p>
<p></p>
<h3>App use and local deployment</h3>
<p>You can play with the Shiny app online through the above link, but if you’re going to use it extensively, it will be faster and more reliable to clone the app and run it locally. Instructions for that are at the <a target="_blank" href="https://github.com/michaellevy/GWDegree-Shiny">GitHub repo</a>. Because the ERGM simulations and estimations are computationally expensive, I’ve restricted network size and density limits and simulation parameters pretty heavily for the online version. If you’d like a version of the app that relaxes those restrictions, send me a message to spur me to build that out.</p>
<p>Here are my imagined uses for the app, besides just trying to providing some intuition on how the statistic and parameters behave.</p>
<ul>
<li>
<p>Before estimating ERGMs, enter observed network size and density and compare empirical degree distribution to those generated under a range of decay, \(\theta_S\), and GWD, \(\theta_{GWD}\), values.</p>
</li>
<li>
<p>After estimating ERGMs, enter estimated parameter values and compare degree distribution under the null hypothesis of a random graph to the degree distribution implied by GWD estimates.</p>
</li>
</ul>
<p><div><div><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="http://www.r-bloggers.com/a-shiny-app-to-help-interpret-gw-degree-estimates-in-ergms/"></div></div><div><a data-url="http://www.r-bloggers.com/a-shiny-app-to-help-interpret-gw-degree-estimates-in-ergms/" data-counturl="http://www.r-bloggers.com/a-shiny-app-to-help-interpret-gw-degree-estimates-in-ergms/" data-count="vertical" data-text="A Shiny app to help interpret GW-Degree estimates in ERGMs" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://michaellevy.name/blog/gwdegree-interpretation-ergm/"> Michael Levy - Rstats</a></strong>.</div>
<hr>
<a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="http://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="http://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="http://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="http://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="http://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="http://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/VNrj4KHQgto"></a></div>