Be sure to review our Idea Submission Guidelines for more information!
Submission GuidelinesWhen I checked out if there is a way to force the intercept to 0 or some other constant value, it's not doable from the tool configurations.
So manually we can have "0" intercept in linear regression this way (edit the macro's R tool)
cars.lm <- lm(dist ~ speed, data = cars) cars.lm2 <- lm(dist ~ 0 + speed, data = cars) summary(cars.lm)
# Adding the 0 term tells the lm() to fit the line through the origin
So a minor addition of a tickbox will solve that and make that linear regression tool more flexible i guess...
Best...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.