Stata Commands

  • Uploaded by: Kaleenmadds
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Stata Commands as PDF for free.

More details

  • Words: 237
  • Pages: 1
Commands from Stata



Detecting Unusual and Influential Data o predict -- used to create predicted values, residuals, and measures of influence. o rvpplot --- graphs a residual-versus-predictor plot. o rvfplot -- graphs residual-versus-fitted plot. o lvr2plot -- graphs a leverage-versus-squared-residual plot. o dfbeta -- calculates DFBETAs for all the independent variables in the linear model. o avplot -- graphs an added-variable plot, a.k.a. partial regression plot.



Tests for Normality of Residuals o kdensity -- produces kernel density plot with normal distribution overlayed. o pnorm -- graphs a standardized normal probability (P-P) plot. o qnorm --- plots the quantiles of varname against the quantiles of a normal distribution. o iqr -- resistant normality check and outlier identification. o swilk -- performs the Shapiro-Wilk W test for normality.



Tests for Heteroscedasticity o rvfplot -- graphs residual-versus-fitted plot. o hettest -- performs Cook and Weisberg test for heteroscedasticity. o whitetst -- computes the White general test for Heteroscedasticity.

• • •

Tests for Multicollinearity o vif -- calculates the variance inflation factor for the independent variables in the linear model. o collin -- calculates the variance inflation factor and other multicollinearity diagnostics Tests for Non-Linearity o acprplot -- graphs an augmented component-plus-residual plot. o cprplot --- graphs component-plus-residual plot, a.k.a. residual plot. Tests for Model Specification o linktest -- performs a link test for model specification. o ovtest -- performs regression specification error test (RESET) for omitted

Related Documents

Stata Commands
May 2020 8
Stata
November 2019 15
Stata Introduction To Stata
November 2019 19
Stata Tutorial
November 2019 5
Taller Stata
May 2020 11
Stata Tutorial2
May 2020 5

More Documents from ""