Social Work homework help

Social Work homework help. 1.    Use the data below to answer the following questions.Y:12,8,4,5X:1,2,3,4a.    Draw a scatter plot of X on Yb.    Calculate the sample estimates of ?0 and ?1Estimated regression equation:______________________c.    Draw the estimated regression of part (b) on part (a)’s graphd.    Interpret the estimates of ?0 and ?1Intercept:Slope:e.    Find the predicted value when X=5f.     Estimate and interpret the coefficient of determination R2R2=Interpretation:2.    Creating your own data. Open a Stata do file then copy and execute the following code:clear allset obs 100gen x = rnormal()gen u = rnormal()keep if x>0gen y = 10+15*x + 5*ureg y xtwoway (scatter y x) (lfit y x)a.    Paste the Stata output here (main window): b.    Paste the graph here:c.    Look closely and the data and the output and explain briefly what each line of code does.i.              set obs 100ii.             gen x = rnormal()iii.           gen u = rnormal()iv.            keep if x>0v.             gen y = 10+15*x + 5*uvi.            reg y xvii.          twoway (scatter y x) (lfit y x)

Social Work homework help

Posted in Uncategorized