| Gabriel | I gave a lecture to my grad stats class today on Stata programming. Regular readers of the blog will have heard most of this before but I thought it would help to have it consolidated and … more →
Code and Culturegabrielrossman wrote 1 week ago: | Gabriel | I gave a lecture to my grad stats class today on Stata programming. Regular readers of t … more →
gabrielrossman wrote 2 weeks ago: | Gabriel | Tyler Cowen links to an NBER paper by Hoxby that shows that in recent decades, status so … more →
hoaiquoc wrote 2 weeks ago: dups [varlist] [ , drop expand(varname) key(varlist2) unique terse verbose ] Or duplicates drop tic … more →
hoaiquoc wrote 2 weeks ago: egen strata = group(product year) by strata, sort: egen meanmanfee = mean(manfee) by strata, sort: e … more →
hoaiquoc wrote 3 weeks ago: Note that for csv files, if there is a missing value, the space between the 2 commas must be NOTHING … more →
hoaiquoc wrote 3 weeks ago: When read from csv/txt and dates are in string format: insheet using eaccar.csv gen daten = date(dat … more →
changjx wrote 3 weeks ago: seb obs 30 gen t=_n+1 tsset t,d gen tx=_n+1+t tsset tx,d gen gap=tx-t format %9.0g t format %9.0g tx … more →
gabrielrossman wrote 3 weeks ago: | Gabriel | Yesterday I attended the ATS workshop on the new factor variables and margin syntax in S … more →
changjx wrote 4 weeks ago: mata: mata clear sysuse auto, clear reg price weight trunk mata b=st_matrix(“e(b)”) … more →
gabrielrossman wrote 4 weeks ago: | Gabriel | Sometimes you face a situation where it’s really hard to see what the null is beca … more →
sillycaterpillar wrote 1 month ago: We started STATA a few days ago and – gasp! – it has menus and help guides. Gee SAS, you … more →
hoaiquoc wrote 1 month ago: To install the winsor module in Stata: ssc install winsor … more →
howardchong wrote 1 month ago: I do not like the bult in stata editor. It makes reading stata do files a chore. I come a bit from t … more →
gabrielrossman wrote 1 month ago: | Gabriel | I wrote this little demo for my stats class to show how normal distributions result from … more →
howardchong wrote 1 month ago: I hear the phrase “what does it look when we weight the data” a lot. It confused me for … more →
gabrielrossman wrote 2 months ago: | Gabriel | I just realized that Stata SE/MP includes the console version of Stata. Since the Stata … more →
gabrielrossman wrote 2 months ago: | Gabriel | Two thoughts on Stata’s “shell” command (which let’s Stata acces … more →
gabrielrossman wrote 2 months ago: I fixed two bugs in Stata2Pajek and improved the documentation. To get it, type (from within Stata) … more →
gabrielrossman wrote 2 months ago: | Gabriel | I have previously complained about the lack of surface / contour graphs in Stata, first … more →