You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, theusermayalsouseanyofthechildnodetypesina \code{node_td} calldirectly.Forcustomtime-dependentnodetypes, pleaseconsulttheassociatedvignette.
@@ -105,7 +107,7 @@ If the data generated by a child node is categorical (such as when using \code{n
105
107
106
108
The name DAG (directed \strong{acyclic} graph) implies that cycles are not allowed. This means that if you start from any node and only follow the arrows in the direction they are pointing, there should be no way to get back to your original node. This is necessary both theoretically and for practical reasons if we are dealing with static DAGs created using the \code{node} function. If the user attempts to generate data from a static cyclic graph using the \code{\link{sim_from_dag}} function, an error will be produced.
107
109
108
-
However, in the realm of discrete-time simulations, cyclic causal structures are perfectly reasonable. A variable \eqn{A} at \eqn{t = 1} may influence a variable \eqn{B} at \eqn{t = 2}, which in turn may influence variable \eqn{A} at \eqn{t = 3} again. Therefore, when using the \code{node_td} function to simulate time-dependent data using the \code{\link{sim_discrete_time}} function, cyclic structures are allowed to be present and no error will be produced.
110
+
However, in the realm of discrete-time or discrete-event simulations, cyclic causal structures are perfectly reasonable. A variable \eqn{A} at \eqn{t = 1} may influence a variable \eqn{B} at \eqn{t = 2}, which in turn may influence variable \eqn{A} at \eqn{t = 3} again. Therefore, when using the \code{node_td} function to simulate time-dependent data using the \code{\link{sim_discrete_time}} or \code{\link{sim_discrete_event}} function, cyclic structures are allowed to be present and no error will be produced.
The \pkg{simcausal} packagewasabiginspirationforthispackage.Incontrasttoit, however, itallowsquiteabitmoreflexibility.Abigdifferenceisthatthispackageincludesacomprehensiveframeworkfordiscrete-timesimulationsandthe \pkg{simcausal} packagedoesnot.
37
+
The \pkg{simcausal} packagewasabiginspirationforthispackage.Incontrasttoit, however, itallowsquiteabitmoreflexibility.Abigdifferenceisthatthispackageincludesacomprehensiveframeworkfordiscrete-timeanddiscrete-eventsimulationsandthe \pkg{simcausal} packagedoesnot.
38
38
39
39
\strong{\emph{WherecanIgetmoreinformation?}}
40
40
@@ -52,9 +52,9 @@ The documentation pages contain a lot of information, relevant examples and some
52
52
53
53
A separate (alreadypeer-reviewed) articleaboutthispackagehasbeenprovisionallyacceptedinthe \emph{JournalofStatisticalSoftware}.Thepreprintversionofthisarticleisavailableon arXiv (DenzandTimmesfeld2025).
\strong{\emph{Ihaveaproblemusingthe \code{sim_discrete_time} or \code{sim_discrete_event} function}}
56
56
57
-
The \code{\link{sim_discrete_time}} functioncanbecomedifficulttousedependingonwhatkindofdatatheuserwantstogenerate.Forthisreasonweputinextraefforttomakethedocumentationandexamplesasclearandhelpfulaspossible.Pleaseconsulttherelevantdocumentationpagesandthevignettesbeforecontactingtheauthorsdirectlywithprogrammingrelatedquestionsthatarenotclearlybugsinthecode.
57
+
The \code{\link{sim_discrete_time}} and \code{\link{sim_discrete_event}} functionscanbecomedifficulttousedependingonwhatkindofdatatheuserwantstogenerate.Forthisreasonweputinextraefforttomakethedocumentationandexamplesasclearandhelpfulaspossible.Pleaseconsulttherelevantdocumentationpagesandthevignettesbeforecontactingtheauthorsdirectlywithprogrammingrelatedquestionsthatarenotclearlybugsinthecode.
0 commit comments