Question

In: Statistics and Probability

Given student data: USING R y=c(81.72, 91.5, 90, 75.21, 68.11, 95.27, 95, 89.71, 92.5) x1=c(60, 62,...

Given student data: USING R

y=c(81.72, 91.5, 90, 75.21, 68.11, 95.27, 95, 89.71, 92.5)

x1=c(60, 62, 68, 59, 61, 70, 70, 65, 66)

x=c('B', 'A', 'B', 'A', 'A', 'B', 'B', 'B', 'A')

Y represents the grade scores per semester , x1 represents the student’s height in inches, and x2 represents the major( A = architecture, B = business)

Question 1

1. Build a linear regression model relating grade scores y to student height x1 and the type of major x2.

2. Test whether the type of major relates to the student performance using alpha = 0.05

3. Comment on model adequacy by performing a residual analysis.

Question 2

Alter the model developed in question 1 to add an interaction term between student height and the type of major.

1. Does the interaction term have a significant effect on the student performance using alpha=0.05?

2. Is there an effect of the type of major on student performance?

3. Comment on model adequacy by performing a residual analysis.

Which model should we choose?

Solutions

Expert Solution

Question 1 with 3 sub parts is completely solved.

Request: Please post the next question as a separate question to be answered. It helps to provide a detailed solution.


Related Solutions

Given student data: USING R please y=c(81.72, 91.5, 90, 75.21, 68.11, 95.27, 95, 89.71, 92.5) x1=c(60,...
Given student data: USING R please y=c(81.72, 91.5, 90, 75.21, 68.11, 95.27, 95, 89.71, 92.5) x1=c(60, 62, 68, 59, 61, 70, 70, 65, 66) x=c('B', 'A', 'B', 'A', 'A', 'B', 'B', 'B', 'A') Y represents the grade scores per semester , x1 represents the student’s height in inches, and x2 represents the major( A = architecture, B = business) Question 1 1. Build a linear regression model relating grade scores y to student height x1 and the type of major...
Data: Linear Regression x=c(1,4,8,19,6,20) y=c(32,13,67,18,15,29) Using R, Plot the 95% prediction and confidence bands. How would...
Data: Linear Regression x=c(1,4,8,19,6,20) y=c(32,13,67,18,15,29) Using R, Plot the 95% prediction and confidence bands. How would you plot these bands? Can you please provide an example picture of the plot?
Given the following students' test scores (95, 92, 90, 90, 83, 83, 83, 74, 60, and...
Given the following students' test scores (95, 92, 90, 90, 83, 83, 83, 74, 60, and 50), identify the mean, median, mode, range, variance, and standard deviation for the sample. Write a 500-750-word summary and analysis discussing the results of your calculations. State your results for the sample: the mean, median, mode, range, variance, and standard deviation Explain which method is best for this data set. Why? Conduct a one sample T-test and interpret the results (use a population mean...
Given the following students' test scores (95, 92, 90, 90, 83, 83, 83, 74, 60, and...
Given the following students' test scores (95, 92, 90, 90, 83, 83, 83, 74, 60, and 50), identify the mean, median, mode, range, variance, and standard deviation for the sample. Write a 500-750-word summary and analysis discussing the results of your calculations. State your results for the sample: the mean, median, mode, range, variance, and standard deviation Explain which method is best for this data set. Why? Conduct a one sample T-test and interpret the results (use a population mean...
Given the following students' test scores (95, 92, 90, 90, 83, 83, 83, 74, 60, and...
Given the following students' test scores (95, 92, 90, 90, 83, 83, 83, 74, 60, and 50), identify the mean, median, mode, range, variance, and standard deviation for the sample. Write a 500-750-word summary and analysis discussing the results of your calculations. State your results for the sample: the mean, median, mode, range, variance, and standard deviation Explain which method is best for this data set. Why? Conduct a one sample T-test and interpret the results (use a population mean...
Given the following economy: Y = C(Y - T) + I(r) + G C(Y - T)...
Given the following economy: Y = C(Y - T) + I(r) + G C(Y - T) = a + b(Y - T) I(r) = c - dr M/P = L(r,Y) L(r,Y) = eY - fr i. Solve for Y as a function of r, the exogenous variables G and T, and the model's parameters a, b, c, and d. ii. Solve for r as a function of Y, M, P, and the parameters e and f. iii. Derive the aggregate...
Complete parts​ (a) through​ (h) for the data below. x- 40, 50, 60, 70, 80 y-62,...
Complete parts​ (a) through​ (h) for the data below. x- 40, 50, 60, 70, 80 y-62, 58, 55, 47, 33 B) Find the equation of the line containing the points (50, 58) and (80, 33) y=__x+(__) D) By hand, determine the least-squares regression line The equation of the​ least-squares regression line is given by ModifyingAbove y with caret equals b 1 x plus b 0y=b1x+b0 where b1 equals r times StartFraction s Subscript y Over s Subscript x EndFractionb1=r•sysx is...
Using the data, determine whether the model using (x1, x2, x3, x4) to predict y is...
Using the data, determine whether the model using (x1, x2, x3, x4) to predict y is sufficient, or should some or all other predictors be considered? Write the full and reduced models, and then perform the test. Show your work and state your conclusion, but you do not need to specify your hypothesis statements. y 60323 61122 60171 61187 63221 63639 64989 63761 66019 67857 68169 66513 68655 69564 69331 70551 x1 83 88.5 88.2 89.5 96.2 98.1 99 100...
uConstruct confidence intervals for the population mean of 80%, 90%, 95%, 99% using the following data...
uConstruct confidence intervals for the population mean of 80%, 90%, 95%, 99% using the following data and a population standard deviation of 900: un = 100 u?x ̅ = 425
A student was asked to find a 90% confidence interval for widget width using data from...
A student was asked to find a 90% confidence interval for widget width using data from a random sample of size n = 20. Which of the following is a correct interpretation of the interval 11.8 < μ < 21.7? Check all that are correct. The mean width of all widgets is between 11.8 and 21.7, 90% of the time. We know this is true because the mean of our sample is between 11.8 and 21.7. With 90% confidence, the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT