Publications by Ahmed Elsaeyed

Ahmed_Elsaeyed_624_HW1

07.09.2024

Explore the following four time series: Bricks from aus_production, Lynx from pelt, Close from gafa_stock, Demand from vic_elec. Use ? (or help()) to find out about the data in each series. What is the time interval of each series? Use autoplot() to produce a time plot of each series. For the last plot, modify the axis labels and title. help(aus_p...

4110 sym Python (5612 sym/45 pcs) 30 img

AElsaeyed_FinalAssignment

20.05.2024

Probability I listed out the quantitative variables and then checked their skew. I ordered the skew by most skew to least. The most skewed variable is MiscVal, but I chose to use LotArea because its more interesting and relevant. The dependent variable is SalePrice. ## MiscVal PoolArea LotArea LowQualFinSF BsmtFinSF2 ## 24.42652...

6187 sym 8 img

AElsaeyed_Homework15

12.05.2024

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 ) Using least squares method, the formulas for the slope \(m\) and the y-intercept \(b\) are given by: \[ m = \frac{n\sum (xy) - \sum x \sum y}{...

5260 sym

AElsaeyed_Discussion15

12.05.2024

Page 711 Question 5 Evaluate \(f(x, y) = x^2y - x + 2y + 3\) at (1,2). The partial derivatives: \[ f(x, y) = x^2y - x + 2y + 3 \] Compute \(f_x(x, y)\): \[ f_x(x, y) = \frac{\partial}{\partial x} (x^2y - x + 2y + 3) \] Applying the derivative: \[\begin{align*} \frac{\partial}{\partial x} (x^2y) &= 2xy, \\ \frac{\partial}{\partial x} (-x) &= -1, \\ ...

1071 sym

AElsaeyed_Homework14

27.04.2024

Taylor Series Expansion • f (x) =1/ (1−x) • f (x) = e^x • f (x) = ln(1 + x) • f(x)=x^(1/2) For each function, only consider its valid ranges as indicated in the notes when you are computing the Taylor Series expansion. Please submit your assignment as an R- Markdown document. 1) \[ f(x) = \frac{1}{1-x} \] Starting with the derivatives of...

2840 sym

AElsaeyed_Discussion14

27.04.2024

Page 496 Question 25 Use the Taylor series given in Key Idea 8.8.1 to create the Taylor series of the given functions: \[ \cos(x^2) \] From Key Idea 8.8.1: The standard Taylor series expansion for \(\cos x\) is: \[ \cos x = \sum_{n=0}^{\infty} (-1)^n \frac{x^{2n}}{(2n)!} \] By substituting \(x^2\) for \(x\), we derive the series for \(\cos(x^2)\): ...

585 sym

AElsaeyed_Discussion12

15.04.2024

Using R, build a multiple regression model for data that interests you. Include in this model at least one quadratic term, one dichotomous term, and one dichotomous vs. quantitative interaction term. Interpret all coefficients. Conduct residual analysis. Was the linear model appropriate? Why or why not? https://www.kaggle.com/datasets/prakharrathi...

2405 sym 3 img

AElsaeyed_Homework12

15.04.2024

Question 1 Provide a scatterplot of LifeExp~TotExp, and run simple linear regression. Do not transform the variables. Provide and interpret the F statistics, R^2, standard error,and p-values only. Discuss whether the assumptions of simple linear regression met. Download the Data my_git_url <- getURL("https://raw.githubusercontent.com/AhmedBuckets/...

4802 sym 4 img

Document

08.04.2024

Download the Data my_git_url <- getURL("https://raw.githubusercontent.com/AhmedBuckets/SPS605/main/home_data.csv") price_data <- read.csv(text = my_git_url) Plotting Price against Square Feet Make Model price_sqft_model <- lm(price ~ sqft_living, data = price_data) Display Line of Best Fit ## integer(0) Look at the Summary ## ## Call: ## lm(f...

862 sym 4 img

AElsaeyed_Homework11

07.04.2024

Plotting the Data Fit a Linear Model I used the lm function to find the relationship between stopping distance and speed as a linear model. model <- lm(dist ~ speed, data = cars) Display Line of Best Fit ## integer(0) Look at the Summary ## ## Call: ## lm(formula = dist ~ speed, data = cars) ## ## Residuals: ## Min 1Q Median 3Q...

2584 sym 4 img