how can i find the slope of a regression line
Mostra commenti meno recenti
i have a large set of data, i can plot it and graph its regression line as can be seen on the figure below. all of my regression line slope calculations are giving me a wrong value, either an absurt number or 95 degrees (i think it can be 90 degrees rotated). chatgpt failed to find a solution so im trying my chances here.

3 Commenti
> chatgpt failed to find a solution so im trying my chances here
Other way around, you tried your chances with chatgpt 🤓
Are you trying to compute the slope of the regression line or are you trying to compute the regression and then get the slope from the regression coefficients?
If you already have the line, how are you plotting it? Assuming you have two coordinates of the line, preferably the first and last, slope = (y(end)-y(1)) / (x(end)-x(1)). -DanzGPT
Omer hakan Yaran
il 18 Apr 2023
Adam Danz
il 28 Apr 2023
😀
I saw that the cyclist addressed your question quickly after your reply. I'm curious what issues you had with ChatGPT when trying to solve this problem. This was at least 11 days ago so I understand if those memories are faded.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Linear Predictive Coding in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
