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. The name is absent
2. The name is absent
3. The name is absent
4. The Economic Value of Basin Protection to Improve the Quality and Reliability of Potable Water Supply: Some Evidence from Ecuador
5. Understanding the (relative) fall and rise of construction wages
6. Improvement of Access to Data Sets from the Official Statistics
7. The name is absent
8. The name is absent
9. The name is absent
10. Mortality study of 18 000 patients treated with omeprazole