Repository navigation
nwrem 1.1.0
Results that change (read before you re-run old analyses)
- Covariate effects on a dataset whose rows are not in actor order but carry
_nwnode: the covariate is now matched to the right actors.
Fixed
- Per-actor covariates (
covsnd(),covrec(),covint()) are matched to the actors by their node labels (variable_nwnode, as afternwload, xvars) instead of by row position; a re-sorted dataset no longer misaligns them. Without_nwnodethe data must still have one row per actor in actor order. An actor without a row, or with more than one, is refused (r(198)). - A missing covariate value is refused with a clear message (r(416)); before, the fit failed with r(111) after many "initial values not feasible" lines.
- Events with a missing time, or with a sender or receiver that is not an actor of the network (for example a missing id), are refused (r(416)); before, an event without a time was silently used as the last event and a missing id gave a raw Mata error.
- A self-loop event gives its message and r(3498); the message was lost (Mata r(3300)) because it was too long for Mata's
_error(). - Covariate names longer than 25 characters no longer fail (r(198)): coefficient names longer than 32 characters are cut to 32.
seed()accepts integers from 0 to 2147483647 only;seed(-1)used to be ignored silently.nwremwithout arguments (or withlevel()only) redisplays the last fit, andestimates replayworks; new optionlevel().- Help: an undirected event network is fitted as directed, like relevent's
rem.dyad(), which has no undirected variant; the event-data rules and the covariate matching are documented.
Changed
- Rebuilt for nwcommands 3.22.0; requires core 3.22.0 or later.
Mata library lnwrem.mlib rebuilt with Stata 17 (new function rem_node_rows(), self-loop message).
Tested on macOS with Stata 17 BE, Stata 18 BE and StataNow 19.5 MP (the full test suite) and on Windows 11 with StataNow 19.5 MP. Linux: not tested in Stata.