Publications by Jyoti Nepal

Homework 1 GIS

21.01.2022

Jyoti Nepal jyoti.nepal@my.utsa.edu Screenshot inserted into the Rmarkdown document of rstudio session showing the current R version of 4.1.2 this is my R Screenshot inserted into the Rmarkdown document of QGIS installation showing the current QGIS version of 3.16 this is my QGIS ...

296 sym 2 img

Document

07.02.2022

Question# a) Define a binary outcome variable of your choosing and define how you recode the original variable. A binary outcome variable of my choosing is alcohol consumption in past 30 days. This variable is re coded as: 1: Yes 0: No 7 and 9:NA Question# b) State a research question about what factors you believe will affect your outcome variab...

2814 sym R (8180 sym/51 pcs) 2 tbl

Document

04.04.2022

library(forcats) library(stargazer, quietly = T) ## ## 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, quietly = T) ## ## Attaching package: 'survey' ## The following object is masked from 'p...

12847 sym R (53616 sym/117 pcs) 6 img

Document

21.03.2022

Data library(haven) setwd("C:/Users/spara/OneDrive/Desktop/project") ddi <- read_ipums_ddi("C:/Users/spara/OneDrive/Desktop/project/nhis_00006.xml") data <- read_ipums_micro(ddi) ## Use of data from IPUMS NHIS is subject to conditions including that users ## should cite the data appropriately. Use command `ipums_conditions()` for more ## de...

8039 sym R (5129 sym/14 pcs) 3 img 1 tbl

Stats HW 6

20.03.2022

temp <- tempfile() #Download the SAS dataset as a ZIP compressed archive download.file("https://data.hrsa.gov/DataDownload/AHRF/AHRF_2019-2020_SAS.zip", temp) #Read SAS data into R ahrf<-haven::read_sas(unz(temp, filename = "ahrf2020.sas7bdat")) rm(temp) 1) Define a count outcome for the data-set of your choosing, th...

12130 sym R (17452 sym/51 pcs) 3 img

Geocoding

02.03.2022

Libraries library(mapview, quietly = T) library(sf, quietly = T) ## Linking to GEOS 3.9.1, GDAL 3.2.1, PROJ 7.2.1; sf_use_s2() is TRUE library(tidycensus, quietly = T) library(tidyverse, quietly = T) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 ...

4614 sym R (4594 sym/33 pcs)

Document

27.02.2022

Data library(haven) setwd("/Volumes/Jyoti/Stat 2 /PROJECT") ddi <- read_ipums_ddi("/Volumes/Jyoti/Stat 2 /PROJECT/nhis_00004.xml") data <- read_ipums_micro(ddi) ## Use of data from IPUMS NHIS is subject to conditions including that users ## should cite the data appropriately. Use command `ipums_conditions()` for more ## details. data<- haven::zap...

8333 sym R (2839 sym/12 pcs) 1 tbl

Document

21.02.2022

For this assignment, I am using BRFSS 2020 dataset. My binary outcome variable is alcohol consumption (drnkany5) in past 30 days. I put “1” for for those who consumed alcohol and “0” for those who do not consumed alcohol in the past 30 days.Hence, it has been recoded as-1: Yes and 0: No.For NA, I have recoded as-7 and 9:NA. Data # Loadin...

12886 sym R (13449 sym/42 pcs) 4 img 1 tbl

Document

16.02.2022

Load libraries options(Ncores = 6) library(tidycensus) library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.7 ## v tidyr 1.2.0 v stringr 1.4.0 ## v readr 2.1.2 v forcats 0.5.1 ## -- Conflicts -------------...

570 sym R (54636 sym/39 pcs) 2 img

Document

14.02.2022

Research question: Does alcohol consumption vary with educational level and racial/ethnic background? Predictor Variables: Educational level and racial/ethnic background Loading libraries library(car) ## Loading required package: carData library(stargazer) ## ## Please cite as: ## Hlavac, Marek (2018). stargazer: Well-Formatted Regression and...

16196 sym R (8133 sym/42 pcs) 4 img 3 tbl