Publications by Marjete

605 assignment 2

16.10.2023

ASSIGNMENT 2 Problem set 1 (1) Show that A^T (A) =/= (A)A^T in general. (Proof and demonstration.) (2)For a special type of square matrix A, we get A^T (A) = (A)A^T ; Under what conditions could this be true? (Hint: The Identity matrix I is an example of such a matrix). The proof can be found in the laws of matrix, AB =/= BA this same rule applies...

1855 sym

MVucinaj_Assignment3

17.10.2023

ASSIGNMENT 3 1. Problem set 1 (1) What is the rank of the matrix A? The rank is 4. A = 1 2 3 4 −1 0 1 3 0 1 −2 1 5 4 −2 −3 #use matrix function, list values per row, top to bottom, and you specify the number of rows to build matrix in R A <- matrix(c(1, 2, 3, 4, -1, 0, 1, 3, 0, 1, -2, 1, 5, 4, -2, -3), nrow = 4) rankMatrix(A) ## [1] 4 #...

2690 sym

world religions

21.08.2023

Note that although forcats is part of the “tidyverse”, it is not automatically loaded when you run library(tidyverse) Handy forcats functions for ggplot2 Comparing followers of world religions Source: https://en.wikipedia.org/wiki/List_of_religious_populations I was looking for a simple dataset with count data for many items to demonstrate ...

1054 sym R (3343 sym/9 pcs) 5 img

test20220906

06.09.2022

#Intro For this assignment I used a poll data set from fivethirtyeight, ‘Do You Know Where America Stands On Guns?’ focused on the opinions of Gun Control, which they asked about access, age, training ect that should be required from various survey results. Support is rated per question and the data also shows a breakdown of opinions bet...

1937 sym R (5464 sym/9 pcs)

Data 607.Hw3

18.09.2022

#1. Using the 173 majors listed in fivethirtyeight.com’s College Majors dataset [https://fivethirtyeight.com/features/the-economic-guide-to-picking-a-college-major/], provide code that identifies the majors that contain either “DATA” or “STATISTICS” majors <- read.csv(url('https://raw.githubusercontent.com/fivethirtyeight/data/master/co...

1953 sym R (3172 sym/18 pcs)

Document

05.10.2022

Assignment 6– Tidying and Transforming Data Create a .CSV file (or optionally, a MySQL database!) that includes all of the information above. You’re encouraged to use a “wide” structure similar to how the information appears above, so that you can practice tidying and transformations as described below. Read the information from your .CS...

1567 sym R (6076 sym/23 pcs)

607 Project2

10.10.2022

Data 607 - Project 2:The goal of this assignment is to give you practice in preparing different datasets for downstream analysis work. library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.3.6 ...

1299 sym R (1510119 sym/51 pcs) 6 img

XML and JSON

17.10.2022

#Assignment – Working with XML and JSON in R ###Pick three of your favorite books on one of your favorite subjects. At least one of the books should have more than one author. For each book, include the title, authors, and two or three other attributes that you find interesting. Take the information that you’ve selected about these three book...

1474 sym R (2654 sym/15 pcs)

hw8

17.10.2022

#Week 8 homework from Probability textbook ##11 on page 303 #A company buys 100 light bulbs, each of which has an exponential lifetime of 1000 hours. What is the expected time for the first of these bulbs to burn out? mu=1000 n=100 mu/n ## [1] 10 #10 hours is the expected time the first of the bulbs will burn out ##14 on page 303 #Assume that X1...

438 sym

NYT - APIs

31.10.2022

Assignment – Web APIs The New York Times web site provides a rich set of APIs, as described here: https://developer.nytimes.com/apis You’ll need to start by signing up for an API key. Your task is to choose one of the New York Times APIs, construct an interface in R to read in the JSON data, and transform it into an R DataFrame. library(tidyv...

445 sym R (5014 sym/12 pcs)