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

pamm doesn't through warning when no offset variable present in data set. #245

Open
adibender opened this issue Aug 16, 2024 · 0 comments
Open

Comments

@adibender
Copy link
Owner

When data is created with as_ped, the offset variable is automatically included in the data set, so when pamm is called, all is good.

However, when the ped data is created manually or offset column was deleted somehow, offset will be set to NULL implicitly assuming an at risk time of 1 for all subjects and intervals, which in most cases will not make sense.

This could occur sometimes, so better to warn users if offset variable is not present (especially since in pamm calls, this is not specified so users might not be aware, that offset is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant