![]() ![]() Slope_0, intercept, r_value, p_value, std_err = stats.linregress(X, Y) I also don't think linregress is the best way to go because I don't need any of the auxiliary variables like intercept, standard error, etc in my results. For example, I can easily do this one row at a time, as shown below, but I was hoping there was a more efficient way of doing this. I have a data set of three Y variables and one X variable and I need to calculate their individual slopes. ![]() I am trying to find the fastest and most efficient way to calculate slopes using Numpy and Scipy. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |