Ask Your Question
0

What is the reason for R returning a line that has no slope?

asked 2022-04-09 11:00:00 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-08-06 21:00:00 +0000

ladyg gravatar image

R may return a line that has no slope if all the data points in the dataset have the same value for the independent variable, or if there is no variation in the dependent variable for different values of the independent variable. In these cases, the best fit line will be a horizontal line with no slope.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-04-09 11:00:00 +0000

Seen: 11 times

Last updated: Aug 06 '21