{"id":431332,"date":"2018-10-02T00:27:29","date_gmt":"2018-10-02T00:27:29","guid":{"rendered":"https:\/\/essaypaper.org\/?p=42887"},"modified":"2018-10-24T08:31:26","modified_gmt":"2018-10-24T08:31:26","slug":"accounting-sta302-questions","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/accounting-sta302-questions\/","title":{"rendered":"Accounting-STA302 questions"},"content":{"rendered":"<div class=\"col-lg-10 col-md-9 col-sm-16\">\n<h2 class=\"form-control-static orderTopic\" title=\"STA302 questions\">STA302 questions<\/h2>\n<p>1. Fit a straight line to the data point and produce a plot of the data with the line of best fit superimposed.<br \/>\n( 20 Marks)<br \/>\n2. Give the least squares estimates \u02c6 \f0 and \u02c6 \f1 for the intercept \f0 and and slope \f1 in a simple linear<br \/>\nregression model. Repport also the least-squares equation arising from a least squares fit. ( 30 Marks)<br \/>\n3. Give an estimate of the variance \u001b2. ( 5 Marks)<br \/>\n4. At level 5%, test H0 : \f1 = 0 versus Ha : \f1 6= 0. What is the pvalue of your test ? ( 20 Marks)<br \/>\n5. Use the least-squares equation to estimate the mean E(Y |X = 2.5) . Find a 95% confidence interval for<br \/>\nE(Y |X = 2.5). Is 0 a feasible value for E(Y |X = 2.5). Give a reason to support your answer. ( 15<br \/>\nMarks)<br \/>\n6. Find a 95% prediction interval for y at x=2.5. ( 10 Marks)<br \/>\nExtra Credit Questions: The adequacy of model<br \/>\n1. plot( against the x values) the residuals ei, i = 1, . . . , n, from the fit;<br \/>\n2. Comment on the adequcy of the straight line model, based on the residual plot that is, comment on<br \/>\nwether the assumption of the least squares fitted and how they relate to the residual errors ei are met<br \/>\nby the observed data.<br \/>\nNote : Below you have the R code to read the data set<br \/>\n# Read in data set<br \/>\nfile1&lt;-&#8220;Ass1.txt&#8221;<br \/>\ndata1&lt;-read.table(file1,header=TRUE)<br \/>\nplot(data1$x,data1$y,pch=18)<br \/>\nx1&lt;-data1$x<br \/>\ny&lt;-data1$y\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>STA302 questions 1. Fit a straight line to the data point and produce a plot of the data with the line of best fit superimposed. ( 20 Marks) 2. Give the least squares estimates \u02c6 \f0 and \u02c6 \f1 for <a href=\"https:\/\/www.benedictsol.com\/blogs\/accounting-sta302-questions\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-431332","post","type-post","status-publish","format-standard","hentry","category-essay-paper-writing"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/431332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=431332"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/431332\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=431332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=431332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=431332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}