Publications by Renida Kasa

The Normal Distribution - lab 4

01.10.2023

In this lab, you’ll investigate the probability distribution that is most central to statistics: the normal distribution. If you are confident that your data are nearly normal, that opens the door to many powerful statistical methods. Here we’ll use the graphical tools of R to assess the normality of our data and also learn how to generate rand...

11484 sym R (3929 sym/40 pcs) 18 img

Probability - Lab 3

25.09.2023

The Hot Hand Basketball players who make several baskets in succession are described as having a hot hand. Fans and players have long believed in the hot hand phenomenon, which refutes the assumption that each shot is independent of the next. However, a 1985 paper by Gilovich, Vallone, and Tversky collected evidence that contradicted this belief an...

13544 sym R (4011 sym/24 pcs) 2 img

Eigenshoes

25.09.2023

For this assignment, the goal was to use a set of data in the form of 17 different shoe images, and represent the images as matrices. The first set would have the most variance, and the second set would be an eigen-version set of those images, capturing the most essential elements of what makes each of the shoes different. Load all packages librar...

1246 sym R (2040 sym/11 pcs) 3 img

DATA607 Week 3 Assignment

18.09.2023

library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.2 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.2 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.2 ✔ tidyr 1.3.0 ## ...

2598 sym R (1436 sym/7 pcs)

DATA605 Assignment #3

18.09.2023

Problem set 1 What is the rank of the matrix A? A <- matrix(c(1,2,3,4, -1,0,1,3, 0,1,-2,1, 5,4,-2,-3), nrow = 4, ncol = 4,byrow=TRUE) print(A) ## [,1] [,2] [,3] [,4] ## [1,] 1 2 3 4 ## [2,] -1 0 1 3 ## [3,] 0 1 -2 1 ## [4,] 5 4 -2 -3 qr_decomp <- qr(A) ran...

1167 sym

DATA605 ASSIGNMENT #2

11.09.2023

DATA605 ASSIGNMENT #2 Problem Set1 1. Show that (A^T)A =/= (A*A^T) in general. (Proof and demonstration.) Proof: We know that the number of rows in a resulting multiplied matrix equals the number of rows of the first matrix, and the number of columns of the second matrix. Alternatively, if the first matrix, matrix A, is a mxn matrix, and its tra...

2769 sym

Drug Habits Reported by SAMDHA in 2012

11.09.2023

Data Analysis: How Baby Boomers Get High How do baby boomers get high? The answer might shock you! I analyzed data utilized by a fivethirtyeight article titled, “How Baby Boomers Get High”, published in 2015 by Anna Maria Barry-Jester, and Andrew Flowers. You can also check out the article here:http://fivethirtyeight.com/features/how-baby-boom...

3216 sym

Document

31.07.2023

How do certain neurocognitive abilities vary between control, schizophrenic, and schizoaffective groups? DATA EXPLORATION: library(ggplot2) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, ...

3351 sym R (2428 sym/11 pcs) 3 img

R Bridge Course HW 2

24.07.2023

install.packages(CO2) #1 c<-data.frame(CO2) summary(c) ## Plant Type Treatment conc uptake ## Qn1 : 7 Quebec :42 nonchilled:42 Min. : 95 Min. : 7.70 ## Qn2 : 7 Mississippi:42 chilled :42 1st Qu.: 175 1st Qu.:17.90 ## Qn3 : 7 Me...

626 sym

R Bridge Course HW1

16.07.2023

#1 - Loop for 12! #2 - Vector including 20-50 by 5 x<-seq(20,50,by=5) x ## [1] 20 25 30 35 40 45 50 #3 - Quadratic Formula quadForm=function(a,b,c){ x1=-(b-sqrt(b^2-4*a*c))/(2*a) x2=-(b+sqrt(b^2-4*a*c))/(2*a) return(c(x1,x2)) } quadForm(1,2,1) ## [1] -1 -1 quadForm(1,6,5) ## [1] -1 -5 quadForm(1,1,1) ## Warning in sqrt(b^2 - 4 * a * c): NaNs produc...

86 sym