vrijdag 27 augustus 2010

Productcyclus van een theorie

  • creëren
  • corrigeren
  • repliceren
  • interpreteren
  • adviseren
  • executeren

donderdag 26 augustus 2010

Macro's in Stata

Ik heb nog steeds geen idee wat het verschil is tussen global en local macro's in de praktijk. Mocht ik tijd hebben, dan vind ik het wellicht hier:

http://data.princeton.edu/stata/programming.aspx

dinsdag 24 augustus 2010

Grafieken

Scatterplot with a regression line
http://www.ats.ucla.edu/stat/stata/faq/scatter.htm

Regression line with data fit
http://www.ssc.wisc.edu/sscc/pubs/4-25.htm

SPSS

I am a long time user of SPSS. For many years, it was all I knew, and I managed to write fairly complex macros in SPSS 16. Then I needed to make a lot of very similar graphs, looping over groups, and it just didn't do the job. That's when I switched to Stata and never looked back.

Because of collaboration and to convert very large datasets to SAS and Stata, I may use it every now and then. We have SPSS 20 and it is a little improved, having syntax highlighting and a more stable feel. The looks on the other hand are just childish and the language remains cumbersome.

The SPSS code manual is not very well organized. For help, you'd want to go to the UCLA website or to the SPSS forum. I do not post there anymore though.

vrijdag 20 augustus 2010

Inverted Mill's ratio / Heckmann's Lambda

Een kort berichtje om te zeggen dat:

  • De twee benamingen op dezelfde techniek slaan
  • De techniek bedoelt is om coëfficiënten te controleren voor een ontbrekende populatie
Voorbeeld
Loonevolutie van vrouwen steiler dan verwacht, niet omdat die zo steil is, maar omdat er uitval is along the way.

dinsdag 17 augustus 2010

Dummy's in Stata

zoals gewoonlijk, heel eenvoudig:

tab variable, generate(dummyvariableroot)

als je deze wil gebruiken in een analyse kan je de korte vorm toepassen door een asterisk achter de root te plaatsen:

regression depvar dummyvariableroot*

In een regressie zal er waarschijnlijk automatisch één dummy verdwijnen, maar als je zelf wilt kiezen welke dummy dan moet je het het manueel doen.

http://www.stata.com/support/faqs/data/dummy.html