Dear Allstat
How is it possible to determine the number of estrous cycles in dogs when
the occurrence of the cycle is given.
For instance, when the determinants of the cycle is given by DI,PR,ES,ME,S,P
where DI=diestrus,PR=Proestrus,ES=estrus,ME=metestrus,S=sperm,P=plug.
The occurrence of estrus is only that matters and the cycle is given by EST
DI DI DI MET EST -- here the length of the cycle is 5 until the occurrence
of next estrus.
A cycle is calculated from one estrus to another estrus. The length of the
cycle is the period until next estrus occurs which is 5 in the above case.
How do I write a code to calculate this in Statistics. The endpoint is to
calculate the number of cycles and length of each cycle.
The output has to look like this:
animal_id cycle1 cycle2 cycle3
101 5 3 2
102 2 3 1
103 3 1 2
You may leave the list at any time by sending the command
SIGNOFF allstat
to [log in to unmask], leaving the subject line blank.
|