A mid-term exam assessing statistical analysis and hypothesis testing.
Charlotte Garcia
Contributor
4.8
50
5 months ago
Preview (4 of 11 Pages)
100%
Purchase to unlock
Page 1
Loading page ...
STAT 501βMid-Term Exam 2βSpring 2015βDue April 12Instructions: Use Word to type your answers within this document. Then, submit youranswers in the appropriate dropbox in ANGEL by the due date andwithin 3 hours ofdownloading the exam. The point distribution is located next to each question.1.(4x2=8points)State which of the following statements is TRUE and which isFALSE. For the statements that are false,explain why they are false.a.Removinganoutlier ina regressionanalysiswillresultin narrowerconfidence intervals.b.In a simple linear regression(SLR) model, ifalogtransformationisperformed on Xto remedysomenon-linearity, the mean value ofYis boundto change.c.In model selection, thehighestadjustedR2-value andthesmallest S-valuecriteria always yield the same "best" models.d.Regression models with different responses, but the samepredictorXmatrix,willhave the same leverage values.2.(3+3+4+4+3+3 = 20points)Open the βSalaryData.βThe datasetconsistsof currentsalaries(Salaryin thousands of dollars)for63individuals withinformationabouttheiryears of work experience(YrsExp)andhighest degree attained(Degree).Yourgoalis tofit a regression model to express the dependenceofY (Salary)on X(YrsExp) and Degree.a.Clearly definea set ofindicator variablesthat could be used in a regressionmodelto represent the qualitative variableDegree.[Hint: Think carefullyabout the number of indicator variables needed given the number of levels ofDegreeand use βBachelorβ as the reference level.]b.Write apopulation multiple linear regression equationfor predicting thecurrent salary in terms ofYrsExpand Degree.Since education levelcouldimpact thedependence of Y on X,the model should containaninteractioneffect betweenYrsExpand Degree, together with their main effects.[Hint:Your equation should include Y, X,theindicator variablesyou defined in part(a),interaction terms,andpopulationregression coefficients (Ξ²βs).]c.Conduct a hypothesistestforwhethertheaverage annual salary increaseper year of experience differs bylevel of education (i.e., test iftheslopesfortwo or moreDegree categoriesdiffer).Write out the null and alternativehypotheses, the test statistic, the p-value, and the conclusion.[Minitab v17:SelectSalary as the Response, YrsExp as the Continuous predictor, Degreeas the categorical predictor,click βModel,β select both YrsExp and Degreetogether in the Predictors box and click the Add button next to βInteractionsthrough order 2.βMinitab v16: Create interaction terms using Calc >Calculator before fitting the regression model.]d.Writeanew population regression equationbased on your conclusion to part(c). Fit this model and conduct twoseparatehypothesis testsfor whetherthemean salaryfor a fixed number of yearsβ experience differsbyeducationlevel. For each test, write out the null and alternative hypotheses, the teststatistic, the p-value, and the conclusion.
Page 2
Page 3
Page 4
Preview Mode
This document has 11 pages. Sign in to access the full document!