Repository navigation
nwdynam 1.8.0
Added
- More combinations, as in goldfish. Windowed rate effects with
intercept(indegwindow(),outdegwindow()); a window ontertius(new optiontertiuswindow(#)) in the choice, rate, rate-with-intercept and coordination models;inertiawindow(),indegwindow(),weightedinertiaandweightedindeginchoice_coordination; in two-mode networks the effectsalter(),egoalterint(),tertius()andfourin the choice model andego()in the rate model;opportunities()together with the attribute effects (same,diff,sim,alter,tertius,egoalterint) through the new optionoppframe(framename);change()in two-mode networks and together withopportunities(). What goldfish itself refuses stays refused, with a message. - Effects on other networks.
netterms():tie,trans,cycle,commonsender,commonreceiverandfourthrough another network, each with its ownwindow(),weightedandignorerep; the mixed closuresmixedtrans,mixedcycle,mixedcommonsenderandmixedcommonreceiverwith the fitted network and an exogenous one, or with two exogenous ones;tertiusdiff(var [net]);tie(netname)accepts a network that changes over time;ignorerep(effects)for the built-in choice and choice_coordination effects. - Postestimation, as in goldfish.
estat ic(log likelihood, log likelihood per event, AIC, BIC),estat eventlikandestat eventprob(goldfish'sreturnIntervalLogLandreturnEventProbabilities),estat outliers(Hampel, IQR, Top; goldfish'sexamineOutliers) andestat changepoints(PELT, AMOC and binary segmentation for mean and variance; goldfish'sexamineChangepoints). They run in the compiled plugin. The change point methods are a port of the R package changepoint 2.3 (GPL) and are credited in NOTICE. For the rate model with intercept the right-censored intervals that goldfish counts are reported (llcens,r(ll_trailing),r(n_cens)) and AIC and BIC use goldfish's record count. - After a fit its data stays in the frame
__nwdynam_fit; the results carrye(fitid)ande(estat_cmd), andestatstops with return code 498 when the results do not belong to the fit in memory. - Estimates, standard errors and log likelihoods agree with goldfish 1.6.12 to 1e-6 on about 700 random and fixed event logs (coordination: 5e-4 and 10% for the standard errors, which are numerical in both programs); the postestimation values agree on 90 logs (per-event values to 1e-13, outlier and change point indices exactly). Plugin protocol 5: an older plugin is refused (r(3495)).
Changed
opportunities()is read as a string option; its error codes are unchanged.- Fits that do not use the new features are not slower.
Tested on macOS with Stata 17 BE, Stata 18 BE and StataNow 19.5 MP (full test suite and the extended tests). Windows and Linux: not yet tested for this version; the plugins are built by the build workflow, and until they are rebuilt those platforms stop with return code 3495.