Closed HuidongTian closed 3 years ago
For now keep age < 90 I will validate this tuesday.
Changed the code to reset the value of age to 0:89, survival analysis failed at extract_define_survival_data. log file shows error at line 9 stata_code_head, function(extract_define_survival_data)
. I changed the code back to 0:90, for now.
ref.: https://github.com/CancerRegistryOfNorway/NORDCAN/wiki/Call-for-data-Survival
In the call for survival the age for life-table is now set to:
age (at least years 0-90)
Thus the validation in column_checks.R on the age in life-table can be 90 and I will provide a new life-table including 90.
ref.: https://github.com/CancerRegistryOfNorway/NORDCAN/wiki/nordcansurvival
Data for analysis should be restricted to max 89 years ( < 90)
Ref validation in extract_define_survival_data.ado
assert inrange(age, 0, 89)
Fixed by supplying lifetable which the age column must contain values up to 99 years.
Life-tables SHOLD be up to 99 years.
From: Huidong Tian @.***> Sent: 27 April 2021 14:37 To: CancerRegistryOfNorway/nordcanpreprocessing Cc: Bjarte Aagnes; Assign Subject: Re: [CancerRegistryOfNorway/nordcanpreprocessing] Age of lifetable ends up to 89, while data validation need it end up to 90. (#27)
Fixed by supplying lifetable which the age column must contain 90.
- You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://github.com/CancerRegistryOfNorway/nordcanpreprocessing/issues/27#issuecomment-827572854, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEKDCNEZSK2KT7PTSSSN3DLTK2VW7ANCNFSM4ZCLPJ6Q.
When running the survival analysis, an error message said the validation of the population life table is failed, due to its 'age' variable contains no value of 90.
report_national_population_life_table_is_valid line 565