Publications by Anže Ambrožič

HOMEWORK 3

27.01.2024

Anže Ambrožič HOMEWORK 3 Research question: Can years of experiences and gender of an employee explain the differences in the salary? mydata <- read.table("./Salary Data.csv", header=TRUE, sep=",") #Importing dataset mydata$ID <- seq(1, nrow(mydata)) #Creating new variable called ID mydata <- mydata[, c(7, 6, 5, 2)] #Keeping variables I will ...

5644 sym R (12020 sym/63 pcs) 3 img

Homework 3

27.01.2024

Anže Ambrožič HOMEWORK 3 Research question: Can the size of house (area) and whether it has a guestroom explain the differences in the house prices? mydata <- read.table("./Housing.csv", header=TRUE, sep=",") #Importing dataset mydata <- mydata[, c(1, 2, 7)] #Keeping variables I will use for regression mydata$ID <- seq(1, nrow(mydata)) #Creat...

4778 sym R (7582 sym/53 pcs) 4 img

Homework 2

21.01.2024

Anze Ambrozic Homework 2 Research questions: Is there any relationship between gender and the decision to purchase a product? Is there any linear correlation between Age and Estimated Salary? mydata <- read.table("./Social_Network_Ads.csv", header=TRUE, sep=",") head(mydata) ## User.ID Gender Age EstimatedSalary Purchased ## 1 15624510 M...

3659 sym R (6752 sym/59 pcs) 2 img

Homework 2 Updated Version

19.01.2024

Anze Ambrozic Homework 2 Research questions: Is there any relationship between gender and the decision to purchase a product? Is there any linear correlation between Age and Estimated Salary? mydata <- read.table("./Social_Network_Ads.csv", header=TRUE, sep=",") head(mydata) ## User.ID Gender Age EstimatedSalary Purchased ## 1 15624510 M...

3310 sym R (6752 sym/59 pcs) 2 img

Homework 2

18.01.2024

Anze Ambrozic Homework 2 Research questions: Is there any relationship between gender and the decision to purchase a product? Is there any linear correlation between Age and Estimated Salary? mydata <- read.table("./Social_Network_Ads.csv", header=TRUE, sep=",") head(mydata) ## User.ID Gender Age EstimatedSalary Purchased ## 1 15624510 M...

3309 sym R (6752 sym/59 pcs) 2 img

HOMEWORK 1

13.01.2024

Anže Ambrožič Research question: Are there any differences in the number of games played by the players in 3 different seasons? StrikerPerformance <- read.csv("./StrikerPerformance.csv", header = TRUE, sep = ",") mydata <- StrikerPerformance[, c(14, 18, 22, 28, 30)] head(mydata) ## X15.16.games X16.17.games X17.18.games foot na...

3433 sym R (8994 sym/51 pcs) 3 img

TAKE HOME EXAM

24.09.2023

#TASK 1 ##ANŽE AMBROŽIČ DATA SET data() data(package = .packages(all.available = TRUE)) #install.packages("survival") library("survival") mydata <- force(transplant) head(mydata) ## age sex abo year futime event ## 1 47 m B 1994 1197 death ## 2 55 m A 1991 28 ltx ## 3 52 m B 1996 85 ltx ## 4 40 ...

6947 sym R (9696 sym/71 pcs) 6 img