KuaiKuai Wang2 days ago回归模型的设定误差检验 (RESET) 以及Stata里的RESET检验法函数形式误设 (functional form misspecification) 是多元回归模型中一个很常见的问题. 如果一个多元回归模型不能正确地解释因变量和所观测到的解释变量之间的关系, 那么这个模型就存在函数形式误设问题. 为了检验模型是否存在函数形式误设的问题, ...
Laura Whiting5 days agoThe cprplot and acprplot Commands - Linear Regression Post-Estimation PlotsA component-plus-residual plot is used to identify non-linearity in the independent variables of a multiple regression model. There is al...
KuaiKuai Wang6 days agoCombining graphs and including a common legend in StataBelow is a worked example: Please note that this uses the user written command grc1leg which must be downloaded first using the below com...
KuaiKuai WangFeb 25Stata入门 - 如何导入Excel电子表格在使用Stata做数据分析时, 我们经常需要导入数据库. 其中最为常见的就是导入Excel电子表格. 在这篇文章里, 我会为大家详细介绍如何将Excel电子表格中的数据导入Stata. 将Excel电子表格导入Stata有两种途径 : 一种是通过下拉菜单手动选择需要导入的文...
KuaiKuai WangFeb 24Stata里的多重共线性检验-方差膨胀系数 (VIF)自变量的多重共线性问题是多元线性回归分析中最常见的问题之一, 它是指一个解释变量的变化引起另一个解释变量的变化. 按照我们的假设, 一个线性模型中的各个变量应该是各自独立的, 根据回归分析结果, 就能知道哪个自变量对因变量有显著影响. 如果各个自变量之间有很强的线性关系, ...
Laura WhitingFeb 22A Sequence Plot in StataA sequence plot is for a very specific type of dataset, one where there are many sequences all made up of the same elements but in differ...
Laura WhitingFeb 22Another Density Heat Map in StataTo create this density heat map in Stata you need three commands – spgrid, spkde, and mylabels. You can download the three non-native com...
Laura WhitingFeb 22Create and Combine Graph of Every Numeric Variable in DatasetYou can use foreach{} loops along with the ds command to loop through all numeric variables in your dataset and apply the same graph to e...