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. Fiscal Sustainability Across Government Tiers
2. Estimating the Economic Value of Specific Characteristics Associated with Angus Bulls Sold at Auction
3. Antidote Stocking at Hospitals in North Palestine
4. Monetary Policy News and Exchange Rate Responses: Do Only Surprises Matter?
5. Pursuit of Competitive Advantages for Entrepreneurship: Development of Enterprise as a Learning Organization. International and Russian Experience
6. Update to a program for saving a model fit as a dataset
7. Alzheimer’s Disease and Herpes Simplex Encephalitis
8. THE ANDEAN PRICE BAND SYSTEM: EFFECTS ON PRICES, PROTECTION AND PRODUCER WELFARE
9. The name is absent
10. The name is absent