Fitting Data to Arbitrary Line (Regression but different)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fitting Data to Arbitrary Line (Regression but different)

Jon17
I'm trying to describe the variability of the blue dots from the reds line
(always set at 1).  What's the best way to do this?  This is kind of like
Regression but I'm fixing the red line in place.  Regular regression would
change the slope and position of the red line and I don't want that.  
What's the easiest way to do this in R?



<http://r.789695.n4.nabble.com/file/t385815/FitToRed.png>

Actual Data

0.774229
1.162761
1.109631
1.372468
1.13379
1.153927
1.118349
1.137478
1.22055
1.207787
1.226321
1.215817
1.226673
1.24001
1.241038
1.254003
1.253196
1.253837
1.255753
1.262815
1.252019
1.262826
1.253053
1.255433
1.258043
1.248196
1.244444
1.240364
1.2393
1.217359
1.198974
1.196677
1.174224
1.159929
1.122434
1.089592
1.03896
0.988716
0.960175
0.944184
0.901207
0.894323
0.879981
0.886207
0.868376
0.861888
0.856275
0.855425
0.85457
0.855529
0.855288
0.850127
0.852516
0.849213
0.858875
0.864621
0.878321
0.893041
0.893581
0.905733
0.919137
0.922423
0.930123
0.921668
0.920419
0.909795
0.908668
0.894328
0.89776
0.891001
0.879262
0.870372
0.853152
0.842036
0.834984
0.800609
0.796472
0.767675
0.747799
0.73456
0.706946
0.704581
0.699557
0.675703
0.543421
0.55512
0.662283
0.629829
0.510493
0.086025
0.271311



--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
_______________________________________________
datatable-help mailing list
[hidden email]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help