Computing optimal sampling designs for two-stage studies



45


Stata Technical Bulletin


43


mpg



ooooooooooo
ooooooooo
oooooooo
O O
OOOOOO
O O

-16


9 -

-10


1o^


Figure 1. A simple turnip plot for mpg for the auto data.

Figure 2. Higher resolution graph for mpg with line at median.

Finally, we do a turnip plot for only foreign cars with a specified ж-axis label and a horizontal line at the mean.

. turnip mpg if foreign==!, xlabel(-10 10) yline(mean)

# of observations per turnip row is the frequency below:

≡pg I

Freq.

Percent

Cum.

13.88521 I

1

4.55

4.55

16.19941 I

2

9.09

13.64

18.51361 I

2

9.09

22.73

20.82781 I

2

9.09

31.82

23.14201 I

4

18.18

50.00

25.45621 I

5

22.73

72.73

27.77042 I

1

4.55

77.27

30.08462 I

2

9.09

86.36

34.71302 I

2

9.09

95.45

41.65562 I

1

4.55

100.00

Total I

22

100.00

options: XlabeK-IO 10) yline(24.7) ylabel( 24.77272727272727 11 44 )

resolution: 2.314201283894056

yline: 24.77272727272727 (mean)

This gives the plot in Figure 3.

44 -

σ>

E

24.7727

11


h-
-10


Figure 3. Turnip plot for foreign cars with specified я-axis label and a horizontal line at the mean.



More intriguing information

1. EXECUTIVE SUMMARY
2. Evidence on the Determinants of Foreign Direct Investment: The Case of Three European Regions
3. The economic doctrines in the wine trade and wine production sectors: the case of Bastiat and the Port wine sector: 1850-1908
4. Graphical Data Representation in Bankruptcy Analysis
5. Income Growth and Mobility of Rural Households in Kenya: Role of Education and Historical Patterns in Poverty Reduction
6. he Virtual Playground: an Educational Virtual Reality Environment for Evaluating Interactivity and Conceptual Learning
7. The name is absent
8. The name is absent
9. Better policy analysis with better data. Constructing a Social Accounting Matrix from the European System of National Accounts.
10. On Dictatorship, Economic Development and Stability
11. The name is absent
12. Second Order Filter Distribution Approximations for Financial Time Series with Extreme Outlier
13. Implementation of Rule Based Algorithm for Sandhi-Vicheda Of Compound Hindi Words
14. Optimal Rent Extraction in Pre-Industrial England and France – Default Risk and Monitoring Costs
15. Fiscal federalism and Fiscal Autonomy: Lessons for the UK from other Industrialised Countries
16. The Clustering of Financial Services in London*
17. Midwest prospects and the new economy
18. The name is absent
19. AN ECONOMIC EVALUATION OF COTTON AND PEANUT RESEARCH IN SOUTHEASTERN UNITED STATES
20. School Effectiveness in Developing Countries - A Summary of the Research Evidence