2024-12-18
- New functions
selectionTable
andinfluenceTable
, withprint
methods.
- New effect
altHigherEgoX
. - Effect
higher
also implemented for symmetric networks. - Used # in name of threshold effects.
- In
siena.table
, fixed parameter values are not reported as NA, but as their fixed values.
- If
includeInteraction
is called with argumentparameter
, an error message appears that this keyword should not be given. - Extension of message in
sienaTimeTest
given in the case of collinearities.
- Improved explanation of the use of
interaction1
andinteraction2
in the help page forincludeInteraction
.
2024-11-10
- New effects
varAlt
andavSimVarAlt
.
- Interaction effects for continuous behavior now turned off. The R side of
includeInteraction
for continuous behavior had been implemented but not the C++ side, so now an error message is given.
- If `includeInteraction' is called for a continuous behavior effect, an error message is given that interaction effects are not yet implemented for continuous behavior.
- For the new effects,
lvariance
, the behavior variance over all but the last wave, was included as member data ofBehaviorLongitudinalData
together with the corresponding member functions.
2024-09-03
- New effects
outThreshold
andoutThreshold2
. outActIntn
is an ego effect (allEffects.csv
).
- Network option 11 =
NETCONTEMP
for use of contemporaneous statistics for estimating all evaluation effects of the network variable.
- Error corrected that occurred for estimation by the GMoM if some effects are fixed.
- List of effect names when
thetaBound
is exceeded corrected (phase2.r
).
- If
setEffect
is called for an effect withtype=gmm
, an error message is given that the function called should beincludeGMoMStatistics
.
2024-07-31
- New gmm effects for co-evolution of multiple networks:
crprod_gmm
,to_gmm
,from_gmm
.
- Bug corrected in
sienaGOF
which occurred for models with tested effects ifiterations
is less thansienaFitObject$n3
.
- The new gmm effects required the extension of the function classes
AlterFunction
,NetworkAlterFunction
, andMixedNetworkAlterFunction
to allow making estimation statistics depend totally on the simulated state. - Function
fixUpEffectNames(effects, defaultEffects)
moved frominitializeFRAN.r
tosienaEffects.r
.
2024-06-06
- New effect
homXOutAct2
.
- Function
setEffect
corrected (it did not give the proper internal parameters in theeffectName
). - Function
updateSpecification
corrected (it did not work properly for including interactions).
- The handling of internal effect parameters in the columns
effectName
andfunctionName
ofsienaEffects
objects is improved. This was achieved by changes in functionssetEffect
andincludeInteraction
.
Effectnames as reproduced bysienaFit
objects should now contain the correct values of internal effect parameters. - New parameter
thetaBound
forsiena07
, which has the effect of stopping the estimation process if some parameters become too large (which would signal divergence). - Display of deviations in
siena07gui
modified so that numbers larger than or equal to 1e5 in absolute value are displayed in exponential format (and use only one line in the gui) (functionFormatString
insiena07.r
).
2024-04-27
- All objects created by functions, if not print or summary, now have an attribute "version", which is the package version.
- New RSiena logo inst/rsienalogo-2.png
2024-04-23
- Effect name
outOutDist2AvIntn
changed toavAlt.2M.tot
. - New effects
avAlt.2M.tie
,avAlt.2M.tot
,avAltU.2M.tie
,dist2OutInActIntn
,nDist2ActIntn
,sharedToU
. - Changed sqrt treatment in
outOutDist2ActIntn
andoutOutDist2AvIntn
/avAlt.2M.tot
.
- Method
print.sienaEffects
has an extra parameterincludeShortNames
to do what the name of this parameter suggests. - Improved error message for function
updateSpecification
.
2024-03-25
- Effects
sameXV
andsameXVInPop
added for symmetric networks, and restricted to integer-valued variables in the range from 0 to 20.
- Parameter
silent
(new in version 1.4.8) insienaAlgorithmCreate
activated.
- Actor covariates in
sienaData
have a new attributelowIntegers
used for in/excluding effectssameXVInPop
andsameXV
ingetEffects
.
2024-03-21
- New effects
crossXOutAct
,outOutDist2ActIntn
,outOutDist2AvIntn
,inPopOutW
. - New effect group
doubleCovarNetObjective
. - New effects
sameXV
andsameXVInPop
for bipartite networks. sameXCycle4
added for one-mode and symmetric networks.sharedTo
gets default internal effect parameterp=3
.
- Function
updateSpecification
now also updates interaction effects andinitialValues
.
- Internal functions
numberIntn
,numberBehIntn
,checkVersion
defined in fileinitializeFRAN.r
. - The
Covariate
class and its descendants (all actor covariates) now have functionsmin
andmax
.
2024-02-29
- Correction of memory leak in
siena07setup.ccp
for ML estimation.
- New parameter
silent
insienaAlgorithmCreate
.
2024-02-20
- Correction (again) of error message in
siena07utilities::Rterminate
.
2024-02-19
- New parameter
targets
insiena07
, used to supersede the targets calculated from the data (not for use in estimation for regular data sets, see the help file forsiena07
). effectsDocumentation
reports to the console the name of the file that was written.sienaDataCreate
stops with an error message if there is a bipartite network before a one-mode network.- If the data contains a continuous dependent behavioral variable and the algorithm specifies conditional estimation, the estimation stops with a clear error message.
- R_NO_REMAP included, and "\Rf_" prepended to all function names used
from
Rinternals.h
andR_ext/Error.h
(insiena07models.cpp
,siena07utilities.cpp
,siena07setup.cpp
andsiena07internals.cpp
) and various other places (in accordance with "Writing R Extensions"). - Corrected wrong length of
lprobabilityArray
inMLSimulation.h
, and cleaned up a bit. - In
MLSimulation.cpp
, various sets of "delete" commands reordered so as to be in opposite order of the corresponding "new" commands. - Correction of error message in
BehaviorVariable::accumulateDerivatives
and insiena07utilities::Rterminate
. - Allow
sienaDataCreate
to work with a single variable defined as a dependent network given as a list of sparse matrices. - Allow
getEffects
to construct effects of more than one dependent network on continuous behavior dependent variables. - Added some "drop=FALSE" in
initializeFRAN.r
to guard against dimension loss in the construction of sparse matrices. - Change check for constant dyadic covariates for sparse matrices (issue #88).
- Some of the recently added effect groups were missing from
effectsDocumentation
. This led to an incomplete listing of the effects. They are now included.
sienaRI
temporarily disabled because of a memory leak.- The option
prML=2
temporarily disabled because of a memory leak in themove
proposal distribution (sienaAlgorithmCreate
). doMoreUpdates
moved frommaxlike.r
tomaxlikecalc.r
. The rest ofmaxlike.r
as wel asmaxlikefn.Rd
deleted. These were not used anywhere.
- List of changes in the code before 2022 moved from
NEWS.md
toONEWS_gh
.
2024-02-14
- Migrated package repository to "stocnet" organisation.
- Put
#include <Rinternals.h>
as the last of the include commands in various.cpp
files (Tomas Kalibera).
2023-12-14
- New effects
outXMore
,outMore3
. Interactiontype
ofaltLThresholdX
andaltRThresholdX
is dyadic.Interactiontype
ofdegAbsDiffX
,degPosDiffX
, anddegNegDiffX
is "" (blank).- Corrected effect
outMore
.
bxeffects
initialized to 0 inContinuousVariable::accumulateScores
.- All private variable declarations in the C++
*.h
files were initialized using braces. - In
mixedTriadCensus
, the check of the condition about the matrix dimensions was split into its two parts. TruncatedOutdegreeEffect2
dropped fromsrc/model/effects
(was superfluous).
- New parameter
iterations
insienaGOF
to allow shorter computations.
2023-11-01
- Changes in accordance with "Guidelines for Rd files".
2023-10-31
Author
field omitted inDESCRIPTION
, becauseAuthor@R
is sufficient.
- Superfluous files in
inst
directory omitted. - New
CITATION
.
- Superfluous "lsimulatedDistance" in
SdeSimulation.h
deleted. - In
PrimarySettingEffect.cpp
, usedto_string
for converting a number to string in an error message.
2023-10-11
threshold
,threshold2
,threshold3
,threshold4
changed to work with non-centered parameters (not backward-compatible).
- Descriptions of effects
altInDist2W
andtotInDist2W
added to the manual (the effects had been there since a long time, but not documented).
2023-09-29
- Corrected one line in
siena07models.cpp
, which led to slowness ofsiena07
since version 1.3.18.
avInSimDist2
,totInSimDist2
,sameEgoDist2
,sameEgoInDist2
,outMore2
,divOutEgoIntn
,divInEgoIntn
,divOutAltIntn
,divInAltIntn
.avTAltDist2
andtotTAltDist2
also implemented for behavior co-evolving with symmetric networks.
- Some explanation is given in the manual about internal effect parameters
for interactions created by
includeInteraction
.
2023-08-15
- Improved Phase 1 derivative matrix computation for basic SDE parameters.
- Added continuous behavior to returned simulated data.
- Period/groupwise tests in
sienaTimeTest
corrected for the case of non-saturated sets of dummy variables. plot.sienaTimeTest
for "pairwise=TRUE" changed so that the warning is avoided.sienaGOF
corrected so that again it can handle auxiliary functions referring to more than onevarName
(such as inmixedTriadCensus
).
2023-08-01
- In
getEffects
, the effects object was given an attributeversion
, which was not done correctly in version 1.3.23. (This led to always giving a warning if any interaction effects were specified.) - Corrections of implementation of acceptance by
sienaGOF
of a list ofsienaFit
objects (was not correct in version 1.3.23).
- function
includeInteraction
used in "parallel.R" (for testing).
2023-06-29
- New effects
diffWXClosure
,sameWWClosure
,diffWWClosure
,diffXWClosure
,sameXWClosure
,unequalX
. JoutMix
made available for bipartite dependent networks.- For continuous behavior variables depending on a bipartite dependent
network, the effect group
continuousBipartiteObjective
was created, with effectsoutdeg
,outdegSqrt
, andisolateOut
. sameXOutAct
anddiffXOutAct
now have a parameter 2 forsqrt
.
- In
initializeFRAN
, the call ofgetEffects
now is dependent on the value of attribute "onePeriodSde". - The error was corrected that occurred if
useStdInits = TRUE
insienaAlgorithmCreate
and the effects object includes interaction effects. - In
sienaDataCreate
, the warning message that there is at least oneupOnly
period now is made for each dependent variable instead of only the last. - In
getEffects
, the effects object was given an attributeonePeriodSde
and an attributeversion
. - In
initializeFRAN
, the comparison betweeneffects
anddefaultEffects
now is based onshortName
instead ofeffectName
(effectName
was changed if there are interaction effects), excluding the lines in the effects object forunspInt
andbehUnspInt
to allow effects objects created with non-default values ofnintn
andbehNintn
.
- The model for continuous behavior variables seems to work now, because of the first correction mentioned above.
sienaGOF
now also accepts a list ofsienaFit
objects.
- Better text for stop in
initializeFRAN
when there is a mismatch between effects objects disabling the creation of interaction effects. - Warning in
initializeFRAN
if the version of the effects object is not current and the effects object contains interaction effects (then it is possible that the interacting effects are chosen incorrectly, even though theeffectName
of the interaction seems OK). - Better error message in
sienaGOF
ifgroupName
orvarName
is incorrect. - Use default bandwidth selection in violin plot for
sienaGOF
(the use of "nrd" sometimes led to absent plots because of negative bw).
2023-05-11
- Corrected and cleaned up virtual definitions in
AlterFunction
and its descendants, in particularCovariateNetworkAlterFunction
. - Added
const
to virtual specification ofvalue
inAlterFunction.h
and all of its descendants. - Replaced ambiguous call to
std::abs
inAbsDiffFunction.cpp
.
- For one-mode networks, new model options
DOUBLESTEP25
,DOUBLESTEP50
,DOUBLESTEP75
,DOUBLESTEP100
.
- The first item in "Coding" implies correction of several distance-2 network
effects such as
altDist2
,totDist2
andaltInDist2
. - In
sienaAlgorithmCreate
, changed defaultprML=2
back toprML=1
; stop if Maximum Likelihood estimation is attempted for a data set containing more than one dependent variable withprML=2
(implemented ininitializeFRAN.r
).
2023-04-22
updateSpecification
(ineffectsMethods
) now also updates internal parameter values.- In
TriadCensus
, the empty network will not lead to an error but be reported with the correct triad census. - For
reciAct
, check whether internal parameter ==2 replaced by check whether absolute difference from 2 is less than 0.001. - In
phase2.r
,z$sd
is calculated usingsqrt(pmax(..., 0))
to avoid the extremely rare case of a negative calculated variance. - In
sienaDataCreate
, handling of structurally determined values incheckConstraints
corrected (thanks to issue raised by Jos Elkink).
- The keyword
parameter
inincludeInteraction
was dropped because it did not have any consequences. The help page forincludeInteraction
now explains how internal effect parameters for user-defined interactions are determined. - The column
dimnames
of theSimulations
array returned bysienaGOF
are set to the names of the elements of the auxiliary function. - Standard deviations added to output of
descriptives.sienaGOF
. - Improved error message in
initializeFRAN
in the case of mismatch between effects objects. - Warning in
sienaAlgorithmCreate
if(maxlike && (!is.null(MaxDegree)))
. This is now also mentioned in the help page forsienaAlgorithmCreate
.
- Reference about score-type test added to
Wald.Rd
. - In the help page for
sienaDependent
, it is mentioned that if there are one-mode as well as two-mode dependent networks, the one-mode networks should come first.
2023-02-07
siena07internals.cpp
adapted to be compatible with new clang 16 C++ compiler (thanks to Brian Ripley).
- New effect
inPop_dya
. - Parameter 2 for
sameXInPop
anddiffXInPop
.
- Help page for
siena07
corrected with respect tox$lessMem
.
coCovar
andvarCovar
now can handle variables with only one non-missing value, but will stop with an error message if all values are missing.
2023-01-29
- Additional step type
move
for MH proposal distribution for likelihood estimation (thanks to Charlotte Greenan). - Accordingly, parameters changed that are used in
sienaAlgorithmCreate
for probabilities of MH steps, now summarized inprML
; with a new default. - List elements
accepts
,rejects
,aborts
forsienaFit
objects produced by ML estimation improved/corrected by reorganizing them in C++. - List element
ac3
added tosienaFit
object ifmaxlike
.
2023-01-06
sienaGOF
now accepts simulated auxiliary statistics containing missing values. If there are any, this will be reported with a warning ifgiveNAWarning
isTRUE
.sienaDataCreate
now also accepts, as "...", a list of such objects.
2023-01-02
`inPopIntnX`, `inActIntnX`, `outPopIntnX`, `outActIntnX`, `sameXInPopIntn`,
`sameXOutPopIntn`, `sameXInActIntn`, `sameXOutActIntn` restored
(these had got lost in some way...).
- All occurrences of
http
inR
andRd
files changed tohttps
. seq_len
used and superfluousc()
omitted in various R files.
2022-11-27
siena08
: correct p-valuepTsq
for overall test statisticTsq
print.summary.sienaMeta
,siena07
,print01Report
: drop RForge revision.- Correct "objname" to "projname" in
meta.table
(siena08.r
). - Simplify
LaTeX
output ofmeta.table
. seq_along
andseq_len
used inprint01Report
.
2022-11-04
- CRAN version.
- Update
configure
andconfigure.ac
(with help from Brian Ripley).
2022-10-07
- Replacements in EffectFactory.cpp of single | operator by ||.
2022-10-06
- Changes to comply with new version of
Matrix
package. - Replacements in some C++ functions of single & and | operators by && and ||.
universalOffset
initialized as 0; it was earlier initialized as the maximum real number (NetworkLongitudinalData.cpp
).thetaStore
deleted (was trash inphase2.r
).- Various comparisons for vectors with 0 changed to using
all
to avoid warnings (initializeFRAN.r
).
sigmas
andmeansigmas
added tosienaRI
object.- Print of standard deviations in the
sienaRI
object forprintSigma=TRUE
changed to using averages at the variance level. - If
returnThetas
in the call ofsiena07
, also simulated estimation statistics during Phase 2 (deviations from targets) are returned.
- Several new effects related to primary setting:
nonPCompress
,primCompress
,primary
,primDegAct
,primDegActDiff
,primDegActDiffSqrt
,primDegActSqrt
,primDegActLog
,primDegActInv
. gwdspFB
effect added for two-mode networks.- New effects
outAct_ego
,inAct_ego
,reciAct_ego
,toAny
. - For effects
to
,toBack
,toRecip
,mixedInXW
, internal effect parameter 3 now specifies truncation of the number of twosteps (change toMixedTwoStepFunction
).
- Modified help page for
sienaRI
. - Small modifications of help page for
sienaGOF
.
2022-05-30
- Correction in
effects.r
of error that led to warning for multivariate networks. - Correction of help page for
sienaGOF
(groupName
). - Correction of
igraphNetworkExtraction
in the help page forsienaGOF-auxiliary
.
- Further explanation of
mixedTriadCensus
in the help page forsienaGOF-auxiliary
.
2022-04-28
- Bug corrected that occurred when several two-mode networks were included
in the dependent variables, with an order restriction between them.
(Correction of
HigherFilter
andDisjointFilter
).
- New effects
avInAltW
,avWInAlt
,totInAltW
,totWInAlt
(with help from Robert Krause). - Corrected implementation of
sharedTo
.
- Several modifications to enable traceback of errors occurring in checkSenderRange called in inTies.
2022-03-18
- Corrected implementation of
simAllNear
andsimAllFar
.
- small correction of
summary.sienaGOF
. - small correction of
sienaTimeTest
.
2022-03-07
- Changed default internal effect parameter for
simAllNear
to 2 and forsimAllFar
to 4.
- In
sienaTimeTest
, addedwarn=FALSE
tovarCovar()
to avoid warnings. - Small improvements to help pages for
sienaGroupCreate
andsienaGOF
.
- corrected sienaRI for behavioral variables.
This required changes in
StatisticCalculator::calculateBehaviorStatistics
andStatisticCalculator::calculateBehaviorGMMStatistics
. - dropped exclusion of bipartite for sienaRI (only continuous excluded),
but only if there are fewer second-mode nodes than actors.
This required changes in
StatisticCalculator::calculateNetworkEvaluationStatistics
and in `siena07internals::getChangeContributionStatistics'.
2022-02-18
- New effect
avDeg
.
2022-02-16
- New effects
simAllNear
,simAllFar
,absOutDiffIntn
,avDegIntn
. - New effects
recipRateInv
,recipRateLog
(Steffen Triebel). - Default internal effect parameter for
outOutActIntn
,outOutAvIntn
, andboth
changed from 2 to 1.
- Function
includeInteraction
now also can modify theinitialValue
of an effect; and the order of parameters for this function was changed, bringing it in line withsetEffect
. - Small clarifications of help pages for
includeInteraction
andsetEffect
.
- See file
ONEWS_gf
in the source code at GitHub for changes in versions 1.2-26 to 1.3.5.
- See file
ONEWS
in the source code at GitHub for changes in versions 17 to 1.2-25 (when the code was hosted atR-forge
).