XiangdongGu / icensmis

Study Design and Data Analysis in the Presence of Error-Prone Diagnostic Tests and Self-Reported Outcomes
1 stars 0 forks source link

issue-1: Add input/output checks #5

Open XiangdongGu opened 3 years ago

XiangdongGu commented 3 years ago
  1. Check if any baseline prevalent subjects and produce error messages to ask user to remove
  2. Check if any missing values in time variable (NAs introduced resulted in endless loop)
  3. Check for number of unique times, if there are too many unique times then ask user to round to reduce the number of unique times. (How many is too many?)
  4. Check for model convergence, if not convergent then ask user either to change parameterization or increase maxit.
XiangdongGu commented 3 years ago
  1. Will produce error, how NAs will introduce endless loop?