Posts

News Map is built upon cartogram.js to visualize the Chinese provinces.

CONTINUE READING

Using the Data from Global Terrorism Database (GTD) and googleVis-0.5.8, I visualize the global terrorism attacks over time. The remarkable negative relationship between kills and political stability can clearly observed.

CONTINUE READING

networkdiffusion, an R package which can help simulate and visualize the network diffusion. Slides.

Wang, C.J. (2017) networkdiffusion: Simulating and Visualizing Network Diffusion Using R. The 10th China R Conference. Beijing, May 20-21.

CONTINUE READING

scholarNetwork, a Python package to crawl and visualize the coauthor network of Google Scholars.

CONTINUE READING

iching, a Python package that employs the Achillea millefolium method to practise divination of I Ching (易经的蓍草卜卦方法).

CONTINUE READING

I tried to move from jekyll to hugo to enhance my personal website. But I still want to use Github Pages to host the generated html files (in the Public folder). The trick is you have to move the files in the Public folder to the local folder of your github folder. Create on GitHub mywebsite-hugo repository (it will host Hugo’s content) Create on GitHub chengjun.github.io repository (it will host the public folder: the static website) cd github git clone https://github.

CONTINUE READING

Create a beautifully simple personal or academic website in under 10 minutes.

CONTINUE READING

Enable/disable and configure widgets to customize your homepage.

CONTINUE READING

This is a brief guide to managing content with the Academic framework. Content can include publications, projects, talks, and news/blog articles. After you have read this guide about creating and managing content, you may also be interested to learn about writing content with Markdown, LaTeX, and Shortcodes.

CONTINUE READING

Content can be written using Markdown, LaTeX math, and Hugo Shortcodes. Additionally, HTML may be used for advanced formatting. This article gives an overview of the most common formatting options.

CONTINUE READING

Create a beautifully simple personal or academic website in under 10 minutes.

CONTINUE READING

Enable/disable and configure widgets to customize your homepage.

CONTINUE READING

This is a brief guide to managing content with the Academic framework. Content can include publications, projects, talks, news/blog articles, and widget pages. After you have read this guide about creating and managing content, you may also be interested to learn about writing content with Markdown, LaTeX, and Shortcodes.

CONTINUE READING

Content can be written using Markdown, LaTeX math, and Hugo Shortcodes. Additionally, HTML may be used for advanced formatting. This article gives an overview of the most common formatting options.

CONTINUE READING

Learn how to migrate an existing website from Jekyll to Hugo.

CONTINUE READING

Set up Octopress I refer to this blog and this blog to setup octopress. It’s very helpful for windows users. For encoding errors Most chinese windows users encounter the problem of encoding error, such as this one: invalid byte sequence in GBK. I handle it following three suggestions: 1.Modify the file located at C:\Ruby193\lib\ruby\gems\1.9.1\gems\jekyll-0.11.2\lib\jekyll\convertible.rb, to change: self.content = File.read(File.join(base, name)) into: self.content = File.read(File.join(base, name), :encoding => "utf-8") 2.

CONTINUE READING

The long-tail distribution can be quantified in primarily three ways, see Newman ’s paper here: Power law distribution Zipf distribution Pareto distribution Here, I talk about the Zipf distribution which assesses the relationship between rank order and Frequency (probability). Zipf’s law now refers more generally to frequency distributions of “rank data,” in which the relative frequency of the nth-ranked item is given by the Zeta distribution. from Wikipedia

CONTINUE READING

We know that the most simple network is the regular network, such as the ring network. If all the edges in a network are generated randomly, we can get a random graph or Erdos-Renyi network (ER network). Erdős–Rényi Random Graph model The Erdős–Rényi model, named for Paul Erdős and Alfréd Rényi, is used for generating random graphs in which edges are set between nodes with equal probabilities. There is a continuous shift between randomness and regularity.

CONTINUE READING

## I have made a dzslides from a markdown file using pandoc, and then I want to archive and present it on octopress. Check the result to learn about how to make simple slides using pandoc here. The mechanism of octopress is a little bit inflexible. Basicially, we generate markdown files in the directory of _posts: rake new_post["the title of your post"] and then we transform the markdown files to html placed in the dirctory of public.

CONTINUE READING

The epidemic model is another intellectual source for information diffusion research. The first known mathematical model of epidemiology is formulated by Daniel Bernoulli (1760) when he studied the mortality rates in order to eradicate the smallpox. However, it was not until the early twentieth century that deterministic modeling of epidemiology started. Ross (1911) developed differential equation models of epidemics in 1911. Later, Kermack and McKendrick (1927) found the epidemic threshold and they argued that the density of susceptible must exceed a critical value to make the outbreak of an epidemic happen.

CONTINUE READING