# About testing equal means across twin order, etc

**URL:** https://isgw-forum.colorado.edu/t/about-testing-equal-means-across-twin-order-etc/327
**Category:** Day 3
**Created:** [June 9, 2022, 3:47am UTC](https://isgw-forum.colorado.edu/t/about-testing-equal-means-across-twin-order-etc/327 "2022-06-09T03:47:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![anonymous3](https://isgw-forum.colorado.edu/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@anonymous3](https://isgw-forum.colorado.edu/u/anonymous3)
#### Post date: [June 9, 2022, 3:47am UTC](https://isgw-forum.colorado.edu/t/about-testing-equal-means-across-twin-order-etc/327/1 "2022-06-09T03:47:45Z")

</div>

Lines 96-99 in “practicalDay3.R” appear to test equal means across order for male twins. Are we expected to change/modify the code/command to perform this test for female twins?

The same question is applied for testing equal means and variance across twin order and testing equal means and variances across twin order and zygosity.

Thanks

---

<div class="post-metadata">

### Author: ![stromnor](https://isgw-forum.colorado.edu/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@stromnor](https://isgw-forum.colorado.edu/u/stromnor)
#### Post date: [June 9, 2022, 8:55am UTC](https://isgw-forum.colorado.edu/t/about-testing-equal-means-across-twin-order-etc/327/2 "2022-06-09T08:55:57Z")

</div>

Hi,

I believe you have to change the numbers after twinData$zyg in line 64 and 65 and then run again. In lines 28-32 it is defined which number means what (1 is female MZ, 3 is female DZ, 2 is male MZ…)

I hope taht is correct & helps.
