search for: lm_output

Displaying 1 result from an estimated 1 matches for "lm_output".

Did you mean: ip_output
2008 Jun 05
1
R-code embedded in VBE -- Type mismatch errors
...flags[lr<=1] = 0 z = lr*use_flags w = c(1:length(lr)) w = w*use_flags z_prime = z[z!=0] w_prime = w[w!=0] y = log(z_prime-1) # Least-squares regression calculations lm_output = lm(y ~ w_prime) # Curve parameters intercept = summary(lm_output)$coefficients[1] se_intercept = summary(lm_output)$coefficients[3] slope = summary(lm_output)$coefficients[2] se_slope = summary(lm_output)$coefficie...