search for: 15a3106a

Displaying 1 result from an estimated 1 matches for "15a3106a".

Did you mean: 15.3106
2010 Jun 17
3
trigonometric regression
Suppose I do a trigonometric regression fit<-lm(y~ cf + sf) where cf and sf are the cos and sine components. b<-coef(fit) I have the fitted sine component b[2] and the cos component b[3]. Doing summary(fit) gives me the p-values and SEs for b[2] and b[3]. But I want the amplitude of the fitted waveform amp<-sqrt(b[2]^2+b[3]^2) Can someone please tell me how to get the p-value for amp?