Publications by Adolph J Delgado M.Ed.
Connecting the Dots: HW6
library(mapview) library(sf) ## Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.1 library(censusxy) ## Warning: package 'censusxy' was built under R version 4.0.4 library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base'...
86 sym R (17844 sym/71 pcs) 1 img
Poissons
#Load packages 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 ## Loading required p...
1638 sym R (14185 sym/62 pcs) 2 img
Homework 5
R Markdown library(readxl) addr<-read_xls("Food_Stores_WS.xls") ## New names: ## * Source -> Source...1 ## * Source -> Source...18 addr<-addr[c(6, 7:10)] names(addr)<-c("street", "city", "st", "zip") ## Warning: The `value` argument of ``names<-`()` must have the same length as `x` as of tibble 3.0.0. ## `names` must have length 5, not 4. #...
142 sym R (3956 sym/29 pcs)
Hw4 for Stats 2
library(car) ## Loading required package: carData library(VGAM) ## Warning: package 'VGAM' was built under R version 4.0.4 ## Loading required package: stats4 ## Loading required package: splines ## ## Attaching package: 'VGAM' ## The following object is masked from 'package:car': ## ## logit library(stargazer) ## ## Please cite as: ##...
1428 sym R (13655 sym/73 pcs) 1 img
Independent t-test
#Now, open the packages. library("gmodels") library("car") ## Loading required package: carData library("ggplot2") library("qqplotr") ## Warning: package 'qqplotr' was built under R version 4.0.5 ## ## Attaching package: 'qqplotr' ## The following objects are masked from 'package:ggplot2': ## ## stat_qq_line, StatQqLine library("dplyr...
40 sym R (4910 sym/32 pcs) 2 img
Spline Regression
#Packages library(haven) 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(car) ## Loading required package: carData ## ## Attaching package: 'car'...
613 sym R (7400 sym/31 pcs) 1 img
% of the population that lived in the same house last year in California PUMAs \n 2014-2019
library(ipumsr) ## Warning: package 'ipumsr' was built under R version 4.0.5 ddi <- read_ipums_ddi("C:/Users/adolp/Desktop/GIS/usa_00001 (DDI).xml") data <- read_ipums_micro(ddi) ## Use of data from IPUMS USA is subject to conditions including that users should ## cite the data appropriately. Use command `ipums_conditions()` for more details. d...
29 sym R (3946 sym/22 pcs) 1 img
HLM
#load packages library(car) library(stargazer) library(survey) library(sjPlot) library(ggplot2) library(pander) library(knitr) library(tidycensus) library(dplyr) library(haven) BRFSS19<-read_xpt("C:/Users/adolp/Desktop/Statistics 2/BRFSS/MMSA2019.XPT") set.seed(1234) samp<-sample(1:dim(BRFSS19)[1], size = 40000) #smaller sample for bre...
625 sym R (6546 sym/29 pcs)
Document
library(mapview) library(sf) ## Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1 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 #Get Homelessness Data librar...
72 sym R (79489 sym/63 pcs) 3 img
Homework 6
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', ## repos='https://nowosad.github.io/drat/', type='source')` ## Loading required package: sf ## Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1 li...
1529 sym R (23898 sym/80 pcs) 5 img