Wednesday, December 30, 2020

Estimating and testing GLMs with `emmeans`

This post shows how to use emmeans package to generate first difference with confidence intervals. 

Monday, November 30, 2020

Getting past the little hiccups to getting plotly animations into slides

 Very helpful post regarding how to use plotly graph in xaringan slides. 

Saturday, November 28, 2020

10 Things to Know about Spillovers

 Helpful post about spillover effect.

Monday, November 09, 2020

Visual R Markdown

 This new feature should be useful to students. 

Sunday, October 11, 2020

Reading map files into NetLogo

 I am trying to read the map files provided by the coronavirus-data into NetLogo using the following code: 

extensions [gis]

globals [zip-data projection]

to setup

  clear-all

  ;gis:load-coordinate-system (word "data/" projection ".prj")

  set zip-data gis:load-dataset "MODZCTA_2010.shp"

  gis:set-drawing-color 5  gis:fill zip-data 1.0

end

I got the error message complaining about the unsupported Lambert_Conformal_Conic projection. A simple solution is provided here.

Monday, April 13, 2020

Unleash the Privateers!

I usually don't pay much attention to politics, but these folks are really hilarious!

Tuesday, March 03, 2020

Thursday, January 23, 2020

Illuminating Statistical Analysis Using Scenarios and Simulations

This looks like an interesting textbook for an introductory statistics course. I did not see a code repository associated with the book though.

Monday, January 13, 2020

Using raster data in Netlogo

I am trying to replicate the procedure described on page 111-114 in AGIS. The generated clipped population data file cannot be read into NetLogo. After some digging, here is the problem and the solution is really simple: just add '-co force_cellsize=true' to the text box for additional command-line parameters.

Counter