Қате шегі калькуляторы
Сұрау үлестірімінің қателік шегін табу.
Нәтижелер жазу барысында жаңартылмақ.
Калькулятор туралы
The margin of error tells you how far a survey result is likely to be from the true population value — the "plus or minus" figure quoted next to poll results. For a proportion it is z*·√(p(1 − p) / n), where p is the sample proportion, n the sample size and z* the critical value for your confidence level (1.96 for 95%).
It reports the margin, the confidence-interval bounds around your proportion and the full interval width, and a table shows how the margin shrinks as the sample grows. The default 50% proportion gives the most conservative (largest) margin, because the quantity p(1 − p) peaks at p = 0.5, which is why pollsters often quote it.
Worked example: with 1,000 respondents split 50/50 at 95% confidence, the margin is 1.96 × √(0.5 × 0.5 ÷ 1000) ≈ 1.96 × 0.0158 ≈ 3.1 percentage points. So a poll result of 50% really means somewhere between about 46.9% and 53.1%. To halve that margin you would need roughly four times the sample.
Жиі қойылатын сұрақтар
Неліктен үлкен үлгі қателік шегін төмендетеді?
Жиегі үлгі өлшемінің квадрат түбірімен қысқарады, сондықтан n- ге төрт есе көбейтіп қате шегін жартысына дейін қысқартады. Осы төмендеу нәтижесі жиегін бір не екі пайыздық пунктке төмендету үшін үлкен үлгілер қажет.
Неліктен әдетті пропорция 50%?
The quantity p(1 − p) is largest at p = 0.5, so assuming a 50/50 split produces the widest, most conservative margin of error. Using it guarantees the true margin is no larger than reported.
Қате шегі қалай есептеледі?
Multiply the critical value z* for your confidence level by the square root of p(1 − p) ÷ n. For p = 0.5, n = 1000 and 95% confidence, that is 1.96 × √(0.25 ÷ 1000) ≈ 3.1 percentage points.
Қате шегі мен сенім аралығының айырмашылығы неде?
Қате шегі - жарты ені; сенім аралығы - нәтижеден шегініс қосып алып, азайтып алынған толық ауқым. 48% нәтиже 3- нүктелік шегініспен 45% - ден 51% - ке дейін сенім аралығын береді.
Көп халық көп қателік шегіне ие бола ма?
Жоқ. Бірнеше мың адамнан асатын халық санының үлесі айтарлықтай емес, маңыздысы - таңдау өлшемі. Сондықтан да ұлттық сауалнама мен қалалық сауалнама бірдей жауап бергендердің санымен бірдей үлесті бөлісе алады.
Сенімділік деңгейі қателік шегін қалай өзгертеді?
A higher confidence level uses a larger z*, which widens the margin. Moving from 95% (z* = 1.96) to 99% (z* = 2.576) increases the margin by about 31% for the same sample.
API - бұл калькуляторды кодтан қолдану
Бұл калькуляторды бос JSON аяқтау нүктесі ретінде шақыру - кілт қажет емес. Төмендегі өріс мәндерін сұраныс параметрлері немесе JSON ретінде жіберіңіз. Елемегеніңіз бұл беттің әдетті параметрлері қолданылады; беймәлім параметрі - 400, ешқашан да үнсіз нөл. API құжаттамасын толық оқып шығу →
Аяқтау нүктесі
GET https://calculator.free/api/v1/margin-of-error/
curl
curl "https://calculator.free/api/v1/margin-of-error/?n=1000&p=50&conf=1.96"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/margin-of-error/?" + new URLSearchParams({
"n": "1000",
"p": "50",
"conf": "1.96"
}));
const data = await r.json();
console.log(data.results);
Нәтижелер тек жалпы нұсқаулық ретінде ғана есептеледі, қаржылық, медициналық немесе салық кеңесі ретінде емес.