After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627461 - time series analysis interpolation test case returns #VALUE! error
time series analysis interpolation test case returns #VALUE! error
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Documentation
1.10.x
Other Linux
: Normal normal
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2010-08-20 07:00 UTC by tarvid
Modified: 2010-08-20 20:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
time series analysis test workbook (3.76 KB, application/x-gnumeric)
2010-08-20 07:00 UTC, tarvid
Details
updated workbook (3.76 KB, application/x-gnumeric)
2010-08-20 07:56 UTC, tarvid
Details
updated updated workbook (3.76 KB, application/x-gnumeric)
2010-08-20 08:19 UTC, tarvid
Details

Description tarvid 2010-08-20 07:00:53 UTC
Created attachment 168369 [details]
time series analysis test workbook

Goal. Compute asfr(time, age-group) where time is [1991,. 2021] and age-group=[15-19,20-24,25-29,30-34,35-39,40-44,45-49]

Given.
start and stop months of survey
age-group of respondent at time of survey
fertility rate based on number of births in the three year period befor interview
Imputations.
Start and stop dates are the 15th of the month of the dates of field work.
Interview conducted at the midpoint of the start and stop dates
Fertility observation ascribed to 18 months before the midpoint
Data observations.
Survey name
vlookup of date from the survey-date worksheet (abscissae)
births per thousand by survey and age-group (ordinates)
Output.asfr by calendar year and age-group

Formula.

=interpolation('asfr-dhs'!$B$2:$B$6,'asfr-dhs'!$C$2:$C$6,'asfr-ts'!$A3,0)

where 
'asfr-dhs'!$B$2:$B$6 are the imputed dates of the observations
'asfr-dhs'!$C$2:$C$6 are the observations
'asfr-ts'!$A3 is the target date
0 is the method
Comment 1 tarvid 2010-08-20 07:56:36 UTC
Created attachment 168370 [details]
updated workbook
Comment 2 tarvid 2010-08-20 08:19:29 UTC
Created attachment 168374 [details]
updated updated workbook

Close this bug.

I made two mistakes:

1) the given abscissas must be in increasing time order
2) the returned values must be of type number and not date
Comment 3 Andreas J. Guelzow 2010-08-20 19:53:29 UTC
Well, we still need to fix the documentation to point out that the abscissae must be in increasing order.
Comment 4 Andreas J. Guelzow 2010-08-20 20:18:09 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.