Feature #1228
gmt regress - retrieve R-squared
Status: | Closed | Start date: | 2018-03-28 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 100% | ||
Category: | - | |||
Target version: | Candidate for next minor release | |||
Platform: | Linux |
Description
Quite excited with the new functionality in GMT.
For gmt regress, does the output consist of a r-squared value?
History
#1
Updated by Paul almost 3 years ago
- Status changed from New to Feedback
- Assignee set to Paul
- Target version set to Candidate for next minor release
Curiously, we apparently forgot to include r or R-squared among the reported statistics... I will have a look at this.
#2
Updated by Paul almost 3 years ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
I have updated the code to write both R squared and r to the segment header, similar to other statistics. In r19997 but not fully tested yet.
#3
Updated by Paul almost 3 years ago
- Status changed from Resolved to Closed
- Priority changed from High to Normal
Closing due to lack of feedback.
#4
Updated by Robinson over 2 years ago
Paul,
Kindly checking if this has been updated? My GMT details are thus:
GMT - The Generic Mapping Tools, Version 5.4.3 (r19528) [64-bit] [2 cores]
Running under Ubuntu 18.04
#5
Updated by Paul over 2 years ago
It was placed in GMT 6 about six months ago. However, I just fixed a bug today.
To use it you will need to check out GMT6 which now is on GitHub (see our front page).
#6
Updated by Robinson over 2 years ago
Oh thank you! How do I install GMT 6 in Ubuntu 18.04? Can I do sudo apt?
Ok, I got the installation instructions on github, now trying ...
#7
Updated by Joaquim over 2 years ago
Robinson wrote:
Oh thank you! How do I install GMT 6 in Ubuntu 18.04? Can I do sudo apt?
GMT6 is not released yet. You must build it from source. Instructions are in the Github (and GMT site) pages.
#8
Updated by Robinson over 2 years ago
Got it! Just built and installation went smoothly.
However, I still have GMT5.4.3 in the system - is this going affect my calling gmt6?
#9
Updated by Robinson over 2 years ago
When I do: $ gmt --version, I get - 5.4.3
#10
Updated by Paul over 2 years ago
You need to modify your $PATH setting so that wherever you installed GMT6 is found first.
#11
Updated by Robinson over 2 years ago
Nailed it! Thank you. I have been a user since GMT4, and I like it. Keep up the good work.