cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Summary Statistics for Text Analysis

I am trying to get information on both a whole book and also by chapter. Is there a quick of doing that besides running the analysis twice? (For instance I would like to know how often a word occurs in a book and also in a chapter.)

 

I am also trying to find out if certain words occur in proximity to other words. Is there a quick test for this? (For instance does "work" occur within 7 words of "injury".)

1 REPLY 1

Re: Summary Statistics for Text Analysis

I suggest you add a new data column that identifies the chapter. I believe you have to run the analysis twice. I recommend starting with the entire book to curate the term list and develop your summaries. Save the script for the curated analysis. Click the red triangle to reveal the platform menu and select Redo > relaunch Analysis. Select the Chapter column and click By before clicking OK. This will then perform the same curated analysis separately for each chapter.

 

You could save the document term matrix with an appropriate transform and then perform a hierarchical clustering analysis to assess proximity.

Recommended Articles