Publications by Julia Ferris
Document
Load Libraries library(sf) ## Warning: package 'sf' was built under R version 4.3.2 ## Linking to GEOS 3.11.2, GDAL 3.7.2, PROJ 9.3.0; sf_use_s2() is TRUE library(tigris) ## Warning: package 'tigris' was built under R version 4.3.3 ## To enable caching of data, set `options(tigris_use_cache = TRUE)` ## in your R script or .Rprofile. library(dplyr)...
55 sym R (4085 sym/22 pcs)
Document
Pull in the data. project1_624 <- read.csv("https://raw.githubusercontent.com/juliaDataScience-22/project1-624/main/project1_624.csv") View(project1_624) s02 <- project1_624[project1_624$category == "S02", ] s06 <- project1_624[project1_624$category == "S06", ] Then show some graphs plot(s02$Var02) plot(s02$Var03) plot(s06$Var05) Then foreca...
797 sym R (59411 sym/84 pcs) 15 img
Discussion Week 15
Chapter 12 Page 711 Questions 22-24 For all questions, find fx, fy, fxx, fyy, fxy, and fyx: Question 22: \(f(x, y) = 5x - 17y\) \(f_x = 5\) \(f_y = -17\) \(f_xx = 0\) \(f_yy = 0\) \(f_xy = 0\) \(f_yx = 0\) Question 23 \(f(x, y) = 3x^2 + 1\) \(f_x = 6x\) \(f_y = 0\) \(f_xx = 6\) \(f_yy = 0\) \(f_xy = 0\) \(f_yx = 0\) Question 24 \(f(x, y) = ln(x...
1302 sym
Homework 15
Load libraries. library(glue) Question 1: Find the equation of the regression line for the given points. Round any final values to the nearest hundredth, if necessary. ( 5.6, 8.8 ), ( 6.3, 12.4 ), ( 7, 14.8 ), ( 7.7, 18.2 ), ( 8.4, 20.8 ) Answer: y = 4.26x - 14.8 x <- c(5.6, 6.3, 7, 7.7, 8.4) y <- c(8.8, 12.4, 14.8, 18.2, 20.8) new_lm <- lm...
4165 sym R (967 sym/16 pcs) 1 img
Discussion Week 14
Page 496 Question 8 Find a formula for the nth term of the Taylor series of f(x), centered at c, by finding the coefficients of the first few powers of x and looking for a pattern. Show work verifying the formulas in Key Idea 8.8.1. f(x) = 1/x c = 1 \(\sum_{n=0}^{\infty} \frac{f^{(n)}(c)}{n!}(x - c)^n\) \(\sum_{n=0}^{\infty} \frac{f^{(n)}(1...
926 sym
Homework 14
Assignment: For each function, work out some Taylor Series expansions of popular functions. Only consider its valid ranges as indicated in the notes when you are computing the Taylor Series expansion. Question 1: \(f(x) = \frac {1} {1 - x}\) The bounds for this case are when the absolute value of x is less than 1. This means the range is when ...
1465 sym
Homework 13
Question 1: Use integration by substitution to solve the integral below: \[ \int 4 e^{-7x} \ dx \] Steps: \[ \int 4 e^{-7x} \ dx \] \[ \int 4 e^{u} \ \frac{du}{-7} \] \[ -\frac{4}{7} \int 4 e^{u} \ dx \] \[ -\frac{4}{7}e^{u} + C \] \[ -\frac{4}{7}e^{-7x} + C \] Question 2: Biologists are treating a pond contaminated with bacteria. Th...
4727 sym R (257 sym/1 pcs) 1 img
Discussion Week 13
Page 377 Questions 13 and 15 A region of the Cartesian plane is described. Use the Shell Method to find the volume of the solid of revolution formed by rotating the region about each of the given axes for questions 13 and 15. The Shell Method: Let a solid be formed by revolving a region R, bounded by x = a and x = b, around a vertical axis. Let ...
1179 sym
Discussion Week 12
Introduction: CPI - The Consumer Price Index The data set shows information about the consumer price index, or CPI. This provides summary costs of a representative market basket of goods. The data can be used to determine salaries for employees or inflation changes. The index used in the given data compares each location to New York City. For e...
9662 sym R (18297 sym/44 pcs) 9 img
Homework 12 - DATA 605
The attached who.csv dataset contains real-world data from 2008. The variables included follow: Country: name of the country LifeExp: average life expectancy for the country in years InfantSurvival: proportion of those surviving to one year or more Under5Survival: proportion of those surviving to five years or more TBFree: proportion of the popul...
5980 sym 7 img