Pr - PowerPoint PPT Presentation

1 / 4
About This Presentation
Title:

Pr

Description:

Title: Pr sentation PowerPoint Author: i e Last modified by: Pareto Created Date: 1/29/2002 11:09:42 AM Document presentation format: Format A4 (210 x 297 mm) – PowerPoint PPT presentation

Number of Views:17
Avg rating:3.0/5.0
Slides: 5
Provided by: ie5
Category:
Tags: gamma

less

Transcript and Presenter's Notes

Title: Pr


1
Master Economics and Public Policy Ecole
Polytechnique ENSAE - Sciences Po Academic year
2009-2010 Quantitative sociology Basics on
GLM on stata 11
louis.chauvel_at_sciences-po.fr
2
  • What do we do today?
  • Overview on General Linar Model
  • Whats this? gtgeneralization of many kinds of
    regressions
  • Syntax gtglm vardep listofvarindep
    fweightweightvar if (condition), family(xxx)
    link(yyy)
  • comparison of models, etc. gt estimates store
    mod / estimates stats mod for the bics
  • On STATA 11 same as regression and logit ? for
    categorical indep var and ? for interactions

3
  • Categorical independent variables
  • no more xi
  • To change the reference category fvset base 2
    gender
  • Expression of interactions
  • for interaction without fist order
    variables
  • for interaction AND fist order variables

4
link()
family()
  • id log logit probit clog pow
    opower nbinomial loglog logc
  • -------------------------------------------------
    ----------------------------
  • Gaussian x x x
  • inv. Gau. x x x
  • binomial x x x x x x
    x x x
  • Poisson x x x
  • neg. bin. x x x
    x
  • gamma x x x

Family
glm option
-----------------------------------
-----
Gaussian(normal) family(gaussian)
inverse Gaussian
family(igaussian)
Bernoulli/binomial family(binomial)
Poisson
family(poisson)
negative binomial family(nbinomial)
gamma
family(gamma)
Link
function glm option
----------------------------
------------
identity link(identity)
log
link(log)
logit link(logit)
probit
link(probit)
complementary log-log link(cloglog)
odds power
link(opower )
power link(power
) negative
binomial link(nbinomial)
log-log
link(loglog)
log-complement link(logc)
Write a Comment
User Comments (0)
About PowerShow.com