(PRE)(消减错误的比例)

上传人:仙*** 文档编号:243983115 上传时间:2024-10-01 格式:PPT 页数:26 大小:496.50KB
返回 下载 相关 举报
(PRE)(消减错误的比例)_第1页
第1页 / 共26页
(PRE)(消减错误的比例)_第2页
第2页 / 共26页
(PRE)(消减错误的比例)_第3页
第3页 / 共26页
点击查看更多>>
资源描述
按一下以編輯母片標題樣式,按一下以編輯母片,第二層,第三層,第四層,第五層,*,*,*,Inference for Simple Regression,Social Research Methods 2109&6507,Spring 2006,March 15,16,2006,1,Regression Equation,Equation of a regression line:,(,y_hat,)=+,x,y=+,x,+,y=dependent variable,x=independent variable,=slope=predicted change in y with a one unit change in x,=intercept=predicted value of y when x is 0,y_hat,=predicted value of dependent variable,2,補充,:Proportional Reduction of Error(PRE)(,消減錯誤的比例,),PRE measures compare the errors of predictions under different prediction rules;contrasts a nave to sophisticated rule,R,2,is a PRE measure,Nave rule=predict,y_bar,Sophisticated rule=predict,y_hat,R,2,measures reduction in predictive error from using regression predictions as contrasted to predicting the mean of y,3,Example:SPSS Regression Procedures and Output,To get a,scatterplot,():,統計圖,(G),散佈圖,(S),簡單 定義(選,x,及,y,),To get a correlation coefficient:,分析,(A),相關,(C),雙變量,To perform simple regression,分析,(A),迴歸方法,(R),線性,(L),(選,x,及,y,)(還可選擇儲存預測值及殘差),4,SPSS Example:Infant mortality vs.Female Literacy,1995 UN Data,5,Example:correlation between infant mortality and female literacy,6,Regression:infant mortality vs.female literacy,1995 UN Data,7,Diagnosis:a residual plot,8,Global test-F,檢定,:,檢定迴歸方程式有無解釋能力,(,=0,),9,10,The regression model(,迴歸模型,),Note:the slope and intercept of the regression line are statistics(i.e.,from the sample data).,To do inference,we have to think of and as estimates of unknown parameters.,11,Regression as conditional means,Ways to think about regression:,Straight-line description of association,Prediction,Conditional means(,條件平均數,),Conditional mean:a mean computed conditional on the value of another variable,Regression line predicts the conditional mean of y given x,12,Assumptions for regression inference,Think about there as being a population or“true”regression line,Assumptions:,For any fixed value of x,the response(y)varies according to a normal distribution.Repeated responses y are independent of each other.,y,=+,x,(means of y conditional on x fall in a straight line),The standard deviation of y(call it)for each value of x is the same.The value of is unknown.,13,“True”regression line,14,Inference for regression,Population regression line:,y,=+,x,estimated from sample:,(,y_hat,)=a+,bx,b is an unbiased estimator(,不偏估計式,)of the true slope,and a is an unbiased estimator of the true intercept,15,Sampling distribution of a(intercept)and b(slope),Mean of the sampling distribution of a is,Mean of the sampling distribution of b is,16,Sampling distribution of a(intercept)and b(slope),Mean of the sampling distribution of a is,Mean of the sampling distribution of b is,The standard error of a and b are related to the amount of spread about the regression line(),Normal sampling distributions;with estimated use,t-distribution,for inference,17,The standard error of the least-squares line,Estimate (spread about the regression line using residuals from the regression),recall that residual=(y,y_hat,),Estimate the population standard deviation about the regression line()using the sample estimates,18,Estimate from sample data,19,Standard Error of Slope(b),The standard error of the slope has a sampling distribution given by:,Small standard errors of b means our estimate of b is a precise estimate of,SE,b,is directly related to s;inversely related to sample size(n)and,S,x,20,Confidence Interval for regression slope,A level C confidence interval for the slope of“true”regression line is,b t*,SE,b,Where t*is the upper(1-C)/2 critical value from the t distribution with n-2 degrees of freedom,To test the hypothesis H,0,:=0,compute the t statistic:,t=b/,SE,b,In terms of a random variable having the t,n-2 distribution,21,Significance Tests for the slope,Test hypotheses about the slope of.Usually:,H,0,:=0(no linear relationship between the independent and dependent variable),Alternatives:,H,A,:,0 or H,A,:,0,or H,A,:0,22,23,Statistical inference for intercept,We could also do statistical inference for the regression intercept,Possible hypotheses:,H,0,:=0,H,A,:0,t-test based on a,very similar to prior t-tests we have done,For most substantive applications,interested in slope(),not usually interested in,24,Regression:infant mortality vs.female literacy,1995 UN Data,25,Hypothesis test example,大華正在分析教育成就的世代差異,他蒐集到,117,組父子教育程度的資料。父親的教育程度是自變項,兒子的教育程度是依變項。他的迴歸公式是:,y_hat,=0.2915*x+10.25,迴歸斜率的標準誤差,(standard error),是,:0.10,在,=0.05,,大華可得出父親與兒子的教育程度是有關連的嗎?,對所有父親的教育程度是大學畢業的男孩而言,這些男孩的平均教育程度預測值是多少?,有一男孩的父親教育程度是大學畢業,預測這男孩將來的教育程度會是多少?,26,
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 管理文书 > 施工组织


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!