Question: 1- You run a linear regression model and you see that the t-statistic associated with the slope variable has a p-value of .00001. What is
1- You run a linear regression model and you see that the t-statistic associated with the slope variable has a p-value of .00001. What is your reaction?
I can't conclude anything with such a small p-value.
I should reject the null hypothesis for the slope, which means that the true slope is probably zero.
I should reject the null hypothesis for the slope, which means that the true slope is probably different from zero.
I should accept the null hypothesis for the slope, which means that the true slope is probably zero.
6- Suppose you enter the following 2 commands in R.
x <- rnorm(1000) y <- rnorm(1000)
If you obtain the correlation coefficient between x and y, what would you expect?
A positive value near 1.
A positive value near 0.
A negative value near -1.
A negative value near 0.
10- The diamonds dataframe in the ggplot2 data has two categorical variables - cut and color. Test the hypothesis that these two variables are independent. Use the 5% level of significance.
You ran this test using the lm function and the conclusion is that the hypothesis of independence should not be rejected.
You ran this test using the lm function and the conclusion is that the hypothesis of independence should be rejected.
You ran this test using the chisq.test function and the conclusion is that the hypothesis of independence should not be rejected.
You ran this test using the chisq.test function and the conclusion is that the hypothesis of independence should be rejected.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
