Converting R-Value to Percent Uncertainty in Linear Regression Predictions

  • Thread starter Thread starter 24forChromium
  • Start date Start date
  • Tags Tags
    Excel Value
AI Thread Summary
To convert the R-value to percent uncertainty in linear regression predictions, one can utilize the standard error of residuals. This approach allows for the calculation of confidence intervals around predictions, such as when predicting y for a given x value. The error bounds can be determined by adding and subtracting the standard error multiplied by the inverse of the Standard Normal cumulative distribution function. This method provides a statistical framework for expressing uncertainty in predictions. Understanding these concepts is crucial for accurately interpreting regression analysis results.
24forChromium
Messages
155
Reaction score
7
I just need a quick answer, say I have a bunch of data points on a graph, I made a trendline with a function of
y = 5x + 6, and a r value of R^2 = 3, is there a way of converting the r value into a percent uncertainty in the prediction of the functions? Say I used the function to predict when x = 4, the result would be 26 when the function is infinitely accurate, but since it's not, how can I add an uncertainty value to the 26?
 
Technology news on Phys.org
If you want to express confidence intervals for your predictions, I think the 'standard error of residuals' is the number needed.

The assumption underlying ordinary least squares linear regression is that the dependent variable is equal to the predicted linear sum (which is deterministic) plus a a random error term ('residual') that is normally distributed.

If you want a two-sided x% confidence interval for your estimate then the error bounds are estimate plus/minus

stderror times ##\Phi^{-1}(\frac{1}{2}(x+1))## where ##\Phi^{-1}## is the inverse of the Standard Normal cumulative dist function. I think the Excel name for it is something like NORMSINV.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top