To cite package ‘statacompat’ in publications use:

Prasojo A (2026). statacompat: Reproduce Selected 'Stata' Expression and Missing-Value Semantics. R package version 1.0, https://github.com/aripurwantosp/statacompat.

Corresponding BibTeX entry:

  @Manual{,
    title = {statacompat: Reproduce Selected 'Stata' Expression and
      Missing-Value Semantics},
    author = {Ari Purwanto Sarwo Prasojo},
    year = {2026},
    note = {R package version 1.0},
    url = {https://github.com/aripurwantosp/statacompat},
  }