From inezelisabeth.derkx at uzh.ch Wed Feb 8 15:30:34 2023 From: inezelisabeth.derkx at uzh.ch (Inez Elisabeth Derkx) Date: Wed, 8 Feb 2023 14:30:34 +0000 Subject: [Basta-users] Life expectancy and BaSTA Message-ID: Hello, I have been enjoying using BaSTA recently and was wondering whether the package allows one to compute life expectancy L(x) in a specific function/combination of functions (such as with MakeLifeTable?). If not, is there a way to get the table of values on which the survival curve is based? I.e., the value of S(x) for each age. Any input you may have would be very helpful, and thank you for allowing users to ask questions! Best wishes, Inez -------------- next part -------------- An HTML attachment was scrubbed... URL: From colchero at imada.sdu.dk Wed Feb 8 16:37:52 2023 From: colchero at imada.sdu.dk (Fernando Colchero) Date: Wed, 8 Feb 2023 15:37:52 +0000 Subject: [Basta-users] Life expectancy and BaSTA In-Reply-To: References: Message-ID: Hi Inez, Thank you for your interest in using BaSTA. Currently, the package calculates a life table, but we are fixing several bugs. As an alternative, I’ve put together the package paramDemo in GitHub (https://github.com/fercol/paramDemo). With it you can calculate life expectancy and other summary statistics with the mortality parameter outputs from BaSTA. Let me know if this is something that can help and if you need any assistance. Best, Fernando ----------------------------------------------------- Fernando Colchero Associate Professor Department of Mathematics and Computer Sciences (IMADA) and Interdisciplinary Center on Population Dynamics (CPop) Tlf. +45 65 50 46 35 Email colchero at imada.sdu.dk Web www.sdu.dk/staff/colchero Pers. web www.colchero.com Adr. Campusvej 55, 5230, Odense, Dk University of Southern Denmark ------------------------------------------------------ From: Basta-users on behalf of Inez Elisabeth Derkx Date: Wednesday, 8 February 2023 at 15.32 To: basta-users at lists.r-forge.r-project.org Subject: [Basta-users] Life expectancy and BaSTA Hello, I have been enjoying using BaSTA recently and was wondering whether the package allows one to compute life expectancy L(x) in a specific function/combination of functions (such as with MakeLifeTable?). If not, is there a way to get the table of values on which the survival curve is based? I.e., the value of S(x) for each age. Any input you may have would be very helpful, and thank you for allowing users to ask questions! Best wishes, Inez -------------- next part -------------- An HTML attachment was scrubbed... URL: