Skip to content

Commit

Permalink
gtools-1.8.1 (2021-08-27); added gglm to beta; various bug fixes
Browse files Browse the repository at this point in the history
Features

- Added `gglm` to estimate GLM models, including `logit`.

Bug Fixes

- Closes #78: if now passed raw/in double-quotes throughout the pipeline
- Closes #75: gunique returns 0s in r() when there are no obs
- Closes #74: gstats transform parses abbreviated targets
- Closes #72: Warning for gegen expressions without by group
- Fixed GLM issues generating de-meaned variables
- Fixed gegen nunique with multiple inputs
- Fixed bug in `gpoisson` where internal weights not copied correctly in loop.
- Various fixes to the docs.
  • Loading branch information
mcaceresb committed Aug 28, 2021
2 parents f2b7175 + d0a88f1 commit fad519e
Show file tree
Hide file tree
Showing 91 changed files with 15,836 additions and 541 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "generic-1.7.5-{build}"
version: "generic-1.8.1-{build}"

environment:
matrix:
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ open:
dolphin --split ~/todo/now/stata-gtools \
~/todo/now/stata-gtools/src &

# test xx src/test/test_gregress.do
# doc xx docs/usage/gpoisson.md (consolidate)
# doc xx docs/stata/gpoisson.sthlp (consolidate)
# ex xx docs/examples/glogit.do

# Update!
# -------
#
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ to provide a massive speed improvements to common Stata commands,
including: collapse, reshape, xtile, tabstat, isid, egen, pctile,
winsor, contract, levelsof, duplicates, unique/distinct, and more.

![Dev Version](https://img.shields.io/badge/stable-v1.7.5-blue.svg?longCache=true&style=flat-square)
![Stable Version](https://img.shields.io/badge/beta-v1.8.1-blue.svg?longCache=true&style=flat-square)
![Supported Platforms](https://img.shields.io/badge/platforms-linux--64%20%7C%20osx--64%20%7C%20win--64-blue.svg?longCache=true&style=flat-square)
[![Travis Build Status](https://img.shields.io/travis/mcaceresb/stata-gtools/master.svg?longCache=true&style=flat-square&label=linux)](https://travis-ci.org/mcaceresb/stata-gtools)
[![Travis Build Status](https://img.shields.io/travis/mcaceresb/stata-gtools/master.svg?longCache=true&style=flat-square&label=osx)](https://travis-ci.org/mcaceresb/stata-gtools)
Expand Down
7 changes: 5 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Program: build.py
# Author: Mauricio Caceres Bravo <mauricio.caceres.bravo@gmail.com>
# Created: Sun Oct 15 10:26:39 EDT 2017
# Updated: Sun Aug 25 12:39:07 EDT 2019
# Updated: Fri Aug 27 22:39:20 EDT 2021
# Purpose: Main build file for gtools (copies contents into ./build and
# puts a .zip file in ./releases)

Expand Down Expand Up @@ -119,6 +119,7 @@ def makedirs_safe(directory):
"greg.ado",
"gregress.ado",
"givregress.ado",
"gglm.ado",
"gpoisson.ado",
"gstats.ado",
"gduplicates.ado",
Expand All @@ -139,6 +140,7 @@ def makedirs_safe(directory):
"greg.sthlp",
"gregress.sthlp",
"givregress.sthlp",
"gglm.sthlp",
"gpoisson.sthlp",
"gstats.sthlp",
"gstats_transform.sthlp",
Expand Down Expand Up @@ -372,10 +374,10 @@ def makedirs_safe(directory):
copy2(path.join("docs", "stata", "gtoplevelsof.sthlp"), gdir)
copy2(path.join("docs", "stata", "gisid.sthlp"), gdir)
copy2(path.join("docs", "stata", "greshape.sthlp"), gdir)
copy2(path.join("docs", "stata", "gpoisson.sthlp"), gdir)
copy2(path.join("docs", "stata", "greg.sthlp"), gdir)
copy2(path.join("docs", "stata", "gregress.sthlp"), gdir)
copy2(path.join("docs", "stata", "givregress.sthlp"), gdir)
copy2(path.join("docs", "stata", "gglm.sthlp"), gdir)
copy2(path.join("docs", "stata", "gpoisson.sthlp"), gdir)
copy2(path.join("docs", "stata", "gstats.sthlp"), gdir)
copy2(path.join("docs", "stata", "gstats_transform.sthlp"), gdir)
Expand Down Expand Up @@ -406,6 +408,7 @@ def makedirs_safe(directory):
copy2(path.join("src", "ado", "greg.ado"), gdir)
copy2(path.join("src", "ado", "gregress.ado"), gdir)
copy2(path.join("src", "ado", "givregress.ado"), gdir)
copy2(path.join("src", "ado", "gglm.ado"), gdir)
copy2(path.join("src", "ado", "gpoisson.ado"), gdir)
copy2(path.join("src", "ado", "gstats.ado"), gdir)
copy2(path.join("src", "ado", "gduplicates.ado"), gdir)
Expand Down
Loading

0 comments on commit fad519e

Please sign in to comment.