I am not as experienced with stats as I'd like to be, so unfortunately I don't know too much about fitting confidence bounds, how they are calculated and whether I'm after an observational/ functional or simultaneous/ non-simultaneous or not; I'd like to, but for now I really just need to get these confidence bounds on a plot I need for uni.
I can't figure out how to calculate them in time, nor can I seem to find any resources about the boundaries of a linear regression method in matlab, so I just want to ask here: How do I extend the bounds plotted using the fitlm() function?
I have a model, 'mdl3', which is superimposed on the data itself using "hold on" followed by "plot(mdl3)". The entire point of this regression model is specifically to measure the x-intercept, so although it is useful having the bounds there to graphically demonstrate the fit, it would be ideal if I could extrapolate them all the way to the edge(s) of the axis limit(s). I understand, from my recent scowering, that the default boundaries are likely "simultaneous"; meaning, from my vague understanding, this is not intended for extrapolation: In this case, would it be possible to just superimpose another, non-simultanous, confidence boundary?
P.S.: As you may have read, I also need results for the uncertainty of the x-intercept, and this is also an aspect I am rather light on (I had to drop out of first year stats due to illness and haven't managed to catch up yet). I am using the taylor series approximation, using the "*.CoefficientCovariance(1,2)" as the
value; if there is a better method/ inbuilt matlab function, I'd greatly appreciate that as well. Cheers!