by Alan A. Walker | Mar 14, 2022 | Computer and Web Programming : R Programming
Use “CAschools” dataset from “AER” package to practice out-of-sample prediction and robust standard error creation. First, perform out-of-sample prediction by randomly dividing the dataset into a training set and a test set (by a ratio of ~7/3) and testing the linear...
by Alan A. Walker | Mar 14, 2022 | Computer and Web Programming : R Programming
Write the r code and models for data. Question 1 [50 points] Formulate Poisson regression model of number of trips made by households as a function of • The number of persons normally resident in the household • The number of employed persons normally resident in the...
by Alan A. Walker | Mar 14, 2022 | Computer and Web Programming : R Programming
Assignment Part A Using the Salaries data set: library(car) # install.packages(“car”) if needed data(Salaries) 1. What are the basic mean salaries by discipline and rank conditioned on sex? 2. Show graphically these differences 3. Is this enough evidence...
by Alan A. Walker | Mar 13, 2022 | Computer and Web Programming : R Programming
Write code, create graphs using ggplot in R and matplotlib in Python, followed by the explanation for why it is the way it is as if you are explaining to a non-programmer. I need intensive guidance on this, I am not expecting a perfect score since I am a beginner...
by Alan A. Walker | Mar 13, 2022 | Computer and Web Programming : R Programming
Use the data below on potholes filled in the last 7 days in Chicago to answer the following questions. Turn in a knitted pdf document of your code and analysis. 1. Is the point pattern of lat longs clustered, random, or regular? Use the spatstat package to estimate...
by Alan A. Walker | Mar 12, 2022 | Computer and Web Programming : R Programming
Use the dataset songdata.csv to answer the following questions: 1. Which band/artist says love the most (per song)? The least? 2. Who is the most negative band in the data set (in terms of sentiment)? Positive? 3. Which band has the “best”...