[R] measure smoothness
Nordlund, Dan (DSHS/RDA)
NordlDJ at dshs.wa.gov
Tue Nov 27 17:34:25 CET 2007
> -----Original Message-----
> From: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] On Behalf Of Al Lelopath
> Sent: Tuesday, November 27, 2007 8:20 AM
> To: r-help at r-project.org
> Subject: [R] measure smoothness
>
> I have 3 sets of Cartesian data, one is 'original' data and the other
> 2 are "smoothed"data. The smoothed data is the result of applying a
> smoothing algorithm to the original.One set of smoothed data is the
> 'old' algorithm and the other set is the 'new' algorithm.
>
> Does R have the capability of telling me which data is "smoother"?
>
> Example data (subsets of entire data set):
>
> original:
> 61 1.419584402
> 62 1.487019923
> 63 1.436887012
> 64 1.39522855
> 65 1.455934713
> 66 1.51774951
> 67 1.603945531
> 68 1.67847891
> 69 1.559326003
> 70 1.57563213
> 71 1.591873853
>
> old smoothed:
> 61 1.337874627
> 62 1.391745721
> 63 1.387506435
> 64 1.382959722
> 65 1.413494505
> 66 1.445366725
> 67 1.474782643
> 68 1.474782643
> 69 1.474782643
> 70 1.474782643
> 71 1.500106199
>
> new smoothed:
> 61 1.399345513
> 62 1.416106263
> 63 1.451252527
> 64 1.486278253
> 65 1.505360173
> 66 1.522991093
> 67 1.535206073
> 68 1.546861126
> 69 1.589831189
> 70 1.608288145
> 71 1.620107467
>
There is no way of answering this question without knowing what what your criterion/criteria for "smoother" is/are.
Dan
Daniel J. Nordlund
Research and Data Analysis
Washington State Department of Social and Health Services
Olympia, WA 98504-5204
More information about the R-help
mailing list