Publications by Matthew Lucich

Data 605 HW 12

14.04.2022

df_who <- read.csv("who.csv") summary(df_who) ## Country LifeExp InfantSurvival Under5Survival ## Length:190 Min. :40.00 Min. :0.8350 Min. :0.7310 ## Class :character 1st Qu.:61.25 1st Qu.:0.9433 1st Qu.:0.9253 ## Mode :character Median :70.00 Median :0.9785 Median :0.9745 ## ...

3026 sym R (4798 sym/19 pcs) 6 img

Data 605 Discussion 12

13.04.2022

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? df_uk <- data.frame(datasets::Seatbelts) ...

1205 sym R (3529 sym/10 pcs) 5 img

Data 605 HW 11

10.04.2022

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 summary(cars) ## speed dist ## Min. : 4.0 Min. : 2.00 ## 1st Qu.:12.0 1st Qu.: 26.00 ## Median :15.0 Median : 36.00 ## Mean :15.4 Mean : 42.98 ...

959 sym R (1234 sym/8 pcs) 5 img

Data 605 HW 13

16.04.2022

1) Use integration by substitution to solve the integral below. \(\int 4 e^{-7x}dx\) Move constant \(4 \int e^{-7x}dx\) Use u-substitution \(u = -7x\) Solve for dx \(\frac{du}{dx} = -7\) \(dx = -\frac{1}{7}du\) Replace dx \(4 \int -\frac{1}{7} e^{u}du\) Substitute u back in and add constant \(-\frac{4}{7}e^{-7x}+C\) 2) Biologists are treating a ...

2552 sym R (501 sym/12 pcs)

Data 605 HW 15

23.04.2022

1) Find the equation of the regression line for the given points. Round any final values to the nearest hundredth, if necessary. independent <- c(5.6, 6.3, 7, 7.7, 8.4) dependent <- c(8.8, 12.4, 14.8, 18.2, 20.8) model <- lm(dependent ~ independent) summary(model) ## ## Call: ## lm(formula = dependent ~ independent) ## ## Residuals: ## 1 ...

4056 sym R (1419 sym/18 pcs)