Publications by Daniel Mamani
DEM 7283 Stats HW1
Libraries library(tidyverse) ## -- Attaching packages ------------------------------------------------ tidyverse 1.3.0 -- ## v ggplot2 3.3.3 v purrr 0.3.4 ## v tibble 3.0.3 v dplyr 1.0.3 ## v tidyr 1.1.1 v stringr 1.4.0 ## v readr 1.3.1 v forcats 0.5.0 ## -- Conflicts ---------------------------------------------------...
208 sym R (8720 sym/42 pcs)
DEM 7283 Stats HW4
Libraries library(caret) ## Loading required package: lattice ## Loading required package: ggplot2 library(tidyverse) ## -- Attaching packages ------------------------------------------------ tidyverse 1.3.0 -- ## v tibble 3.0.3 v dplyr 1.0.3 ## v tidyr 1.1.1 v stringr 1.4.0 ## v readr 1.3.1 v forcats 0.5.0 ## v purrr 0.3....
407 sym R (14707 sym/60 pcs) 4 img
DEM 7283 Stats HW8
library(foreign) library(tidyverse) ## -- Attaching packages ------------------------------------------------ tidyverse 1.3.0 -- ## v ggplot2 3.3.3 v purrr 0.3.4 ## v tibble 3.0.3 v dplyr 1.0.3 ## v tidyr 1.1.1 v stringr 1.4.0 ## v readr 1.3.1 v forcats 0.5.0 ## -- Conflicts -------------------------------------------...
466 sym R (15123 sym/89 pcs) 7 img
DEM 7283 Stats HW7
Principle Component Analysis library(car) ## Loading required package: carData library(stargazer) ## ## Please cite as: ## Hlavac, Marek (2018). stargazer: Well-Formatted Regression and Summary Statistics Tables. ## R package version 5.2.2. https://CRAN.R-project.org/package=stargazer library(survey) ## Loading required package: grid ## Loadi...
216 sym R (6883 sym/40 pcs) 3 img
DEM 7283 Stats HW6
Libraries library(caret) ## Loading required package: lattice ## Loading required package: ggplot2 library(car) ## Loading required package: carData library(stargazer) ## ## Please cite as: ## Hlavac, Marek (2018). stargazer: Well-Formatted Regression and Summary Statistics Tables. ## R package version 5.2.2. https://CRAN.R-project.org/packag...
538 sym R (13027 sym/55 pcs) 1 img
DEM 7283 Stats HW5
Libraries library(caret) ## Loading required package: lattice ## Loading required package: ggplot2 library(tidyverse) ## -- Attaching packages ------------------------------------------------ tidyverse 1.3.0 -- ## v tibble 3.0.3 v dplyr 1.0.3 ## v tidyr 1.1.1 v stringr 1.4.0 ## v readr 1.3.1 v forcats 0.5.0 ## v purrr 0.3....
917 sym R (18002 sym/65 pcs) 1 img
DEM 7093 GIS HW7
Estimating Population Characteristics using IPUMS USA library(ipumsr) cat <- read_ipums_ddi("C:/Users/maman/OneDrive/DEM Spring 2021/DEM 7093 GIS/GIS Data/usa_00006.xml") data <- read_ipums_micro(cat) ## Use of data from IPUMS USA is subject to conditions including that users should ## cite the data appropriately. Use command `ipums_conditions...
308 sym R (14705 sym/39 pcs) 2 img
DEM 7283 Stats HW9
Using splines in NHANES Data library(splines) library(mgcv) ## Loading required package: nlme ## This is mgcv 1.8-33. For overview type 'help("mgcv-package")'. library(foreign) library(tidyverse) ## -- Attaching packages ------------------------------------------------ tidyverse 1.3.0 -- ## v ggplot2 3.3.3 v purrr 0.3.4 ## v tibble 3.0....
457 sym R (5035 sym/26 pcs) 2 img
DEM 7283 Stats HW10
Multilevel Models with R Load packages and BRFSS Data library(car) ## Loading required package: carData library(stargazer) ## ## Please cite as: ## Hlavac, Marek (2018). stargazer: Well-Formatted Regression and Summary Statistics Tables. ## R package version 5.2.2. https://CRAN.R-project.org/package=stargazer library(survey) ## Loading requir...
607 sym R (11146 sym/57 pcs)
Spatial GLM Homework
Getting aggregate data from the area resource file arf<-"https://github.com/coreysparks/data/blob/master/arf2018.Rdata?raw=true" load(url(arf)) library(spdep) ## Loading required package: sp ## Loading required package: spData ## To access larger datasets in this package, install the spDataLarge ## package with: `install.packages('spDataLarge...
1905 sym R (48995 sym/52 pcs) 2 img