Publications by Lydia Vanessa
ANLY 505 - Simulated Data and Linear Mixed Models
The statistical model: \(y_t = \beta_0 + \beta_1 * (Elevation_s)_t + \beta_2 * Slope_t + (b_s)_t + \epsilon_t\) Where: \(\beta_0\) is the mean response when both Elevation and Slope are 0 \(\beta_1\) is the change in mean response for a 1-unit change in elevation. Elevation is measured at the stand level, so all plots in a stand share a single...
1867 sym R (6493 sym/22 pcs)
Simulation data in R - Assignment 1
Directions The objective of this assignment is to introduce you to R and R markdown and to complete some basic data simulation exercises. Please include all code needed to perform the tasks. 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 s...
1358 sym R (6322 sym/17 pcs) 3 img
Diamond Data Model
Initial Visualization ggplot(diamonds, aes(cut,price)) + geom_boxplot() ggplot(diamonds, aes(color,price)) + geom_boxplot() ggplot(diamonds, aes(clarity,price)) + geom_boxplot() ggplot(diamonds, aes(carat, price)) + geom_hex(bins=50) Subset Data and replot diamonds2 <- diamonds %>% filter(carat <= 2.5) %>% mutate(lprice = log2(price...
1535 sym R (5230 sym/22 pcs) 15 img
NYCFlights data
Summarize Data daily <- flights %>% mutate(date = make_date(year, month, day)) %>% group_by(date) %>% summarize(n = n()) ## `summarise()` ungrouping output (override with `.groups` argument) ggplot(daily, aes(date, n)) + geom_line() Investigate Daily-Weekly Pattern daily <- daily %>% mutate(wday = wday(date, label = TRUE)) ggplot...
2259 sym R (8127 sym/35 pcs) 18 img
Missing data and Outliers
library(readr) setwd("~/LV work/ANLY 699/Research") AAL <- read_csv("AAL.csv") ## ## -- Column specification -------------------------------------------------------- ## cols( ## Date = col_date(format = ""), ## Open = col_double(), ## High = col_double(), ## Low = col_double(), ## Close = col_double(), ## `Adj Close` = col_...
3497 sym R (5447 sym/41 pcs) 3 img
Document
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...
2894 sym R (577018 sym/605 pcs) 9 img 1 tbl