Publications by adityakhanna
Document
# Analyze incarceration data rm(list=ls()) renv::activate() # Load packages --------- library(here) ## here() starts at /users/akhann16/code/cadre/data-analysis-plotting/Simulated-Data-Analysis/r/agent-analysis library(data.table) library(yaml) library(ggplot2) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked...
36 sym R (11120 sym/31 pcs) 2 img
Publish Document
We confirm below various attributes of the agents that are logged. We will do this in data.table for speed. Read input parameters:¬ input_params <- read_yaml("~/code/cadre/python/myparams/model_params.yaml") Read the agent data into data-table: agent_dt <- fread("/users/akhann16/code/cadre/python/output_20231029_214346/agent_log.csv") str(agent_dt...
7429 sym Python (52674 sym/229 pcs) 19 img
Publish Document
We confirm below various attributes of the agents that are logged. We will do this in data.table for speed. Read input parameters:¬ input_params <- read_yaml("~/code/cadre/python/myparams/model_params.yaml") Read the agent data into data-table: agent_dt <- fread("/users/akhann16/code/cadre/python/output_20231029_143256/agent_log.csv") str(agent_dt...
7438 sym Python (53121 sym/235 pcs) 19 img
Agent log analysis
We confirm below various attributes of the agents that are logged. We will do this in data.table for speed. Read input parameters:¬ input_params <- read_yaml("~/code/cadre/python/myparams/model_params.yaml") Read the agent data into data-table: agent_dt <- fread("/users/akhann16/code/cadre/python/output_20231023_160834/agent_log.csv") str(agent_dt...
7170 sym Python (51149 sym/213 pcs) 19 img
Agent log analysis
We confirm below various attributes of the agents that are logged. We will do this in data.table for speed. Read input parameters:¬ input_params <- read_yaml("~/code/cadre/python/myparams/model_params.yaml") Read the agent data into data-table: agent_dt <- fread("/users/akhann16/code/cadre/python/output_20231023_164622/agent_log.csv") str(agent_dt...
7182 sym Python (51412 sym/214 pcs) 19 img
Publish Document
We confirm below various attributes of the agents that are logged. We will do this in data.table for speed. Read input parameters:¬ input_params <- read_yaml("~/code/cadre/python/myparams/model_params.yaml") Read the agent data into data-table: agent_dt <- fread("/users/akhann16/code/cadre/python/output_20231011_095510/agent_log.csv") str(agent_dt...
6809 sym Python (48507 sym/203 pcs) 16 img
Document
rm(list=ls()) # Load libraries --------------------------- library(foreign) 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 # Set wd for generated output --------...
304 sym R (67092 sym/301 pcs)
Table 2
rm(list=ls()) # Load libraries --------------------------- library(foreign) 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 # Set wd for generated output --------...
66 sym R (57141 sym/63 pcs)
Table 3
# Fit interaction models rm(list=ls()) # Load libraries --------------------------- library(foreign) 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 # Set wd fo...
36 sym R (12888 sym/33 pcs)
Publish Document
We confirm below various attributes of the agents that are logged. We will do this in data.table for speed. Read input parameters:¬ input_params <- read_yaml("~/code/cadre/python/myparams/model_params.yaml") Read the agent data into data-table: agent_dt <- fread("/oscar/data/akhann16/akhann16/cadre_simulated_data/emews_experiments/test-alt-loc/ins...
6807 sym Python (48745 sym/206 pcs) 16 img