Publications by Farhana Zahir
test dash
Yearly Vehicle Data Home ### Structure 'data.frame': 11 obs. of 11 variables: $ X : int 1 2 3 4 5 6 7 8 9 10 ... $ Year : int 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 ... $ Two.wheelers : int 38556026 41581058 47519489 51921973 58799702 64743126 691...
276 sym R (3378 sym/2 pcs) 10 img
Test01
Test publish ##Using read.csv data<-read.csv("workshop 2.csv") View(data) str(data) ## 'data.frame': 4521 obs. of 15 variables: ## $ age : int 30 33 35 30 59 35 36 39 41 43 ... ## $ job : chr "unemployed" "services" "management" "management" ... ## $ marital : chr "married" "married" "single" "married" ... ## $ education...
47 sym
FZahir_Assign15
library(tidyverse) Problem 01 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 ) Solution: df <- data.frame(x=c(5.6, 6.3, 7, 7.7, 8.4), y=c(8.8, 12.4, 14.8, 18.2, 20.8)) print (df) ## x y ## 1...
3838 sym R (1162 sym/8 pcs) 1 img
FZahir_Discussion15
Chapter 12.1, Exercise 7 Problem Give the domain and range of the multivariable function: \[f(x,y)=x^2+y^2+2\] Solution: \[0≤x^2+y^2+2\] \[−2≤x^2+y^2\] \[x^2+y^2≥−2\] \[D:{(x,y):x^2+y^2≥−2}\] \[Domain: D:{(x,y):x^2+y^2≥−2}\] \[f(0,0):0^2+0^2+2\] \[f(0,0):0+0+2\] \[f(0,0):2\] \[R:{(x,y):[2,∞]}\] \[Range: R:{(x,y):[2,∞]}\] ...
338 sym
FZahir_Discussion14
Problem 10 Ex 8.8 page 496 Problem 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 \[f(x)=ln(1+x)\] Solution by hand: The taylor series expansion is given by the following: \[ f(x)=\sum _{ n=0 }^{ \infty }{ \frac { { f }^{ n }(a) }{...
1794 sym R (770 sym/11 pcs) 1 img
FZahir_Discussion13
Problem 9 Ex 4.2 page 187 Problem A 24 ft ladder is leaning against a house while the base is pulled away at a constant rate of 1 ft/s. At what rate is the top of the ladder sliding down the side of the house when the base is: 1 foot from the house? 10 feet from the house? 23 feet from the house? 24 feet from the house? Solutions: 1 foot from...
1111 sym R (317 sym/8 pcs)
FZahir_Assign12
library(tidyverse) Dataset 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 TBF...
4724 sym R (4306 sym/23 pcs) 14 img
FZahir_Discussion12
Packages used library("tidyverse") ## -- Attaching packages ------------------------------------------------------------------- tidyverse 1.3.0 -- ## v ggplot2 3.3.0 v purrr 0.3.3 ## v tibble 2.1.3 v dplyr 0.8.5 ## v tidyr 1.0.2 v stringr 1.4.0 ## v readr 1.3.1 v forcats 0.5.0 ## -- Conflicts --------------------------...
2750 sym R (2072 sym/19 pcs) 5 img
FZahir_Assignment11
Problem Using the “cars” dataset in R, build a linear model for stopping distance as a function of speed and replicate the analysis of your textbook chapter 3 (visualization, quality evaluation of the model, and residual analysis.) Load the data attach(cars) summary(cars) ## speed dist ## Min. : 4.0 Min. : 2.0...
2215 sym R (1262 sym/8 pcs) 4 img