Recently Published
Final Project
Chi-Squared Test of Independence:
Inoculation status VS Mortality
Group 5 [S.R, J.Z, PK] Cornell Project
Analysis on the Sleep Dataset
Other Costs
Other_Costs
PSYCH 251: Final Project
Replication of Muenks et al's paper
Gasoline Prices in New York State – Weekly and Quarterly Trends
This code sets up a two-row plotting layout with par(mfrow = c(2,1)) and increases the bottom margin using mar = c(6,4,4,2) to make space for text. The first plot displays weekly gasoline prices in New York State as a red line, with a descriptive paragraph added below using mtext() to explain the dataset, the observed trends in 2025, the units in dollars per gallon, and the weekly variations across the state. The second plot shows quarterly average prices in green, again with a paragraph added below describing that the data is aggregated from weekly values, highlighting smoothed trends, units, and long-term price movements in New York State. The cex = 0.8 parameter reduces the text size so the paragraphs fit neatly under the plots.