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

Error in simulate_data() : object 'tau_location' not found #6

Closed
mvuorre opened this issue Nov 23, 2022 · 5 comments
Closed

Error in simulate_data() : object 'tau_location' not found #6

mvuorre opened this issue Nov 23, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@mvuorre
Copy link
Owner

mvuorre commented Nov 23, 2022

https://github.com/mvuorre/latent-mean-centering-ms/blob/224043dab2e9dc5c489d19680dd52d75d629c060/Generation_Code.r#L38

The data generation code (I turned it into a function) doesn't work currently as some variables are missing. @JoranTiU can you help with this?

My aim is to turn it into a function where we can vary the number of individuals and number of timepoints. We should be able to examine how the n_individuals and n_timepoints affect estimation in a typical observed mean centering vs latent mean centering models.

@mvuorre mvuorre added the bug Something isn't working label Nov 23, 2022
This was referenced Nov 24, 2022
@JoranTiU
Copy link
Collaborator

I'm on it! 😊

@mvuorre
Copy link
Owner Author

mvuorre commented Nov 24, 2022

Awesome, thank you. If it wouldn't be too much trouble, I think it would be nice if the simulated model was fairly simple and basically had two predictors: the lagged outcome and some other time varying covariate. Those are sufficient for highlighting the most important biases that can result from observed mean centering, and keeping the model simple would be good for our target audience (which we've yet to fully determine 😆). Having said that, you are the expert in the subject matter so feel free to do what you see best!

@JoranTiU
Copy link
Collaborator

JoranTiU commented Nov 25, 2022 via email

@mvuorre
Copy link
Owner Author

mvuorre commented Nov 25, 2022

That sounds excellent, thank you!

@JoranTiU
Copy link
Collaborator

JoranTiU commented Nov 25, 2022 via email

@mvuorre mvuorre closed this as completed Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants