Re: Understanding matrices intuitively, part 2, eigenvalues and eigenvectors
Amazing. Thank you. Please write more!
View ArticleRe: Understanding matrices intuitively, part 2, eigenvalues and eigenvectors
Great article! Here's another article that helps explain eigenvectors and eigenvalues intuitively: http://www.austinadee.com/wpbl...
View ArticleRe: Using Stata’s random-number generators, part 1
HI William,How would I go about generating a random dummy variable, for a falsification test, i.e. a variable that randomly allocates values 0 or 1 into a vector?Kind Regards,Russell
View ArticleRe: Spotlight on irt
Thank you for this. I'm new to STATA. I'm eager to learn about how IRT models can be extended to hierarchical/longitudinal data, specifically repeated measures data. However, I'm struggling to find...
View ArticleRe: Export tables to Excel
You can use if with tabstat to get the results you want.sysuse auto, clearby for: tabstat mpgtabstat mpg if for == 0, savematrix a = r(StatTotal)putexcel A1=(a) ...tabstat mpg if for == 1, savematrix a...
View ArticleRe: Export tables to Excel
There is not an unstack option, but you can transpose a matrix before using putexcel.. sysuse auto, clear(1978 Automobile Data). tab for, matcell(freq) Car type | Freq. Percent...
View ArticleRe: Retaining an Excel cell’s format when using putexcel
You are correct. tab2xl does not work with string variables. I will have to update the command to handle this.
View ArticleRe: Export tables to Excel
Hi Kevin, I am using STATA 11. Is there any way to incorporate the putexcel functionality into STATA 11. Or some code that will achieve the equivalent? I am very new to using STATA so please 'dumb it...
View ArticleRe: Fixed Effects or Random Effects: The Mundlak Approach
Enrique, this is the CRE model you mentioned to me in Statalist, isn't it? I understand the test and the logic behind it. However, I have several comments. When estimating the model with both the...
View ArticleRe: Fixed Effects or Random Effects: The Mundlak Approach
Hello Alfonso,With regard to estimation, if the assumptions about the form of the time-invariant component (alpha) are satisfied, and you have strict exogeneity, the fixed-effects estimator should give...
View ArticleRe: Fixed Effects or Random Effects: The Mundlak Approach
Hi Enrique, as I said I understand the test and agree that is a good alternative to Hausman's. My point is that I think it's more explicit than the Hausman test in testing that the between effect is...
View ArticleRe: Fixed Effects or Random Effects: The Mundlak Approach
Hi Alfonso,I agree that you loose information when you use the fixed-effects model. Also, I agree with your characterization of the scope of the tests I discuss.
View ArticleRe: Programming an estimation command in Stata: Global macros versus local...
I used globals in two of my estimation commands: -denormix- (univariate normal mixtures; superseded by Partha Deb's -fmm- by now which itself may be considered dated these days, although I am sure it...
View ArticleRe: Maximum likelihood estimation by mlexp: A chi-squared example
Cute. Is this new in Stata 14?
View ArticleRe: Monte Carlo simulations using Stata
My two cents:1. I like saving the replication number so that my simulated data set has a natural id variable; see -help isid-.2. You can check how close the simulated value to the expected "true" value...
View ArticleRe: Programming an estimation command in Stata: Global macros versus local...
The way I have always thought about it is that globals are only useful if you are going to need to access them from different subprocedures. They become useful when all subprocedures need to access the...
View ArticleRe: Including covariates in crossed-effects models
I have a question, how should I interpret the Random effect parameters table when the effect is crossed and not nested? Thanks! agustina
View ArticleRe: Multilevel linear models in Stata, part 1: Components of variance
Great tutorial. I have a question, how should I interpret the Random effect parameters (the covariance) when the effects are crossed? I have been searching a lot and I can't find an answer. Thanks!...
View Article