04.06.2013 Views

Ethnic Hostility among Ethnic Majority and Minority Groups

Ethnic Hostility among Ethnic Majority and Minority Groups

Ethnic Hostility among Ethnic Majority and Minority Groups

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

vector d = d1 to d6.<br />

vector p = p1 to p6.<br />

COMPUTE PRED=(p(destination))*d(origin) + (1-p(destination))*d(de<br />

stination).<br />

NLR depY.<br />

*WEAKLIEM MODEL.<br />

*It is also possible to formulate a parsimonious model for origin/<br />

destination weights that depend on the specifi c origin-destination<br />

combination.<br />

* We defi ne the origin weight as: f*p(origin)/(f*p(origin) +<br />

p(destination)).<br />

* We use the following constraint: p(6)=p1*p2*p3*p4*p5.<br />

MODEL PROGRAM p1=1 p2=1 p3=1 p4=1 p5=1 d1=2 d2=2 d3=2 d4=2 d5=2<br />

d6=2 f=1.<br />

vector d = d1 to d6.<br />

vector p= p1 to p5.<br />

do if (not origin=6 & not destination=6).<br />

COMPUTE PRED=(f*p(origin)/(f*p(origin) + p(destination)))*d(origi<br />

n) + (1-(f*p(origin)/(f*p(origin) + p(destination))))*d(destinati<br />

on).<br />

end if.<br />

do if (origin=6 & not destination=6).<br />

COMPUTE PRED=(f*(1/(p1*p2*p3*p4*p5))/(f*(1/(p1*p2*p3*p4*p5)) +<br />

p(destination)))*d(origin) + (1-(f*(1/(p1*p2*p3*p4*p5))/(f*(1/<br />

(p1*p2*p3*p4*p5)) + p(destination))))*d(destination).<br />

end if.<br />

do if (not origin=6 & destination=6).<br />

COMPUTE PRED=(f*p(origin)/(f*p(origin) + (1/(p1*p2*p3*p4*p5))))*d<br />

(origin) + (1-(f*p(origin)/(f*p(origin) + (1/(p1*p2*p3*p4*p5)))))<br />

*d(destination) .<br />

end if.<br />

do if (origin=6 & destination=6).<br />

COMPUTE PRED=(f*(1/(p1*p2*p3*p4*p5))/(f*(1/(p1*p2*p3*p4*p5)) + (1/<br />

(p1*p2*p3*p4*p5))))*d(origin) + (1-(f*(1/(p1*p2*p3*p4*p5))/(f*(1/<br />

(p1*p2*p3*p4*p5)) + (1/(p1*p2*p3*p4*p5)))))*d(destination) .<br />

end if.<br />

NLR depY.<br />

*Interpretation:<br />

Appendix<br />

211

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!