# hw3_BowenXiao.pdf - hw3_BowenXiao Bowen Xiao Problem 1 1.1...

• Homework Help
• 6
• 100% (1) 1 out of 1 people found this document helpful

This preview shows page 1 - 3 out of 6 pages.

hw3_BowenXiaoBowen XiaoJanuary 25, 2018Problem 11.1As we can see in the following scatterplot matrix, marginal plot of Y versus X2 shows their positive linearrelationship ignoring X1. Marginal plot of Y versus X1 shows their positive linear relationship ignoring X2.Besides, X1 and X2 are positive linearly correlated.So marginal scatterplots for Y versus X1 and X2 are NOT going to be informative for the strength of linearrelationship between the predictor and each of the covariates in the multiple regression, since their roles inpredicting the response will be overlapping.library(alr4)X1<-Rateprof\$easinessX2<-Rateprof\$raterInterestY<-Rateprof\$qualitypairs(~Y+X1+X2,main="Scatterplot Matrix")Y1.52.53.54.51.53.04.51.53.04.5X11.52.53.54.51234512345X2Scatterplot Matrix1
1.2From the following table, we can see that estimated residual variance, also called residual mean square isˆσ2=RSSn-3= 0.387, which is an unbiased estimator of variance of, orσ2. It measures deviations from anexact linear relationship between predictor and covariates, which may include measurement error, unobservedvariabes, inherent randomness, etc.The coefficient of determination isR2= 1-RSSSY Y=Corr(Y,ˆY)2= 0.45, which is also the square of thesample correlation between observed and fitted values. It provides a measure of how well observed outcomesare replicated by the model, more specifictly, 45% of total variation of outcomes can be explained by themodel.
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8626035451889038, "perplexity": 2820.9957187795258}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2021-43/segments/1634323585450.39/warc/CC-MAIN-20211022021705-20211022051705-00640.warc.gz"}