The fit method in Linear Regression
In the newly defined fit method, you are calculating the SE. I get SSE, it's the variance. To calculate se, it would be square root of SSE/n
Not too sure what's happening in the se calculation. Also I'm not sure where X.T is coming from. I thought X is just an array? Can you explain what's happening in the SE calculation in detail?
Thank you
0 answers ( 0 marked as helpful)