Skip to content

Commit

Permalink
Yet another documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
melff committed Jun 19, 2020
1 parent de37e87 commit 0d07672
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mclogit
Type: Package
Title: Multinomial Logit Models, with or without Random Effects or Overdispersion
Version: 0.8.4.1
Version: 0.8.4.2
Date: 2020-06-19
Author: Martin Elff
Maintainer: Martin Elff <[email protected]>
Expand Down
7 changes: 5 additions & 2 deletions pkg/man/dispersion.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ summary(update(house.mblogit, dispersion="Afroz"))
# 'as.data.frame' to a contingency table) the model has to be
# fitted with the optional argument 'from.table=TRUE':
house.mblogit.corrected <- mblogit(Sat ~ Infl + Type + Cont, weights = Freq,
data = housing, from.table=TRUE)
dispersion(house.mblogit.corrected,method="Afroz")
data = housing, from.table=TRUE,
dispersion="Afroz")
# Now the estimated dispersion parameter is no longer larger than 20,
# but just bit over 1.0.
summary(house.mblogit.corrected)
}

0 comments on commit 0d07672

Please sign in to comment.