[R] Fitting a sine wave using solver
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Nov 20 23:46:46 CET 2008
See e.g.
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/131024.html
RSiteSearch() produced this and similar relevant past postings.
On Thu, 20 Nov 2008, Ben Zuckerberg wrote:
> Greetings,
>
> I have several sets of oscillation data and would like to estimate the
> parameters of a sine function to each set (and hopefully automate this). A
> colleague provided an excel sheet that uses solver to minimize the RSS after
> fitting the sine function to each data set, but this cumbersome and difficult
> to automate. Is there a method in R for fitting a given sine function to a
> supplied data using maximum likelihood estimation (or minimizing the RSS).
> Thanks in advance.
>
> --
> Benjamin Zuckerberg, Ph.D.
> Post-doctoral Associate
> Spatial Ecologist, Citizen Science
> Cornell Laboratory of Ornithology
> 159 Sapsucker Woods Road
> Ithaca, NY 14850 Tele: 607-254-2174
> Fax: 607-254-2111
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list