subject
Mathematics, 16.06.2020 17:57 fayvetteville

We have seen hat adding useless predictors to a regression model will increase R2. Here, let's examine what our inference methods say if the predictors are infact useless. Suppose the true/pop fit is y 1(i. e, no x at all), and so a possible sample from the population could be the following: set. seed(123) # Use this line to make sure we all get the same answes
n = 20
y = 1 + rnorm(n,0,1)
a) write code to make data on 10 useless predictors(and no useful predictors), fit the model y = alpha + beta! x1 + + beta10 x10, perform the test of model utility, and perform t-tests on each of the 10 coefficients to see if they are zero. Show/turn-in your R code.
b) According to the F-test of model utility, are any of the predictors useful at alpha - 0.17
c) According to the t-tests, are any of the predictors useful at alpha-0.1? See the solns to make sure you understand the moral of this exercise

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 20:10
Heather is writing a quadratic function that represents a parabola that touches but does not cross the x-axis at x = -6. which function could heather be writing? fx) = x2 + 36x + 12 = x2 - 36x - 12 f(x) = -x + 12x + 36 f(x) = -x? - 12x - 36
Answers: 1
question
Mathematics, 21.06.2019 22:00
What is the solution to the equation e3x=12? round your answer to the nearest hundredth
Answers: 1
question
Mathematics, 21.06.2019 22:40
(10. in the figure, a aabc is drawn tocircumscribe a circle of radius 3 cm ,such thatthe segments bd and dc are respectively oflength 6 cm and 9 cm. find the length ofsides ab and ac.
Answers: 3
question
Mathematics, 21.06.2019 22:50
Aweekly newspaper charges $72 for each inch in length and one column width. what is the cost of an ad that runs 2 column inches long and 2 columns wide? its not 288
Answers: 1
You know the right answer?
We have seen hat adding useless predictors to a regression model will increase R2. Here, let's exami...
Questions
question
Mathematics, 22.04.2020 00:57
question
Biology, 22.04.2020 00:57
question
Mathematics, 22.04.2020 00:57
Questions on the website: 13722361