DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Linear Regression - set intercept = 0?

Using a linear regression, is there a way to set the intercept to zero?
0 Kudos
Message 1 of 3
(4,818 Views)
I'm not sure if I understood your question correctly, as far as I know Diadem sets the intercept for you.

For the regression function, DIAdem calculates the regression coefficient a, the regression coefficient b (where b is the intercept), and the determination coefficient r2.

Could you please tell me what your application is aimed at in this case.

Thank you

Nandini Subramaniam
NI
0 Kudos
Message 2 of 3
(4,809 Views)

This annoyed me for a short while when I first started using Diadem.

 

Instead of trying to run a linear regression, you can use non linear curve fitting and change your setup function formula from a+b*x to simply b*x (or similar). This ensures that your fit intercept is 0.

---
CLA
Message 3 of 3
(4,344 Views)