Releases: jamesdunham/dgo
Releases · jamesdunham/dgo
Release list
v0.2.14
v0.2.13
- Fix an issue introduced in v0.2.12 that led to an unexpected error in
shape()when 1) at least twogroup_namesare specified in an order other
than alphabetic and 2) geographicmodifier_datais used.
v0.2.12
- Allow modeling of unobserved groups using aggregated data. The previous behavior was to drop rows in
aggregate_dataindicating zero trials. (They don't represent item responses.) Preserving them has the effect that unobserved groups, defined partially or entirely by the values of the grouping variables in zero-trial rows inaggregate_data, can be included in a model. - Fix an unexpected error when 1)
aggregate_datais used withoutitem_data, 2) no demographic groups are specified viagroup_names, and 3) geographicmodifier_datais used. - Fix the check for missing
modifier_data. Geographicmodifier_datamust cover all combinations of the geo and time variables in the item response data (individual or aggregated), but because of a bug in the validation of the geographic data, this requirement was not always enforced. In some cases a warning would appear instead of an error.
v0.2.11
- Add poststratification over posterior samples (closes #21).
shape()now accepts aggregated item response data unaccompanied by
individual-level item response data. Theitem_dataanditem_names
arguments are no longer required.- Add a
max_raked_weightargument toshape()for trimming raked weights.
Note that trimming occurs before raked weights are rescaled to have mean 1,
and the rescaled weights can be larger thanmax_raked_weight. - Remove the unused function
expand_rownames(). - Bugfixes.
v0.2.10
- Remove Rcpp dependency by rewriting
dichotomize()in R. - Avoid estimating models (using RStan) during tests, with the goal of rendering moot variation in build environments. This addresses a test failure during CRAN's r-release-osx-x86_64 build.
v0.2.9
- Switch from compiling Stan models at install time to compiling them at
runtime, avoiding an Rcpp module issue. - Add
modelargument todgirt()anddgmrp()taking for reuse a previously
compiled Stan model, as found in the@stanmodelslot of adgirt_fit- or
dgmrp_fit-class object. - The
versionargument todgirt()anddgmrp()can be used to specify
arbitrary.stanfiles on the disk in addition to those included with the
package. - Argument
bytoget_n()andget_item_n()methods properly accepts a
vector of variable names when combined withaggregatearguments.
v0.2.8
- Improve Stan models for shorter run times
- Add
dgmrp()for fitting single-issue MRP models with hierarchical covariates - Add class
dgmrp_fitfor models fitted withdgmrp(), inheriting from a new
virtual classdgo_fit dgirt()now returns adgirt_fit-class object that also inherits from
dgo_fitclass- Bugfixes