Publications by adityakhanna
Document
A Minimal Book Example 1 Overview 1.1 Usage Notes 1.2 Render book 1.3 Viewing Instructions 2 Population Overview 2.1 Demographics 3 Substance Use Behaviors 3.1 Alcohol Use: Behavioral States 3.2 Alcohol Use: State Transitions 3.3 Smoking: Behavioral States 3.4 Smoking: State Transitions 4 Incarceration and Recidivism 5 Post-Release Smoking...
2503 sym
P2M: Population initialization
# Assign categories as per race/ethnicity, age group and gender identity ## N.B. See Excel sheet "agent population updated" at: ## /cche-lab/data/p2m_parameters_chicago/population_estimates/anna_population_estimation/output/Population estimates_ACS_2011_2015_chicago_updated_021220.xlsx rm(list=ls()) library(ergm) ## Loading required package:...
5 sym R (12453 sym/19 pcs)
P2M: Main network estimation
rm(list=ls()) library(ergm) ## Loading required package: network ## network: Classes for Relational Data ## Version 1.15 created on 2019-04-01. ## copyright (c) 2005, Carter T. Butts, University of California-Irvine ## Mark S. Handcock, University of California -- Los Angeles ## David R. Hunter, Penn State...
5 sym R (34550 sym/42 pcs)
P2M: Casual network estimation
rm(list=ls()) library(ergm) ## Loading required package: network ## network: Classes for Relational Data ## Version 1.15 created on 2019-04-01. ## copyright (c) 2005, Carter T. Butts, University of California-Irvine ## Mark S. Handcock, University of California -- Los Angeles ## David R. Hunter, Penn State...
5 sym R (40694 sym/40 pcs)
Preliminary navigation plots
rm(list=ls()) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(ggplot2) n.instances <- 30 dt_list <- as.list(1:n.instances) dt_columns <- c( "time", ...
16 sym R (2573 sym/17 pcs) 11 img
Publish Document
# Analyze calibration data # Libraries ---------- rm(list=ls()) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(ggplot2) # Read data and set meta-par...
19 sym R (6591 sym/22 pcs) 14 img
Select nonrespondents of degree >= 30
## missing ties imputation using r0-net wave 1. ## select set of nodes rm(list=ls()) library(igraph) ## ## Attaching package: 'igraph' ## The following objects are masked from 'package:stats': ## ## decompose, spectrum ## The following object is masked from 'package:base': ## ## union library(intergraph) library(network) ...
5 sym R (2285 sym/13 pcs)
Intervention Results
# Analyze calibration data # Libraries ---------- rm(list=ls()) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(ggplot2) # Read data and set meta-par...
19 sym R (6528 sym/22 pcs) 14 img
Document
# Analyze calibration data # Libraries ---------- rm(list=ls()) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(ggplot2) # Read data and set meta-par...
19 sym R (6526 sym/22 pcs) 14 img
Document
## convert csv files to igraph objects ## and use igraph methods to obtain degree-based subsets rm(list=ls()) library(igraph) ## ## Attaching package: 'igraph' ## The following objects are masked from 'package:stats': ## ## decompose, spectrum ## The following object is masked from 'package:base': ## ## union #####################...
5 sym R (7542 sym/20 pcs)