Quantcast
Channel: The Stata Blog - Latest Comments
Browsing all 1129 articles
Browse latest View live
↧

Re: Understanding matrices intuitively, part 2, eigenvalues and eigenvectors

Great Explanation..

View Article


Re: Understanding matrices intuitively, part 2, eigenvalues and eigenvectors

Amazing. Thank you. Please write more!

View Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: How to successfully ask a question on Statalist

i want too.

View Article

Re: 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 Article


Re: Maximum likelihood estimation by mlexp: A chi-squared example

Cute. Is this new in Stata 14?

View Article

Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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
Browsing all 1129 articles
Browse latest View live