Laura Whiting2 days agoThe Recode Command - Data Management in StataThe recode command in Stata can be used to convert a continuous variable into a categorical variable, and can also be used to condense a...
KuaiKuai WangApr 6Stata中的模型诊断图之Residual vs Fitted Plot以及线性回归假设简述线性回归是概率统计学里最重要的统计方法, 它实际上是一种参数化的方法, 因而为了达到分析目的, 我们需要对模型设定一些假设. 我们有不同的工具可以用来诊断这些假设是否成立, 从而帮助我们判断线性拟合是否成立. 如果回归分析不满足这些假设, 那么分析的结果就会出现偏差....
Laura WhitingMar 30The lvr2plot Command - Linear Regression Post-Estimation PlotsThe lvr2plot command plots leverage against normalized squared residuals. It is sometimes also called an L-R plot. Use this plot after a...
KuaiKuai WangMar 29Stata中的模型诊断图之偏残差图以及非线性回归简述偏残差图(component plus residual plot)又称成分+残差图, 是在多元回归中常被用来诊断非线性的工具. 它与普通残差图 (residual plot) 的区别在于它用偏残差代替普通残差, 从而构建与预测变量Xi之间的散点图....
Laura WhitingMar 16The rvpplot Command - Linear Regression Post-Estimation PlotsThe rvpplot command plots a residual versus predictor plot, also known as an independent variable plot or a carrier plot. This is a graph...
KuaiKuai WangMar 5回归模型的设定误差检验 (RESET) 以及Stata里的RESET检验法函数形式误设 (functional form misspecification) 是多元回归模型中一个很常见的问题. 如果一个多元回归模型不能正确地解释因变量和所观测到的解释变量之间的关系, 那么这个模型就存在函数形式误设问题. 为了检验模型是否存在函数形式误设的问题,...
Laura WhitingMar 2The 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...
KuaiKuai WangMar 1Combining 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...