# two way analysis

#### Snowy88

##### New Member
I have data for 1970 and 1980 parity ratios,
Parity 0 1 2 3 4 5
British 0.879 0.797 0.558 0.484 0.480 0.531
Cubans 0.939 0.920 0.818 0.796 0.789 0.774
Blacks 0.748 0.778 0.787 0.789 0.774 0.759

Parity 0 1 2 3 4 5
British 0.929 0.882 0.646 0.531 0.476 0.496
Cubans 0.961 0.943 0.839 0.803 0.748 0.713
Blacks 0.866 0.877 0.794 0.761 0.723 0.725

how do i do a two way PLUS analysis for 1970 then 1980 then the entire table in excel or R.

#### ledzep

##### Point Mass at Zero
What do you mean by parity ratios? Do parity always have 6 levels? What is your objective here? Compare if there is a difference between different parity levels? or compare if there is a difference in ethnicity/nationality levels? or see if there is difference in time effect? or all of those?

You can use a all these as a factors in your regression model. I will use a glm in R.

#### Snowy88

##### New Member
Parity ratios is the proportion of women at a given level (previous live births) and is then by ethnic groups above. I have to do a two way plus analysis for the 6x6 compare to two (3x6) table. Its not a regression but a calculation of medians and residuals that is needed.