[Babase] REPSTATS and the unborn
Karl O. Pinc
babase@www.eco.princeton.edu
Sat, 1 May 2004 16:52:25 -0500
On 2004.05.01 15:34 Jeanne Altmann wrote:
> We definitely need to check abortions (including fetal death when mom
> dies) to be sure we get birth dates).
I imagine you already have birthdates, as this is the only record of
the date
of the abortion.
> I don't recall why we made this decision, but we should consider all
> the implications now. This decision does mean that repstat will have
> the wrong stat for many females for approximately the most recent
> 6mos of updates. This isn't good, so I'm inclined to change this
> unless there's a good reason not to.
It's not that you have the wrong stat, you have no row at all and
so no stat. This seems reasonable to me. If you did have a row
it would have the wrong number for 'days remaining in state'.
With no row, using SQL, you get no results for 'incomplete'
pregnancies. This _sounds_ ok to me.
I'm going to try this with some test data to be sure what I think
is happening is happening.
Note that there's lots of wierd data in REPSTATS, as the system
dosen't know that two sequential cycles years apart mean that
data is missing, not that one cycle is especially long.
It _does_ know that data is missing when there's a missing tdate
or ddate in a cycles row, and then rows don't appear. I've
been going over this with Steph. It seems that the first step
when using this data is to eliminate nonsensical rows.
Of course, I can make the program do _anything_, if we have
good things for it to do. I'm kind of opting for simple and
understandable, and what we've got now seems to meet that
criteria, although I'm biased because I've been working with it.
>
> jeanne
>
> At 01:16 PM 5/1/2004 -0500, you wrote:
>> Hi,
>>
>> Looking over the program that populates REPSTATS
>> I notice that when there's a pregnancy you don't get
>> P rows in repstats until the offspring has a birthdate.
>> I belive this was intentional, especially as there
>> is a 'days remaining' in state column which couldn't
>> be filled out until the length of the state is known,
>> but there are implications. I figured I'd write as
>> we're starting to work with this data.
>>
>> All abortions must have rows in BIOGRAPH with a Birth date.
>>
>> The as-yet-unborn don't show in REPSTATS.
>>
>> Karl <kop@meme.com>
>> Free Software: "You don't pay back, you pay forward."
>> -- Robert A. Heinlein
>> _______________________________________________
>> Babase mailing list
>> Babase@www.eco.princeton.edu
>> http://www.eco.princeton.edu/mailman/listinfo/babase
>
> _______________________________________________
> Babase mailing list
> Babase@www.eco.princeton.edu
> http://www.eco.princeton.edu/mailman/listinfo/babase
Karl <kop@meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein