When is it more appropriate to use cov() vs corr() for the residual structures for panel data?
Example Code:
xtpoisson Outcome CovariateA##CovariateB CovariateC CovariateD, exposure(area) corr(exchangeable)
xtnbreg Outcome CovariateA##CovariateB CovariateC CovariateD, exposure(area) corr(independent)
mepoisson Outcome CovariateA##CovariateB CovariateC CovariateD, exposure(area) || GroupID:, covariance(unstructured)
menbreg Outcome CovariateA##CovariateB CovariateC CovariateD, exposure(area) || GroupID:, covariance(unstructured)
glm Outcome CovariateA##CovariateB CovariateC CovariateD, exposure(area) vce(robust) family(gamma) link(identity)
Related Posts with What is the difference between corr() and cov() with panel data?
RE model with AR(1), heteroskedasticity, and serial correlationHello everyone! My name is Evgeny and i want to ask you to help me. In my panel data a RE model was …
Generating values in a variable through two other variables in the datasetHi! I need help to create the values in a variable automatically from two other variables. My data …
Building a panel dataset from individual level data using loopsHi guys, I am quite new to Stata and I can't find a solution to the following problem: I am workin…
Panel Date IV Regression, Fixed EffectsHello! I am running an IV Fixed Effects Regression with Panel Data. I have t=4 (1995-1998), N=550 d…
Box plot - Only lable Most extreme outliersDear Statalists, after going through several tutorials and information about box plots in Stata, I …
Subscribe to:
Post Comments (Atom)
0 Response to What is the difference between corr() and cov() with panel data?
Post a Comment