fetch_medflies#

skfda.datasets.fetch_medflies(*, return_X_y: typing_extensions.Literal[False] = False, as_frame: bool = False) Bunch[source]#
skfda.datasets.fetch_medflies(*, return_X_y: typing_extensions.Literal[True], as_frame: typing_extensions.Literal[False] = False) Tuple[FDataGrid, ndarray[Any, dtype[int64]]]
skfda.datasets.fetch_medflies(*, return_X_y: typing_extensions.Literal[True], as_frame: typing_extensions.Literal[True]) Tuple[DataFrame, Series]

Load the Medflies dataset.

The data is obtained from the R package ‘ddalpha’, which its a modification of the dataset in http://www.stat.ucdavis.edu/~wang/data/medfly1000.htm.

The data set medfly1000.dat consists of number of eggs laid daily for each of 1000 medflies (Mediterranean fruit flies, Ceratitis capitata) until time of death. Data were obtained in Dr. Carey’s laboratory. A description of the experiment which was done by Professor Carey of UC Davis and collaborators in a medfly rearing facility in Mexico is in Carey et al.(1998) below. The main questions are to explore the relationship of age patterns of fecundity to mortality, longevity and lifetime reproduction.

A basic finding was that individual mortality is associated with the time-dynamics of the egg-laying trajectory. An approximate parametric model of the egg laying process was developed and used in Müller et al. (2001). Nonparametric approaches which extend principal component analysis for curve data to the situation when covariates are present have been developed and discussed in Chiou, Müller and Wang (2003) and Chiou et al. (2003).

References

Carey, J.R., Liedo, P., Müller, H.G., Wang, J.L., Chiou, J.M. (1998). Relationship of age patterns of fecundity to mortality, longevity, and lifetime reproduction in a large cohort of Mediterranean fruit fly females. J. of Gerontology –Biological Sciences 53, 245-251.

Chiou, J.M., Müller, H.G., Wang, J.L. (2003). Functional quasi-likelihood regression models with smooth random effects. J. Royal Statist. Soc. B65, 405-423. (PDF)

Chiou, J.M., Müller, H.G., Wang, J.L., Carey, J.R. (2003). A functional multiplicative effects model for longitudinal data, with application to reproductive histories of female medflies. Statistica Sinica 13, 1119-1133. (PDF)

Chiou, J.M., Müller, H.G., Wang, J.L. (2004).Functional response models. Statistica Sinica 14,675-693. (PDF)

Parameters:
  • return_X_y – Return only the data and target as a tuple.

  • as_frame – Return the data in a Pandas Dataframe or Series.

Examples using skfda.datasets.fetch_medflies#

Representation of functional data

Representation of functional data