STAT 462 Homework 3 Solutions (Penn State University)

$15.00

STAT 462 Homework 3 Solutions (Penn State University)

Category:

Description

STAT 462 Homework 3 Solutions (Penn State)

Problem 1 (a) [6 points]

Homework 3 Solutions

September 16, 2016

x <- seq(-4, 4, by = 0.01) y <- dt(x, df = 5) z <- dnorm(x) plot(x, y, type = 'l') lines(x, z, col = 'red', lty = 2) Problem 2 (a) [6 points] β0 is the expected value of Yi when Xi = 0. If Xi = 0 is within the scope of the model, then it makes sense to take β0 as meaningful. Be careful not to extrapolate based on a linear model. Problem 3 (a) [6 points] sigma <- 1.4 beta0 <- 5 Problem 4 yhat <- b0 + b1 * x ( MSE <- sum((y - yhat)^2)/98 ) x <- c(1, 0, 2, 0, 3, 1, 0, 1, 2, 0) y <- c(16, 9, 17, 12, 22, 13, 8, 15, 19, 11)

Reviews

There are no reviews yet.

Be the first to review “STAT 462 Homework 3 Solutions (Penn State University)”