Publications by Assogba Albert
STA 6543 Predictive Modeling
library(AppliedPredictiveModeling) library(readr) library(foreign) library(MASS) library(tidyverse) Load data data <- read.csv("C:/Users/chris/OneDrive - University of Texas at San Antonio/DATA ANALYTICS MSDA/SPRING 2023/STA 6543 Predictive Modeling/R/Income.txt", sep="") a) Draw a scatter-plot to check the relationship between Income and ...
3117 sym R (2917 sym/16 pcs) 4 img
DA 6233 HOMEWORK 1
This homework uses tech_financials.csv which we used in weeks 2 and 3. Read tech_financials.csv into your R session using read.csv() function. Store the resulting object in d1. library(tidyverse) Load files d1 = read.csv("tech_financials.csv") Finally, before you begin, include only the rows with sale > 0. d2 <- filter(d1, sale > 0) This ho...
4053 sym R (5984 sym/32 pcs)
DEM 7223 Homework 2
DEM 7223 - Event History Analysis Author Albert Assogba Published September 15, 2022 load libraries library(haven) library(survival) library(car) Loading required package: carData library(muhaz) library(tidyverse) ── Attaching packages ───────────────────────────────�...
1623 sym 2 img
DEM 7223 Homework 3
HomeWork 3 Parametric Medols, DEM 7223 - Event History Analysis Author Assogba Albert load required libraries library(tidyverse) library(haven) library(survival) library(car) library(survey) library(muhaz) library(eha) library(ggsurvfit) library(dplyr) load the data tad<-read_dta("GHKR72DT/GHKR72FL.DTA") tad<-zap_label(tad) In th...
2874 sym 8 img
DEM 7223 Homework 4
HomeWork 4 - Cox regression, DEM 7223 - Event History Analysis Author Assogba Albert Published October 6, 2022 load library library(tidyverse) library(haven) library(survival) library(car) library(survey) library(muhaz) library(eha) library(ggsurvfit) library(dplyr) # load the data d1<-read_dta("GHKR72DT/GHKR72FL.DTA") d1<-zap_...
691 sym 4 img
DEM 7223 Homework 5
Homework 5 - Cox regression, DEM 7223 - Event History Analysis Author Assogba Albert Published October 27, 2022 load library library(tidyverse) library(haven) library(survival) library(car) library(survey) library(muhaz) library(eha) library(ggsurvfit) library(dplyr) # load the data d1<-read_dta("GHKR72DT/GHKR72FL.DTA") d1<-zap_...
917 sym Python (16512 sym/52 pcs) 3 img 1 tbl
Document Lab916
Question 1 Create the vectors x<- c(5,10,15,20,25,30) y<- c(-1,NA,75,3,5,8) z<- c(5) Question 2. Multiply the first two vector by the z vector, ans store these in new objects. Print these new vectors A<- c(x*z) print(A) ## [1] 25 50 75 100 125 150 B<- c(y*z) print(B) ## [1] -5 NA 375 15 25 40 Question 3 library(haven) library(readr...
963 sym R (2279 sym/32 pcs) 2 img
ASSOGBA_ASSIGNMENT #2
library(haven) library(readr) 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) library(ipumsr) library(psych) ## ## Attaching package: ...
2219 sym R (2771 sym/31 pcs) 2 img
Document
Load Libraries library (tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.0 -- ## v ggplot2 3.3.2 v purrr 0.3.4 ## v tibble 3.0.3 v dplyr 1.0.2 ## v tidyr 1.1.1 v stringr 1.4.0 ## v readr 1.3.1 v forcats 0.5.0 ## -- Conflicts ------------------------------------------ tidyverse_c...
872 sym R (2700 sym/31 pcs) 2 img
Document
Load Libraries library(haven) library(readr) 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(knitr) library(tidyverse) ## -- Attaching packages --...
2331 sym R (2138 sym/41 pcs) 2 img