Computing optimal sampling designs for two-stage studies



42


Stata Technical Bulletin


STB-58


This article presents a dialog-box-driven program sskdlg to calculate the sample size for the kappa statistic when there
are two unique raters evaluating a binary event. sskdlg is geared towards calculating a sample size from a precision oriented
perspective, that is, choosing a sample size so that the standard error of the estimate and the resulting limits for a confidence
interval do not exceed specified values. The program is based on the asymptotic variance presented by Fleiss, et al. (1969) (see
also Fleiss 1981, equations 13.15-13.18) and follows the procedure outlined by Cantor (1996). This procedure is based on a
quantity

+ (I-TT0)2


Q = (1 - τrc) 1

e)


(7Γ.∙i +7Γj.)(l -TT0)]2


/                        )                  2ττf. I

'i≠j


ττo)2}


where, given a 2 × 2 table, τre = 7Γι.τr.ι + 7r2.7r.2 and τro = тгц + 7r22. Since Q equals the variance of kappa times the sample
size, the latter can be solved out and calculated.

I Sample size for kappa X

0

ÔT
∩T

0√Γ

95]


Hypothsized kappa
Prop. pos. by rater 1
Prop. pos. by rater 2
Half-width conf. int.
Confidence level

Γ^ Show value of Q

I- Show value of maximum Q

------ GraphOptions ------

GraphQ I    . * kappa

--1 о Ш

GraphS I      Г k-rr'ax

,        X: prop-

D¾EE∣   ∣o   I r∣^crη

ι        X: ssize

GraphD I Q 5□∩~~

I- Keep variables on exit

I- Sample size for diff. 1 OOO

OK I Exit I Help I

The dialog box is presented above. Without any options, clicking the “OK” button displays the calculated sample size in
the Results window. The following five parameters are needed.

T The estimate of kappa the researcher expects to find. sskdlg uses the default value of 0 which presumes calculating a
standard error when both ratings are independent. Although more realistic values are possible and should be encouraged,
this default value, albeit extremely conservative, is suitable for projecting the sample size of a study that, ultimately,
would be analyzed using the traditional equation for the standard error as found in Stata’s кар program. Depending on the
specification of other conditions, the expected kappa can take any value within the permissible bounds, never exceeding
— 1 to 1. If the specified kappa is incompatible with the selected marginals (proportion of positives expected by each rater)
or is outside the plausible range, sskdlg outputs a warning and the sample size is not calculated.



More intriguing information

1. Gerontocracy in Motion? – European Cross-Country Evidence on the Labor Market Consequences of Population Ageing
2. Impacts of Tourism and Fiscal Expenditure on Remote Islands in Japan: A Panel Data Analysis
3. Can a Robot Hear Music? Can a Robot Dance? Can a Robot Tell What it Knows or Intends to Do? Can it Feel Pride or Shame in Company?
4. The Social Context as a Determinant of Teacher Motivational Strategies in Physical Education
5. Distribution of aggregate income in Portugal from 1995 to 2000 within a SAM (Social Accounting Matrix) framework. Modeling the household sector
6. The Formation of Wenzhou Footwear Clusters: How Were the Entry Barriers Overcome?
7. The name is absent
8. The name is absent
9. Job quality and labour market performance
10. CROSS-COMMODITY PERSPECTIVE ON CONTRACTING: EVIDENCE FROM MISSISSIPPI
11. Regional differentiation in the Russian federation: A cluster-based typification
12. Perceived Market Risks and Strategic Risk Management of Food Manufactures: Empirical Results from the German Brewing Industry
13. Empirically Analyzing the Impacts of U.S. Export Credit Programs on U.S. Agricultural Export Competitiveness
14. Subduing High Inflation in Romania. How to Better Monetary and Exchange Rate Mechanisms?
15. ‘Goodwill is not enough’
16. The Works of the Right Honourable Edmund Burke
17. The name is absent
18. Social Balance Theory
19. Parallel and overlapping Human Immunodeficiency Virus, Hepatitis B and C virus Infections among pregnant women in the Federal Capital Territory, Abuja, Nigeria
20. The name is absent