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. Effects of red light and loud noise on the rate at which monkeys sample the sensory environment
2. Environmental Regulation, Market Power and Price Discrimination in the Agricultural Chemical Industry
3. Factores de alteração da composição da Despesa Pública: o caso norte-americano
4. Modelling the health related benefits of environmental policies - a CGE analysis for the eu countries with gem-e3
5. Industrial Cores and Peripheries in Brazil
6. Transport system as an element of sustainable economic growth in the tourist region
7. The name is absent
8. Growth and Technological Leadership in US Industries: A Spatial Econometric Analysis at the State Level, 1963-1997
9. The name is absent
10. Modelling the Effects of Public Support to Small Firms in the UK - Paradise Gained?