例解R语言在回归分析中的应用
时间:2024-06-03 22:26 来源:95521 作者:毕业论文 点击:次
摘要:房价问题在当今社会已经成为人民和政府首当关心的问题,它不仅影响整个国民经济总值,也越来越成为影响人民幸福度的决定性因素,因此研究影响房价的因素成为有助于在事实的基础上把握房地市场的发展规律,对整个国家的国民经济发展具有很大的意义,而作为专业研究统计分析的工具,R语言以它开源、免费及强大的功能包等优势应用越来越广,为专业的统计分析提供了一强用力的分析工具。R语言最初起源于国外,在国外R语言流行已久,运用很广,但在国内,R语言只是在最近几年随着大数据来渐渐多的走入大众的视野,它在国内还有很大的应用空间。 本文主要以商品房房价影响因素为代表的进行实例分析,通过对2006年到2015年十年的相关经济数据整理建立多元回归模型,从理论上讲,影响房价的因素多种多样,本案例选取了包括货币供应量、房地产投资开发额、城镇居民人均可支配收入、国民总收入、国内生产总值、房地产销售面积、建筑企业单位数在内的七个影响因素,通过R语言对多元回归分析的研究让大家对影响商品房房价的影响因素及各因素之间的关系有更深层次的了解。另外为了研究R语言在异方差性方面的应用,我们列举了研究从事农业经营的收入和其他收入对中国农村居民消费支出增长的影响,通过这个案例进一步展示R语言在异方差方面的运用. 本文主要运用R语言来实现对方程的建立与最小二乘检验及方程中的多重共线性、异方差及自相关性问题的检验与消除问题。 关键字:多元回归分析;R语言;多重共线性;异方差 Abstract:The problem of housing prices in today's society has become the first concern of the people and the government, it not only affects the whole national economic but also becomes the decisive factor of affecting the happiness of the people increasingly, so the factors that affect the housing prices become helpful on the basis of grasp the development of the land market law, the entire country's national economic development has great significance, and as a professional Research and statistical analysis tool, The R language is widely used in its open source, free and powerful function package ,providing a strong analytical tool for the professional statistical analysis. In this paper, we mainly analyze the influencing factors of commodity house price, and establish a multiple Regression model for the Relevant economic data from 2006 to 2015. In theory, there are many factors influencing house prices. In this case, it mainly includes the money supply, Real estate investment and development, per capita disposable income of urban Residents, gross national income, gross domestic product, Real estate sales area, the number of construction enterprises, including seven factors, The study of multivariate Regression analysis in R language gives us a deeper understanding of the influencing factors and the Relationship between the various factors. In addition to study the R language in heteroscedasticity applications, we list the Research of agriculture business income and other income influence on China's Rural consumer spending growth, through this case further demonstrate R the use of language in terms of heteroscedasticity In this paper, the use of R language to achieve the establishment of the equation and the least squares test and the equation of multicollinearity, heteroskedasticity and autocorrelation problem detection and elimination problems. Keywords: Multiple Regression analysis; R language; Multi collinearity; Heteroscedasticity 目录 第一章 绪论 1 1.1课题的应用背景 (责任编辑:qin) |