10.07.2015 Views

Practice Midterm 2 1. Suppose that you wish to compare two means ...

Practice Midterm 2 1. Suppose that you wish to compare two means ...

Practice Midterm 2 1. Suppose that you wish to compare two means ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

use a chi square test <strong>to</strong> determine whether the data follows a Poisson distribution.Clearly state <strong>you</strong>r conclusion.5. <strong>Suppose</strong> <strong>you</strong> have observations (x i ,y i )fori =1,...,n and <strong>you</strong> want <strong>to</strong>run a linear regression where y is the target variable and x is the predic<strong>to</strong>rvariable.a) Write down the linear model equation for y i in terms of x i and explainthe assumptions about each term.b) Now consider the case of multiple linear regression where x i is nowa vec<strong>to</strong>r. The R function “summary” returns information on a fitted linearmodel, in particular the p-values of the estimated coefficients. What is themeaning of these p-values and how can they be used <strong>to</strong> improve the model?

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!