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. Bird’s Eye View to Indonesian Mass Conflict Revisiting the Fact of Self-Organized Criticality
2. Telecommuting and environmental policy - lessons from the Ecommute program
3. The name is absent
4. IMMIGRATION AND AGRICULTURAL LABOR POLICIES
5. Volunteering and the Strategic Value of Ignorance
6. A Bayesian approach to analyze regional elasticities
7. Gerontocracy in Motion? – European Cross-Country Evidence on the Labor Market Consequences of Population Ageing
8. A Note on Costly Sequential Search and Oligopoly Pricing (new title: Truly Costly Sequential Search and Oligopolistic Pricing,)
9. Novelty and Reinforcement Learning in the Value System of Developmental Robots
10. The name is absent