Publications by Aritra
Discussion-2
Discussion_2 Author Aritra Ray Warning: package 'AER' was built under R version 4.3.3 Loading required package: car Loading required package: carData Loading required package: lmtest Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric Loading required ...
1862 sym Python (3271 sym/38 pcs) 2 img 3 tbl
Discussion_2
Table of contents Dataset 1 Describe the data Type of data Graph Dataset 2 Describe Type of dataset Graphs Discussion_2 Author Aritra Ray Warning: package 'AER' was built under R version 4.3.3 Loading required package: car Loading required package: carData Loading required package: lmtest Loading required package: zoo Attaching package:...
1974 sym Python (3249 sym/37 pcs) 2 img 3 tbl
dis_2
Table of contents Dataset 1 Describe the data Type of data Graph Dataset 2 Describe Type of dataset Graphs Discussion_2 Author Aritra Ray Warning: package 'AER' was built under R version 4.3.3 Loading required package: car Loading required package: carData Loading required package: lmtest Loading required package: zoo Attaching package:...
1974 sym Python (3249 sym/37 pcs) 2 img 3 tbl
Discussion_1
Table of contents Exploring Quatro Clearing the environment Exploring the dataframe Discussion 1 Author Aritra Ray Published September 4, 2024 Exploring Quatro I have installed palmerpenguins using the following command: install.packages("palmerpenguins") Code library(psych) library(palmerpenguins) library(tidyverse) Clearing the environ...
329 sym 1 img
Assignment-1_PF
#Cleaning the environment remove(list = ls()) #Installing necessary packages library(fpp3) ## ── Attaching packages ────────────────────────────────────────────── fpp3 0.5 ── ## ✔ tibble 3.2.1 ✔ tsibble 1.1.4 ## ✔ dplyr 1.1.3...
6486 sym R (7486 sym/49 pcs) 19 img
Discussion_15_2
data <- mtcars # Creating a binary outcome variable (1 for high mpg, 0 otherwise) data$high_efficiency <- ifelse(data$mpg > median(data$mpg), 1, 0) #Drop mpg as highly correlated to high_efficiency data <- subset(data, select = -mpg) # Load the corrplot library library(corrplot) ## corrplot 0.92 loaded # Create a correlation matrix using mtcars dat...
3186 sym R (3414 sym/21 pcs) 1 img
Discussion
data <- mtcars # Creating a binary outcome variable (1 for high mpg, 0 otherwise) data$high_efficiency <- ifelse(data$mpg > median(data$mpg), 1, 0) # Fit logistic regression model model <- glm(high_efficiency ~ cyl + disp + hp + drat + wt + qsec + vs + am + gear + carb, family = binomial(link = "logit"), data = data, ...
3189 sym R (3240 sym/21 pcs)
Discussion_!4
rm(list = ls()) I. library('stargazer') ## ## Please cite as: ## Hlavac, Marek (2022). stargazer: Well-Formatted Regression and Summary Statistics Tables. ## R package version 5.2.3. https://CRAN.R-project.org/package=stargazer 1. data = swiss summary(data) ## Fertility Agriculture Examination Education ## Min. :35.00 ...
5205 sym R (4513 sym/15 pcs) 1 img
Discussion_13
rm(list = ls()) #clear environment and remove all files from the workspace gc() #clear the unused memory ## used (Mb) gc trigger (Mb) limit (Mb) max used (Mb) ## Ncells 525901 28.1 1167874 62.4 NA 669400 35.8 ## Vcells 968927 7.4 8388608 64.0 16384 1851644 14.2 Choosing Dataset df = sleep head(df) ## extra grou...
505 sym Python (1588 sym/13 pcs) 1 img
Discusiion_13
rm(list = ls()) #clear environment and remove all files from the workspace gc() #clear the unused memory ## used (Mb) gc trigger (Mb) limit (Mb) max used (Mb) ## Ncells 525900 28.1 1167871 62.4 NA 669400 35.8 ## Vcells 968912 7.4 8388608 64.0 16384 1851644 14.2 Choosing Dataset df = sleep head(df) ## extra grou...
463 sym Python (1588 sym/13 pcs) 1 img