Shige's Research Blog

Friday, January 08, 2021

BayesPostEst

 Finally a modern Bayesian implementation of the Zelig package here.

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.

Counter