Survey.jl icon indicating copy to clipboard operation
Survey.jl copied to clipboard

Add tests for `ratio`

Open smishr opened this issue 2 years ago • 3 comments

Currently very little testing for ratio method in ratio.jl.

  • [ ] Add more variety of tests for ratio method
  • [ ] Run and check with analogous commands in R survey

smishr avatar Feb 23 '23 15:02 smishr

similar to R, the testing of survey ratio using apiclus2 and an equivalent design the answer to ratio estimation of api00 and enroll is coming out to be missing or NAN

sayantikaSSG avatar Mar 07 '23 06:03 sayantikaSSG

@ayushpatnaikgit can you see in which cases ratio would return missing? @sayantikaSSG and I could not figure this out when debugging

smishr avatar Mar 09 '23 08:03 smishr

@ayushpatnaikgit can you see in which cases ratio would return missing? @sayantikaSSG and I could not figure this out when debugging

Please note that R also gives the answer as NAN. Also added a test for SRS in pull request #279

sayantikaSSG avatar Mar 09 '23 14:03 sayantikaSSG