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
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.
The text was updated successfully, but these errors were encountered:
When data is created with
as_ped
, theoffset
variable is automatically included in the data set, so whenpamm
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.The text was updated successfully, but these errors were encountered: