Publications by Sal Pollastro
ADEC 7810: Assignment 1
1 Directions The problem set is worth 100 points. Enter your answers in the empty code chunks. Replace “# your code here” with your code. Make sure you run this chunk before attempting any of the problems: library(tidyverse) 2 Basics Calculate \(2+2\): 2+2 ## [1] 4 Calculate \(2*3\): 2*3 ## [1] 6 Calculate \(\frac{(2+2)\times (3^2 + 5)}{(6/4...
2148 sym R (3830 sym/36 pcs) 6 img
Assignment: Problem Set 2 (ADEC 7810)
# Clear the workspace rm(list = ls()) # Clear environment gc() # Clear unused memory ## used (Mb) gc trigger (Mb) max used (Mb) ## Ncells 450076 24.1 966460 51.7 638942 34.2 ## Vcells 804307 6.2 8388608 64.0 1633064 12.5 cat("\f") # Clear the console Set-up and background The assignment is worth 100 poin...
9957 sym 3 img
MSAE 7810: Problem Set 4
# Clear the workspace rm(list = ls()) # Clear environment gc() # Clear unused memory ## used (Mb) gc trigger (Mb) max used (Mb) ## Ncells 450160 24.1 966700 51.7 638942 34.2 ## Vcells 804234 6.2 8388608 64.0 1633131 12.5 cat("\f") # Clear the console Set-up and background The assignment is worth 100 poin...
8083 sym 2 img
ADEC 7810 Problem Set 4
Set-up and background The assignment is worth 100 points. You should have the following packages installed: library(tidyverse) library(patchwork) library(kableExtra) library(margins) In this problem set you will summarize the paper “Imperfect Public Monitoring with Costly Punishment: An Experimental Study” (Ambrus and Greiner, AER 2012)...
6942 sym Python (3902 sym/16 pcs) 2 img 1 tbl
Discussion 4
I chose to use the EIA data on wind power generation over the years. Energy data is very interesting to me as it relates to my job but also shows the real data of what is happening in the industry. The wind generation data is in thousands of megawatt hours. For reference, the average household uses 10.7 MWh annually, according to the EIA. # Clear...
730 sym R (7253 sym/69 pcs) 9 img
HW1 Ch3 Exercises
R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within t...
4395 sym R (8871 sym/41 pcs) 30 img 1 tbl
HW1 CH7
Question 1 Half-hourly electricity demand for Victoria, Australia is contained in vic_elec. Extract the January 2014 electricity demand, and aggregate this data to daily with daily total demands and maximum temperatures. A. Plot the data and find the regression model for Demand with temperature as a predictor variable. Why is there a positive rel...
5352 sym R (10353 sym/39 pcs) 22 img
Discussion 3
I chose to use the EIA data on wind power generation over the years. Energy data is very interesting to me as it relates to my job but also shows the real data of what is happening in the industry. The wind generation data is in thousands of megawatt hours. For reference, the average household uses 10.7 MWh annually, according to the EIA. # Set w...
981 sym R (2649 sym/21 pcs) 2 img
ADEC 7460 Final: Kaggle Restaurant Visitor Forecasting
Install Packages # Clear the workspace rm(list = ls()) # Clear environment gc() # Clear unused memory cat("\f") # Clear the console library("feasts") library("seasonal") library("tsibble") library("tsibbledata") library("dplyr") library("ggplot2") library("forecast") library("fable") library("weathermetrics") librar...
889 sym R (320653 sym/113 pcs) 25 img
Kaggle Restaurant Reservation Forecasting
Install Packages # Clear the workspace rm(list = ls()) # Clear environment gc() # Clear unused memory cat("\f") # Clear the console library("feasts") library("seasonal") library("tsibble") library("tsibbledata") library("dplyr") library("ggplot2") library("forecast") library("fable") library("weathermetrics") librar...
889 sym R (39413 sym/113 pcs) 25 img