au9913 on Nostr: My statistics sucks these days, can someone help? #asknostr If I have 25 heifers, how ...
My statistics sucks these days, can someone help? #asknostr
If I have 25 heifers, how many do I need to randomly test (sample) initially to confirm at least 50% are pregnant? I want to be 75% confident in my result.
I will empty my wallet into your zaps if you can help me.
I built a tool for this in college (can't find it) for a mortgage company to streamline internal auditing of underwriting files. These numbers are wrong, but the way it worked was if they pulled and audited 5 files randomly out of 100 and all of them passed, they'd have x% confidence that y files are compliant. However if they found 1 of the 5 to fail, that confidence would be lower, so the tool would say "randomly pull another 10 files and test if you want to try get back to that confidence" and then repeat until you get the numbers you want or have tested all files.
Published at
2024-07-07 17:43:36Event JSON
{
"id": "3666e65ededfb9dc367dddc4574b2a46b4e6d6262c9106c7499b5f7e27c56d5c",
"pubkey": "d70d50091504b992d1838822af245d5f6b3a16b82d917acb7924cef61ed4acee",
"created_at": 1720367016,
"kind": 1,
"tags": [
[
"t",
"asknostr"
]
],
"content": "My statistics sucks these days, can someone help? #asknostr\n\nIf I have 25 heifers, how many do I need to randomly test (sample) initially to confirm at least 50% are pregnant? I want to be 75% confident in my result. \n\nI will empty my wallet into your zaps if you can help me. \n\nI built a tool for this in college (can't find it) for a mortgage company to streamline internal auditing of underwriting files. These numbers are wrong, but the way it worked was if they pulled and audited 5 files randomly out of 100 and all of them passed, they'd have x% confidence that y files are compliant. However if they found 1 of the 5 to fail, that confidence would be lower, so the tool would say \"randomly pull another 10 files and test if you want to try get back to that confidence\" and then repeat until you get the numbers you want or have tested all files. \n\n",
"sig": "fe943984cddf533657689986b88acd2886a0851c37eeaed42973bc1e99a04468e39381d54a98accbc8d0efd51608b84ed06aa2029e8c4f1b65b595f325d00713"
}