Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessing using startTime produce a wrong time span #95

Open
auzaheta opened this issue Aug 8, 2024 · 0 comments
Open

Preprocessing using startTime produce a wrong time span #95

auzaheta opened this issue Aug 8, 2024 · 0 comments

Comments

@auzaheta
Copy link
Collaborator

auzaheta commented Aug 8, 2024

Describe the bug
Preprocessing using startTime produce a wrong time span for the first observation

To Reproduce

library(goldfish)
data("Social_Evolution")

callNetwork <- defineNetwork(nodes = actors, directed = TRUE)
callNetwork <- linkEvents(
  x = callNetwork, changeEvent = calls,
  nodes = actors
)

preprocess <- estimate(callsDependent ~ inertia + recip + trans,
  model = "DyNAM", subModel = "choice",
  estimationInit = list(startTime = calls$time[20]-0.001),
  preprocessingOnly = TRUE
)

Expected behavior
Not sure, but seems that the best value to report is the time elapsed since the last event and not from the first event in the dataset.

Desktop (please complete the following information):

  • OS: MacOS
  • R Version: 4.4.0
  • Goldfish Version: 1.6.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant