Application example :
data from Ibn al-Haytham Hospital which is the largest hospitals in Iraq for eye disease, the sample size N = 1285 patients, here we used the Log linear models technique. Patients classified according to: 1. Type of disease( which contain two categories :which is considered here as a dependent variable :
A - retinal detachment B - inflammation of the optic sticks 2. Age in years: It has been divided into three categories:
A 15-44 B 44- 64 C more than 64 The researcher neglected age groups under 15 years old, because injury to these two diseases in this age period have been nonexistent, according to the hospital. The data classified in two way contingency table :
Table (1) Two-way contingency table for opserved data of the patient Age 15 - 44 45-64 More than 64 Disease retinal detachment 91 350 162
www. [Link] email us at info@ [Link] or call us at +1 520 8371215
Now , we find expected value under the independent model which it's formula is : ( xi.) ( x. j ) mij .......... (4) N We put these expected values in the next table : Table (2) Two-way contingency table for expected data of the patient (independent model) Log mij = u + u1i + u2j expected values matrix 85.93 96.06 345.84 391.15 172.23 194.79
Now we calculate (2 and G2 ) where their formulas are :
( xij mij ) 2 .......... .......... ... ( 5 ) mij i, j
2
G 2 2 xij Log
i, j
xij .......... ....... ( 6 ) mij
The results are :
2 = 1.9171
and
G2 = 0.001 2 according to the degrees of freedom table :
The degree of freedom for the independent model is
Table (3) Degrees of freedom for ( saturated and unsaturated model ) for two-way contingency tables Terms of u U u1 u2 u12 Sum Degrees of freedom 1 r -1 c -1 (r1)(c1) rc
So , with 2 degrees of freedom , under the morale = 0.05 , the value of table 2 = 5.99
www. [Link] email us at info@ [Link] or call us at +1 520 8371215
Then by compare the calculated values of 2 and G2 with the value of table 2 , we see that the calculated values less than table value , which mean that the calculated value morale and the independent model makes good represent for the data . Conclusions Any of above techniques has strengths points and weaknesses points , that is mean that the analyst must be carful when he use these techniques , where he must understood the strengths and the weaknesses of each one of these techniques . Each of multivariate techniques describe some types of data different from the other techniques . Statistical programs such like ( spss , sas , and others ) make it easy to run a procedure .
www. [Link] email us at info@ [Link] or call us at +1 520 8371215