Two files (one ado; one do) attached, which checks a variable containing South African id numbers for validity using the Luhn algorithm.
The actual implementation of the alogrithm is my own (and very parsimonious!) - but the surrounding code is built off the original suggestion provided here (https://www.stata.com/statalist/arch.../msg00300.html) by Nick Cox and modified as the pnrcheck.ado by N Orsini.
Related Posts with Validity check for South African identity numbers using the Luhn algorithm
Interactions between sex and country of birth : do I also have to include interactions between control variables and sex?Dear STATA community, This is my first post and I hope that you can help me with my problem. In a n…
Creating a new variable differentiated by genderHi Statalist. I want to be able to test if there is a difference in the effect of level of educatio…
Fine and Gray with CensoringWhen I produce cumulative incidence curves (CIC) for the Fine and Gray model using stcrreg and stcur…
Using an interaction between a categorical and a continuous interaction where the base category is highly informativeDear Statalist, Sorry if my question is too general for this forum. I hope it is okay. I am lookin…
Complete Time SeriesHello everyone, I'm wondering how to 'insert' empty values in my panel data. My data looks as follo…
Subscribe to:
Post Comments (Atom)
0 Response to Validity check for South African identity numbers using the Luhn algorithm
Post a Comment