Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

- JMP User Community
- :
- Discussions
- :
- Re: In what order is the Document Term Matrix displayed

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Dec 2, 2019 1:10 PM
(1188 views)

When I want to export the Document Term Matrix I need to specify Maximum Number of Terms and Minimum Term Frequency. So when the table is exported, is there are an order in which the term columns as whole are shown?

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Hi @statlover,

The document term matrix is saved in descending order of term count. So, the term with the highest incidence will be the first column in the "Document Terms" column group, and the term with the lowest incidence will be the last column. If terms have the same count they will be ordered alphabetically by the term.

4 REPLIES 4

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: In what order is the Document Term Matrix displayed

Did you try it?

Learn it once, use it forever!

Highlighted
##

I generated the DTM and saved it. But I am not sure which terms show up as the first set of columns and which terms come in the lst set of columns, that are exported. Is there a numeric order in which they are displayed? Do terms with high overall frequency come first?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: In what order is the Document Term Matrix displayed

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Hi @statlover,

The document term matrix is saved in descending order of term count. So, the term with the highest incidence will be the first column in the "Document Terms" column group, and the term with the lowest incidence will be the last column. If terms have the same count they will be ordered alphabetically by the term.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: In what order is the Document Term Matrix displayed

Thank you very much Julian

Article Labels

There are no labels assigned to this post.