取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
选择语言 隐藏翻译栏
Mcc99
Level III

Quick way to populate many correlation coefficients in to a column at once?

I have a dataset with five sample dose levels and many compound concentrations identified in the samples. I would like to see which of the compounds correlate with the sample levels and sort the compounds by most correlated. I think the easiest way would be to batch-run regressions and have the Pearson correlation coefficient or r squared populate to a data table, but I'm not sure how. Would I have to write a script or is there a different way? 

I'm using JMP pro 16. 

Thanks!

1 个已接受解答

已接受的解答

Re: Quick way to populate many correlation coefficients in to a column at once?

I assume the doses and compound concentrations are stored in numeric data columns using the Continuous modeling type. You can survey the correlations using the Bivariate platform. Select Analyze > Fit Y by X. Enter the dose data column in the Y role. Enter the concentration columns in the X role. Click OK. Press and hold the CTRL key with Windows or the Command key with Mac, click the red triangle next to the first Bivariate analysis, and select Density Ellipse and the confidence you want. This way, the command is broadcast to all X, Y pairs. Now right-click in the table of correlation results and select Make into Combined Table. You can now use the Table > Sort command to order the results.

在原帖中查看解决方案

2 条回复2

Re: Quick way to populate many correlation coefficients in to a column at once?

I assume the doses and compound concentrations are stored in numeric data columns using the Continuous modeling type. You can survey the correlations using the Bivariate platform. Select Analyze > Fit Y by X. Enter the dose data column in the Y role. Enter the concentration columns in the X role. Click OK. Press and hold the CTRL key with Windows or the Command key with Mac, click the red triangle next to the first Bivariate analysis, and select Density Ellipse and the confidence you want. This way, the command is broadcast to all X, Y pairs. Now right-click in the table of correlation results and select Make into Combined Table. You can now use the Table > Sort command to order the results.

Mcc99
Level III

Re: Quick way to populate many correlation coefficients in to a column at once?

That works great! I didn't realize that the control key trick would also apply to menu functions. Thank you! 

推荐文章