Publications by Sith
Analysis
Read Data setwd("C:/Users/lfult/Desktop/Minoo/Minoo Survey") mydata=read.csv("finalreg.csv") for (i in 1:5){mydata[, i]=as.factor(mydata[,i])} str(mydata) ## 'data.frame': 115 obs. of 5 variables: ## $ Training : Factor w/ 2 levels "0","1": 2 2 2 1 2 1 1 1 2 2 ... ## $ Plastic : Factor w/ 2 levels "0","1": 1 2 2 1 1 1 2 1 2 2 ... ## ...
31 sym R (1780 sym/12 pcs)
Draft Analysis
Read Data and Convert Strings to Factors setwd("C:/users/lfult/Desktop/CAHME") mydata=read.csv("cleanedupdate.csv", fileEncoding="UTF-8-BOM") for (i in 7:14){mydata[,i]=as.factor(mydata[,i])} for (i in 15:17){ mydata[,i]=as.factor(mydata[,i]) mydata[,i]=factor(mydata[,i],levels(mydata[,i])[c(1,3,4,2,5)]) } Basic Missing Analysis missmap(...
749 sym R (22539 sym/42 pcs) 7 img
Restricted Poisson
Read Data setwd("c:/users/lf25/desktop") deaths=read.csv("deaths.csv") newdeaths=as.matrix(deaths[,7:length(deaths)], nrow(deaths)) Initialize Theta and Beta mytheta=rowMeans(newdeaths)^(3/2)/apply(newdeaths,1,sd) #We use the initial estimator, theta tilde = xbar^(3/2) / sd mygamma=abs((1/mytheta)-(1/rowMeans(newdeaths))) mybeta=1/mygamma ...
79 sym R (13316 sym/12 pcs)
COVID State Level Analysis
Libraries and Working Directory ######Libraries####### ###################### library(Amelia) # ## Loading required package: Rcpp ## ## ## ## Amelia II: Multiple Imputation ## ## (Version 1.7.6, built: 2019-11-24) ## ## Copyright (C) 2005-2020 James Honaker, Gary King and Matthew Blackwell ## ## Refer to http://gking.harvard.edu/ameli...
707 sym R (27517 sym/133 pcs) 6 img
Midterm
P1. A card is drawn from a standard deck of 52 playing cards. What is the probability that the card will be a heart and not a face card? Write your answer as a fraction or a decimal number rounded to four decimal places. round(10/52,4) #10 hearts are not facecards, classical probabiliy ## [1] 0.1923 P2. A standard pair of six-sided dice is roll...
16396 sym R (4817 sym/158 pcs) 1 img
Survey
#Overall Results Bottom Line up Front: The programs are on track but require some performance improvement as do all programs. #####################Read and Pre-Clean the Data####################### library(psych) #to describe library(reticulate) #to use Python in R as well mydata=read.csv("C:/Users/lfult/OneDrive - Texas State University/MHA B...
411 sym R (4681 sym/29 pcs) 25 img
Peregrine Analysis
Exploratory Data Analysis Pre-Clean Load libraries and data #####################Read and Pre-Clean the Data####################### require(Amelia) ## Loading required package: Amelia ## Loading required package: Rcpp ## ## ## ## Amelia II: Multiple Imputation ## ## (Version 1.7.6, built: 2019-11-24) ## ## Copyright (C) 2005-2020 James Hona...
19430 sym R (24587 sym/102 pcs) 15 img
COVID Analysis for Dr. Ram Shanmugam
Load Libraries ## Loading required package: carData ## Loading required package: sp ## Loading required package: raster ## ## Attaching package: 'raster' ## The following objects are masked from 'package:MASS': ## ## area, select ## Checking rgeos availability: TRUE ## rgdal: version: 1.5-16, (SVN revision 1050) ## Geospatial Data Abstr...
305 sym R (27432 sym/54 pcs) 2 img
Heart Failure Analysis
Introduction This analysis forecasts the number of diagnoses and admissions for heart failure. Three units of analysis (UA): hospital, state, county Two dependent variables: number of diagnoses (hospital UA), admission rate (state & county) Methods: OLS, Lasso, enet, RF, extra trees, gradient boosting, bagging, hospital UA OLS, Lasso, enet, GIS f...
21968 sym R (23072 sym/172 pcs) 22 img
Heart Failure (Old)
Introduction This analysis forecasts the number of diagnoses and admissions for heart failure. Three units of analysis (UA): hospital, state, county Two dependent variables: number of diagnoses (hospital UA), admission rate (state & county) Methods: OLS, Lasso, enet, RF, extra trees, gradient boosting, bagging, hospital UA OLS, Lasso, enet, GIS f...
21968 sym R (18896 sym/77 pcs) 22 img