Displaying 1 result from an estimated 1 matches for "wrriten".
Did you mean:
wriiten
2009 Jul 15
0
time series fiting and residual computing
...duals
OR as:
testfit<-lm(co2obs~1+time+I(time^2)+sin(2*pi*time)+cos(2*pi*time)+sin(4*pi*time)+cos(4*pi*time)+sin(6*pi*time)+cos(6*pi*time)+sin(8*pi*time)+cos(8*pi*time),data=file)
#RESIDUALS COMPUTING for above data fit
testfit$residuals
NOTE: The 'third' term (ct^2) in both above is wrriten differently, rest
terms are same.
Kindly advise which one in above is correct, OR both are wrong ?
Great Thanks,
Regards,
Yogesh
[[alternative HTML version deleted]]