The name is absent



Stata Technical Bulletin

27


npt_s mpg if foreign

rep7S     score

1.0       1.0

2.0       2.0

3.0       3.0

4.0       4.0

ε.o       ε.o

z = 0.51, chi-

P>z = 0.6101

npt_s mpg if foreign

rep78     score

3.0       3.0

4.0       4.0

ε.o       ε.o

z = 0.30, chi-

P>z = 0.7630

npt_s mpg, by(rep78)

foreign

0

1

==0, by(rep78)
obs      sum of ranks

2          60.0

8          188.ε

27         648.ε

9         184.0

2          96.0

Obs         Exp         Var

3693.ε      3εε2.ε    6463.9i6ε

squared(l) =   0.26

==1, by(rep78)
obs      sum of ranks

3           28.ε

9         102.0

9          100.ε

Obs         Exp         Var

996.0       990.0          396

squared(l) =   0.09

strata(foreign)

Obs         Exp         Var

3693.ε      3552.6    6463.9165

996.0       990.0          396

Total

z = 0.67, chi-

P>z = 0.6704

4589.5

squared(l)

4542.5

=   0.32

6859.9165

This can be illustrated using the dotplot graphically as follows.

. gen for = foreign

. dotplot mpg, by(rep78) s([for]) center

0                   0 0

0

0                   0 0

0

0

0

12 -


1                         0

0

0                        1 0

1

0              111              1

1

1                                        1 1

0 0                   0

0 0 1                     0 1

0 0 0

0000000

0 0                      0 0                      1 1

0                                                               1 1

0 0                   0

0                     0

0 0                  0 0

0 0


1             2             3             4             5

Repair Record 1978

Figure 1

References

Stepniewska, K. A. and D. G. Altman. 1992. snp4: Non-parametric test for trend across ordered groups. Stata Technical Bulletin 9: 21-22.

Sasieni, P. D., K. A. Stepniewska, and D. G. Altman. 1996. snp11: Test for trend across ordered groups revisited. Stata Technical Bulletin 32: 27-29.



More intriguing information

1. Strategic Policy Options to Improve Irrigation Water Allocation Efficiency: Analysis on Egypt and Morocco
2. Pupils’ attitudes towards art teaching in primary school: an evaluation tool
3. The name is absent
4. The name is absent
5. PROFITABILITY OF ALFALFA HAY STORAGE USING PROBABILITIES: AN EXTENSION APPROACH
6. Improving Business Cycle Forecasts’ Accuracy - What Can We Learn from Past Errors?
7. An Efficient Circulant MIMO Equalizer for CDMA Downlink: Algorithm and VLSI Architecture
8. Apprenticeships in the UK: from the industrial-relation via market-led and social inclusion models
9. The Value of Cultural Heritage Sites in Armenia: Evidence From a Travel Cost Method Study
10. Epistemology and conceptual resources for the development of learning technologies