cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-739077%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECol%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20%EB%88%84%EC%A0%81%20%ED%95%A9%EA%B3%84%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739077%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%EC%95%88%EB%85%95%ED%95%98%EC%84%B8%EC%9A%94.%20%EC%A0%80%EB%8A%94%20JMP%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%20%EC%9E%91%EC%84%B1%EC%9D%B4%20%EC%B2%98%EC%9D%8C%EC%9D%B4%EA%B3%A0%20%EC%9E%91%EC%97%85%EC%97%90%20%EC%A3%BC%EB%A1%9C%20%22%EA%B3%B5%EC%8B%9D%20%ED%8E%B8%EC%A7%91%22%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%A9%EB%8B%88%EB%8B%A4.%20%3CSTRONG%3ECol%20Cumulative%20Sum%3C%2FSTRONG%3E%20%EA%B3%BC%20%EA%B4%80%EB%A0%A8%EB%90%9C%20%EC%86%94%EB%A3%A8%EC%85%98%EC%9D%84%20%EA%B2%80%EC%83%89%ED%96%88%EC%A7%80%EB%A7%8C%20%EB%82%B4%20%ED%8A%B9%EC%A0%95%20%EB%AC%B8%EC%A0%9C%EC%97%90%20%EB%8C%80%ED%95%9C%20%EC%86%94%EB%A3%A8%EC%85%98%EC%9D%84%20%EC%B0%BE%EC%9D%84%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EB%82%B4%20%EB%8D%B0%EC%9D%B4%ED%84%B0%20%ED%85%8C%EC%9D%B4%EB%B8%94%EC%9D%98%20%EB%8B%A8%EC%88%9C%ED%99%94%EB%90%9C%20%EB%B2%84%EC%A0%84%EC%9D%80%20%EB%8B%A4%EC%9D%8C%EA%B3%BC%20%EA%B0%99%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CTABLE%20border%3D%221%22%3E%3CTBODY%3E%3CTR%3E%3CTD%3E%3CSTRONG%3E%EC%97%B4%3C%2FSTRONG%3E%3C%2FTD%3E%3CTD%3E%3CSTRONG%3E%EC%A3%BC%3C%2FSTRONG%3E%3C%2FTD%3E%3CTD%3E%3CSTRONG%3ECol%20Cumulative%20Sum%3C%2FSTRONG%3E%3C%2FTD%3E%3CTD%3E%3CSTRONG%3E%EB%82%B4%20%EC%86%8C%EC%9B%90%3C%2FSTRONG%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%3C%2FTD%3E%3CTD%3E1%3C%2FTD%3E%3CTD%3E1%3C%2FTD%3E%3CTD%3E0%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E2%3C%2FTD%3E%3CTD%3E2%3C%2FTD%3E%3CTD%3E3%3C%2FTD%3E%3CTD%3E1%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E3%3C%2FTD%3E%3CTD%3E3%3C%2FTD%3E%3CTD%3E6%3C%2FTD%3E%3CTD%3E3%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E4%3C%2FTD%3E%3CTD%3E4%3C%2FTD%3E%3CTD%3E10%3C%2FTD%3E%3CTD%3E6%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E5%3C%2FTD%3E%3CTD%3E5%3C%2FTD%3E%3CTD%3E15%3C%2FTD%3E%3CTD%3E10%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E6%3C%2FTD%3E%3CTD%3E6%3C%2FTD%3E%3CTD%3E21%3C%2FTD%3E%3CTD%3E15%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EC%95%84%EB%9E%98%20%EA%B3%B5%EC%8B%9D%EC%9D%80%20%22%EC%A3%BC%22%EC%9D%98%20%ED%98%84%EC%9E%AC%20%ED%96%89%20%EA%B0%92%EC%9D%B4%20%EA%B3%A0%EC%A0%95%EB%90%98%EC%96%B4%20%EC%9E%88%EA%B1%B0%EB%82%98%20%22%EC%A3%BC%22%EC%99%80%20%22%EB%82%B4%20%EC%86%8C%EC%9B%90%22%EC%9D%B4%EB%9D%BC%EB%8A%94%20%EB%91%90%20%EA%B0%9C%EC%9D%98%20%EB%B3%84%EB%8F%84%20%EC%97%B4%EC%9D%B4%20%EC%9E%88%EB%8A%94%20%EA%B2%BD%EC%9A%B0%20%EC%9E%91%EB%8F%99%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EIf(%20Row()%20!%3D%201%2C%0A%09Lag(%20Col%20Cumulative%20Sum(%20%3AWeek%20)%2C%201%20)%2C%0A%090%0A)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EB%AC%B8%EC%A0%9C%EB%8A%94%20%EC%9D%B4%EC%A0%84%20%ED%96%89%EC%9D%98%20%22%EC%A3%BC%22%20%EA%B0%92%EC%9D%80%20%EA%B3%A0%EC%A0%95%EB%90%98%EC%96%B4%20%EC%9E%88%EC%A7%80%EB%A7%8C%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%80%20%EA%B3%A0%EC%A0%95%EB%90%98%EC%96%B4%20%EC%9E%88%EC%A7%80%20%EC%95%8A%EB%8B%A4%EB%8A%94%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%20%EA%B7%B8%EB%A6%AC%EA%B3%A0%20%EC%9E%91%EC%97%85%ED%95%A0%20%EC%88%98%20%EC%9E%88%EB%8A%94%20%22%EC%A3%BC%22%20%EC%97%B4%EC%9D%80%20%ED%95%98%EB%82%98%EB%A7%8C%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EC%9D%B4%EC%A0%84%20%EC%8B%9C%EB%AE%AC%EB%A0%88%EC%9D%B4%EC%85%98%20%EA%B0%92%EC%9D%84%20%EA%B8%B0%EB%B0%98%EC%9C%BC%EB%A1%9C%20%EC%A7%84%ED%96%89%20%EC%83%81%ED%99%A9%EC%9D%84%20%EC%8B%9C%EB%AE%AC%EB%A0%88%EC%9D%B4%EC%85%98%ED%95%98%EB%8A%94%20%EA%B3%B5%EC%8B%9D%EC%9D%84%20%EA%B0%9C%EB%B0%9C%20%EC%A4%91%EC%9E%85%EB%8B%88%EB%8B%A4.%20%EC%9D%B4%EC%A0%84%20%ED%96%89%EC%9D%84%20%EA%B8%B0%EB%B0%98%EC%9C%BC%EB%A1%9C%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%22%EC%A3%BC%22%20%EA%B0%92%EC%9D%84%20%EC%8B%9C%EB%AE%AC%EB%A0%88%EC%9D%B4%EC%85%98%ED%95%98%EA%B3%A0%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%22%EC%A3%BC%22%20%EC%97%B4%EC%9D%98%204%ED%96%89%EC%97%90%EC%84%9C%20%EC%9E%91%EC%97%85%20%EC%A4%91%EC%9D%B4%EB%9D%BC%EA%B3%A0%20%EA%B0%80%EC%A0%95%ED%95%B4%20%EB%B3%B4%EA%B2%A0%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%ED%95%A8%EC%88%98%EC%97%90%EC%84%9C%20%ED%98%84%EC%9E%AC%20%22%EC%A3%BC%22%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20%EC%9D%B4%EC%A0%84%EC%9D%98%20%EB%AA%A8%EB%93%A0%20%22%EC%A3%BC%22%20%EA%B0%92%EC%9D%84%20%EB%88%84%EC%A0%81%20%ED%95%A9%EA%B3%84%ED%95%98%EA%B3%A0%20%EC%8B%B6%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EA%B7%B8%EB%A0%87%EC%A7%80%20%EC%95%8A%EC%9C%BC%EB%A9%B4%20%EB%82%B4%20%EA%B2%BD%EC%9A%B0%EC%97%90%EB%8A%94%20%EC%9E%98%EB%AA%BB%EB%90%9C%20%EC%B0%B8%EC%A1%B0%20%EB%98%90%EB%8A%94%20%EC%88%9C%ED%99%98%20%EB%AC%B8%EC%A0%9C%EA%B0%80%20%EB%B0%9C%EC%83%9D%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3Elag%20%ED%95%A8%EC%88%98%EA%B0%80%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%22%EC%A3%BC%22%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EA%B8%B0%20%EB%95%8C%EB%AC%B8%EC%97%90%20lag%20%EB%8C%80%EC%8B%A0%20%EC%95%84%EB%9E%98%20%EC%B2%A8%EC%9E%90%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%B4%20%EB%B3%B4%EC%95%98%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EA%B7%B8%EA%B2%83%EC%9D%80%20%EC%9E%91%EB%8F%99%ED%95%98%EC%A7%80%20%EC%95%8A%EC%95%98%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EIf(%20Row()%20!%3D%201%2C%0A%09Col%20Cumulative%20Sum(%20%3AWeek%20)%5BRow()%20-%201%5D%2C%0A%090%0A)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%EB%82%B4%20%EC%84%A4%EB%AA%85%EC%9D%B4%20%EC%B6%A9%EB%B6%84%ED%9E%88%20%EB%AA%85%ED%99%95%ED%96%88%EC%9C%BC%EB%A9%B4%20%EC%A2%8B%EA%B2%A0%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EA%B7%80%ED%95%98%EC%9D%98%20%EC%8B%9C%EA%B0%84%EA%B3%BC%20%EC%A0%84%EB%AC%B8%20%EC%A7%80%EC%8B%9D%EC%97%90%20%EB%AF%B8%EB%A6%AC%20%EA%B0%90%EC%82%AC%EB%93%9C%EB%A6%BD%EB%8B%88%EB%8B%A4.%20%EC%A0%80%EB%8A%94%20JMP%20Pro%2017%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-739077%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%EC%9E%90%EB%8F%99%ED%99%94%20%EB%B0%8F%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8C%85%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%EC%98%88%EC%B8%A1%20%EB%AA%A8%EB%8D%B8%EB%A7%81%20%EB%B0%8F%20%EA%B8%B0%EA%B3%84%20%ED%95%99%EC%8A%B5%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739084%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739084%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EB%88%84%EC%A0%81%20%ED%95%A9%EA%B3%84%EC%97%90%EC%84%9C%20%ED%98%84%EC%9E%AC%20%EC%A3%BC%20%EA%B0%92%EC%9D%84%20%EA%B3%B5%EC%A0%9C%ED%95%A0%20%EC%88%98%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ECol%20Cumulative%20Sum(%3AWeek)%20-%20%3AWeek%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1711447034404.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F62678iFFD58FB05EAEE2D8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_0-1711447034404.png%22%20alt%3D%22jthi_0-1711447034404.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-747478%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-747478%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EC%95%88%EB%85%95%ED%95%98%EC%84%B8%EC%9A%94.%20%EC%A0%80%EB%8A%94%20%ED%8F%AC%EB%9F%BC%EC%9D%84%20%ED%86%B5%ED%95%B4%20JSL%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%20%EC%9E%91%EC%84%B1%EA%B3%BC%20%EA%B0%95%EC%9D%98%20%EC%98%81%EC%83%81%EC%9D%84%20%EB%B3%B4%EB%A9%B4%EC%84%9C%20%EB%A7%8E%EC%9D%80%20%EA%B2%83%EC%9D%84%20%EB%B0%B0%EC%9A%B0%EA%B3%A0%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EB%8B%A4%EC%9D%8C%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EC%99%80%20%EA%B4%80%EB%A0%A8%ED%95%98%EC%97%AC%20%ED%9B%84%EC%86%8D%20%EC%A7%88%EB%AC%B8%EC%9D%B4%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EB%91%90%20%EB%B2%88%EC%A7%B8%20%EC%A4%84%EC%97%90%EC%84%9C%EB%8F%84%20%EA%B0%99%EC%9D%80%20%EA%B2%B0%EA%B3%BC%EB%A5%BC%20%EC%96%BB%EC%97%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EC%99%9C%20%EB%91%90%20%EB%B2%88%EC%A7%B8%20%EC%A4%84%20%EB%8C%80%EC%8B%A0%20%EC%B2%AB%20%EB%B2%88%EC%A7%B8%20%EC%A4%84%EC%9D%84%20%EC%84%A0%ED%83%9D%ED%95%98%EB%8A%94%EC%A7%80%20%EC%95%8C%20%EC%88%98%20%EC%9E%88%EB%82%98%EC%9A%94%3F%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EEval(%20Eval%20Expr(%20casesMatrix%20%3D%20Expr(%20%3Acases%5Bi%20-%201%5D%20)%20)%20)%3C%2FCODE%3E%3C%2FPRE%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EEval(%20casesMatrix%20%3D%20%3Acases%5Bi%20-%201%5D%20%20)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%EB%98%90%ED%95%9C%20%22R%22%20%EC%97%B4%EC%9D%84%20%EC%88%98%EC%A0%95%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20%EC%9B%90%EB%9E%98%20%EA%B0%92%EC%9D%84%20%EC%9C%A0%EC%A7%80%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%B4%20%EC%9E%88%EC%8A%B5%EB%8B%88%EA%B9%8C%3F%20%EC%88%98%EC%A0%95%EB%90%9C%20R%20%EA%B0%92%EC%9D%B4%20%EC%96%B4%EB%94%94%EC%97%90%EB%8F%84%20%EB%82%98%ED%83%80%EB%82%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20%22Cases%22%20%EC%97%B4%20%EB%82%B4%EB%B6%80%EC%97%90%20%EB%82%A8%EC%95%84%20%EC%9E%88%EA%B8%B0%EB%A5%BC%20%EC%9B%90%ED%95%A9%EB%8B%88%EB%8B%A4.%20%EC%95%84%EB%9E%98%EC%99%80%20%EA%B0%99%EC%9D%B4%20%EC%88%98%EC%A0%95%EB%90%9C%20R%EC%97%90%20%22Rx%22%EB%9D%BC%EB%8A%94%20%EB%8B%A4%EB%A5%B8%20%EB%B3%80%EC%88%98%EB%AA%85%EC%9D%84%20%ED%95%A0%EB%8B%B9%ED%95%B4%20%EB%B3%B4%EC%95%98%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EA%B7%B8%EB%9F%AC%EB%82%98%20%EC%9D%B4%20%EC%A0%91%EA%B7%BC%20%EB%B0%A9%EC%8B%9D%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%98%EB%A0%A4%EB%A9%B4%20%22Rx%22%EB%9D%BC%EB%8A%94%20%EB%B9%88%20%EC%97%B4%EC%9D%84%20%EB%A7%8C%EB%93%A4%EC%96%B4%EC%95%BC%20%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%3ARx%20%5Bi%5D%20%3D%20%3AR%5Bi%5D%20*%20(1%20-%20(Sum(%20casesMatrix%20)%2BcasesSum)%20*%204%20%2F%20100)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%EA%B7%80%ED%95%98%EC%9D%98%20%EC%8B%9C%EA%B0%84%EA%B3%BC%20%EC%A0%84%EB%AC%B8%20%EC%A7%80%EC%8B%9D%EC%97%90%20%EB%AF%B8%EB%A6%AC%20%EA%B0%90%EC%82%AC%EB%93%9C%EB%A6%BD%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739100%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739100%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%22Sim%20Cases%22%EB%8A%94%20%EB%8D%B0%EC%9D%B4%ED%84%B0%20%ED%85%8C%EC%9D%B4%EB%B8%94%EC%9D%98%20%ED%96%89%EB%A0%AC%EC%9D%B8%EA%B0%80%EC%9A%94%2C%20%EC%95%84%EB%8B%88%EB%A9%B4%20%EC%97%B4%EC%9D%B8%EA%B0%80%EC%9A%94%3F%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%EB%82%9C%20%EC%9D%B4%ED%95%B4%EA%B0%80%20%EC%95%88%20%EB%8F%BC%EC%9A%94%3C%2FP%3E%0A%3CP%3E%EC%86%94%EB%A3%A8%EC%85%98%EC%9D%84%20%EC%A7%80%EB%82%98%EC%B9%98%EA%B2%8C%20%EB%B3%B5%EC%9E%A1%ED%95%98%EA%B2%8C%20%EB%A7%8C%EB%93%9C%EB%8A%94%20%EA%B2%83%20%EA%B0%99%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Esim%20cases%20%3D%20%5B3%2C5%2C2%2C8%5D%3B%0A%0Asum1%20%3D%20sum(sim%20cases)%3B%0Asum2%20%3D%20sum((%5B1%201%201%201%5D*sim%20cases)%5B1%5D)%3B%0Ashow(sum1%2Csum2)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Esum1%EA%B3%BC%20sum2%20%EB%AA%A8%EB%91%90%20%EB%8F%99%EC%9D%BC%ED%95%9C%20%EA%B0%92%EC%9D%84%20%EC%A0%9C%EA%B3%B5%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3CPRE%3Esum1%20%3D%2018%3B%0Asum2%20%3D%2018%3B%3C%2FPRE%3E%0A%3CP%3E%EB%8F%84%EC%9B%80%EB%A7%90%20%ED%92%80%EB%8B%A4%EC%9A%B4%20%EB%A9%94%EB%89%B4%EC%97%90%EC%84%9C%20%EC%A0%9C%EA%B3%B5%EB%90%98%EB%8A%94%20Discovering%20JMP%20%EB%AC%B8%EC%84%9C%EB%A5%BC%20%EC%9D%BD%EC%96%B4%20%EB%B3%B4%EC%8B%9C%EA%B8%B0%20%EB%B0%94%EB%9E%8D%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739315%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739315%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EC%97%AC%EA%B8%B0%EC%97%90%20%EB%82%B4%20%EC%86%94%EB%A3%A8%EC%85%98%EC%9D%B4%20%EC%9E%88%EC%A7%80%EB%A7%8C%20%EA%B7%80%ED%95%98%EC%9D%98%20%EC%86%94%EB%A3%A8%EC%85%98%EA%B3%BC%20%EC%9D%BC%EC%B9%98%ED%95%98%EC%A7%80%20%EC%95%8A%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%ED%91%9C%EC%8B%9C%EB%90%9C%20%EA%B3%84%EC%82%B0%EC%9D%B4%20%ED%96%89%203%EC%97%90%20%EB%8C%80%ED%95%B4%20%EC%9E%98%EB%AA%BB%EB%90%9C%20%EA%B2%83%20%EA%B0%99%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EC%83%98%ED%94%8C%20%EB%8D%B0%EC%9D%B4%ED%84%B0%20%ED%85%8C%EC%9D%B4%EB%B8%94%EC%9D%B4%20%ED%8F%AC%ED%95%A8%EB%90%9C%20%EB%82%B4%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A5%BC%20%EC%B0%B8%EC%A1%B0%ED%95%98%EC%84%B8%EC%9A%94.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0Adt%20%3D%20New%20Table(%20%22Example%22%2C%0A%09Add%20Rows(%204%20)%2C%0A%09New%20Column(%20%22R%22%2C%0A%09%09Numeric%2C%0A%09%09%22Continuous%22%2C%0A%09%09Set%20Values(%20%5B.%2C%201.4%2C%201.67%2C%202.3%5D%20)%0A%09)%2C%0A%09New%20Column(%20%22Cases%22%2C%0A%09%09Expression%2C%0A%09%09%22None%22%2C%0A%09%09Set%20Values(%20%7B%5B1%2C%201%2C%202%2C%201%5D%2C%20Empty()%2C%20Empty()%2C%20Empty()%7D%20)%0A%09)%0A)%3B%0A%0A%2F%2F%20The%20calculation%20script%0AcasesSum%20%3D%200%3B%0AFor(i%3D2%2Ci%26lt%3B%3Dnrows(dt)%2Ci%2B%2B%2C%0A%09%09Eval(%20Eval%20Expr(%20casesMatrix%20%3D%20Expr(%20%3Acases%5Bi%20-%201%5D%20)%20)%20)%3B%0A%09%09%3AR%5Bi%5D%20%3D%20%3AR%5Bi%5D%20*%20(1%20-%20(Sum(%20casesMatrix%20)%2BcasesSum)%20*%204%20%2F%20100)%3B%0A%09%09%3ACases%5Bi%5D%20%3D%20casesMatrix%20*%20%3AR%5Bi%5D%3B%0A%09%09casesSum%20%3D%20casesSum%20%2B%20sum(casesMatrix)%3B%0A)%3B%0A%0A%0A%2F%2F%20Row%203%20R%20does%20not%20seem%20to%20be%20correct%0A%2F%2F%20I%20can%20not%20come%20up%20with%20.71%2C%20I%20come%20up%20with%20.96192%0Ashow(1.4%20*%20(1%20-%20(5%20*%204%2F100))%20)%3B%20%0Ashow(1.67%20*%20(1%20-%20(10.6%20*%204%2F100))%20)%3B%20%0A%0A%0A%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1711546109146.png%22%20style%3D%22width%3A%20839px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F62726iC3EF6C5210F87042%2Fimage-dimensions%2F839x263%3Fv%3Dv2%22%20width%3D%22839%22%20height%3D%22263%22%20role%3D%22button%22%20title%3D%22txnelson_0-1711546109146.png%22%20alt%3D%22txnelson_0-1711546109146.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-747595%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-747595%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EB%91%90%20%EB%B2%88%EC%A7%B8%20%EB%9D%BC%EC%9D%B8%EC%9D%B4%20%ED%9B%8C%EB%A5%AD%ED%95%98%EB%8B%A4%EA%B3%A0%20%EC%A0%9C%EC%95%88%ED%95%98%EC%85%A8%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EB%82%B4%EA%B0%80%20%EC%82%AC%EC%9A%A9%ED%95%9C%20%EA%B5%AC%EB%AC%B8%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94%20%EC%9D%B4%EC%9C%A0%EB%8A%94%20%EB%8B%A8%EC%A7%80%20%EC%98%A4%EB%9E%98%EB%90%9C%20%EC%8A%B5%EA%B4%80%EC%9D%BC%20%EB%BF%90%EC%9E%85%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%EB%B9%88%20%EC%97%B4%EC%9D%84%20%EC%83%9D%EC%84%B1%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Rx%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%A0%20%EC%88%98%20%EC%9E%88%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EC%9D%B4%EB%A5%BC%20%EB%A9%94%EB%AA%A8%EB%A6%AC%20%EB%B3%80%EC%88%98%20%EC%B0%B8%EC%A1%B0%EB%A1%9C%20%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%20%EC%9D%B4%EB%A5%BC%20%EC%88%98%ED%96%89%ED%95%98%EB%8A%94%20%EC%BD%94%EB%93%9C%EB%8A%94%20%EB%8B%A4%EC%9D%8C%EA%B3%BC%20%EA%B0%99%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%2F%2F%20The%20calculation%20script%0AcasesSum%20%3D%200%3B%0AFor(i%3D2%2Ci%26lt%3B%3Dnrows(dt)%2Ci%2B%2B%2C%0A%09%09Eval(%20%20casesMatrix%20%3D%20Expr(%20%3Acases%5Bi%20-%201%5D%20)%20)%3B%0A%09%09Rx%20%3D%20%3AR%5Bi%5D%20*%20(1%20-%20(Sum(%20casesMatrix%20)%2BcasesSum)%20*%204%20%2F%20100)%3B%0A%09%09%3ACases%5Bi%5D%20%3D%20casesMatrix%20*%20Rx%3B%0A%09%09casesSum%20%3D%20casesSum%20%2B%20sum(casesMatrix)%3B%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739085%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739085%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EC%88%98%EC%8B%9D%EC%97%90%20(%3AWeek)%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94%20%EC%88%9C%EA%B0%84%20%EC%9E%98%EB%AA%BB%EB%90%9C%20%EC%B0%B8%EC%A1%B0%20%EB%AC%B8%EC%A0%9C%EA%B0%80%20%EB%B0%9C%EC%83%9D%ED%95%A9%EB%8B%88%EB%8B%A4.%20%ED%98%84%EC%9E%AC%20%ED%96%89(%3AWeek)%EC%9D%80%20%EC%95%84%EC%A7%81%20%EC%99%84%EC%A0%84%ED%9E%88%20%EA%B3%84%EC%82%B0%EB%90%98%EC%A7%80%20%EC%95%8A%EC%95%98%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EC%9D%B4%EB%A1%A0%EC%A0%81%EC%9C%BC%EB%A1%9C%EB%8A%94%20%EC%9D%B4%EC%A0%84%20%ED%96%89%EC%9D%98%20(%3AWeek)%EB%A7%8C%20%EA%B8%B0%EC%96%B5%ED%95%A0%20%EC%88%98%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739086%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739086%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EB%82%B4%EA%B0%80%20%EC%98%AC%EB%B0%94%EB%A5%B4%EA%B2%8C%20%EC%9D%B4%ED%95%B4%ED%95%98%EA%B3%A0%20%EC%9E%88%EB%8B%A4%EB%A9%B4%20%EC%9D%B4%EA%B2%83%EC%9D%B4%20%ED%95%B4%EA%B2%B0%EC%B1%85%EC%9D%B4%20%EB%90%A0%20%EC%88%98%20%EC%9E%88%EB%8B%A4%EA%B3%A0%20%EC%83%9D%EA%B0%81%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EIf(%20Row()%20!%3D%201%2C%0A%09Sum(%20%3AWeek%5BIndex(%201%2C%20Row()%20-%201%20)%5D%20)%2C%0A%090%0A)%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739088%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739088%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EB%AA%A8%EB%93%A0%20%EC%A2%85%EB%A5%98%EC%9D%98%20%EB%AC%B8%EC%A0%9C%EB%A5%BC%20%ED%94%BC%ED%95%98%EA%B8%B0%20%EC%9C%84%ED%95%B4%20%EB%B3%84%EB%8F%84%EC%9D%98%20%EC%97%B4%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%98%EA%B2%A0%EC%A7%80%EB%A7%8C%2C%20%EC%98%88%EC%A0%9C%EC%97%90%20%EC%A0%84%EC%B2%B4%20%EB%8D%B0%EC%9D%B4%ED%84%B0%EA%B0%80%20%EC%9E%88%EC%9C%BC%EB%AF%80%EB%A1%9C%20%EB%8B%AC%EC%84%B1%ED%95%98%EB%A0%A4%EB%8A%94%20%EA%B2%83%EC%9D%B4%20%EB%AC%B4%EC%97%87%EC%9D%B8%EC%A7%80%20%EC%A0%95%ED%99%95%ED%9E%88%20%EB%AA%A8%EB%A5%B4%EA%B2%A0%EC%8A%B5%EB%8B%88%EB%8B%A4.%20Col%20Cumulative%20Sum%EC%9D%B4%20%EC%9E%91%EB%8F%99%ED%95%98%EC%A7%80%20%EC%95%8A%EB%8A%94%20%EA%B2%BD%EC%9A%B0%20%EC%9D%B4%EC%99%80%20%EC%9C%A0%EC%82%AC%ED%95%9C%20%EA%B2%83%EC%9D%BC%20%EC%88%98%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4(%EC%A7%80%EC%97%B0%20%EB%B0%8F%20%EB%B3%80%EC%88%98%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%EA%B0%92%20%EA%B3%84%EC%82%B0).%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EIf(Row()%20%3D%3D%201%2C%0A%09val%20%3D%200%2C%0A%09val%20%3D%20val%20%2B%20Lag(%3AWeek)%3B%0A)%3B%0Aval%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739092%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739092%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CFONT%20color%3D%22%233366FF%22%3E%EC%83%89%EC%9D%B8%3C%2FFONT%3E%20%EC%95%84%EB%9E%98%20%EC%B2%A8%EC%9E%90%20%EC%82%AC%EC%9A%A9%EC%97%90%20%EB%8C%80%ED%95%9C%20%EC%A0%9C%EC%95%88%EC%97%90%20%EA%B0%90%EC%82%AC%EB%93%9C%EB%A6%BD%EB%8B%88%EB%8B%A4.%20%EC%9D%B4%EC%A0%9C%20%22%EA%B0%9D%EC%B2%B4%EB%A5%BC%20%EA%B5%AC%EB%8F%85%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.%22%EB%9D%BC%EB%8A%94%20%EB%AC%B8%EC%A0%9C%EA%B0%80%20%EB%B0%9C%EC%83%9D%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EB%82%B4%20%3CEM%3E%EC%A3%BC%3C%2FEM%3E%20%EC%98%88%EC%A0%9C%EB%8A%94%20%EC%A7%80%EB%82%98%EC%B9%98%EA%B2%8C%20%EB%8B%A8%EC%88%9C%ED%99%94%EB%90%98%EC%97%88%EC%9C%BC%EB%A9%B0%20%3CEM%3Eweek%3C%2FEM%3E%20%EB%8C%80%EC%8B%A0%204%ED%96%89%EA%B3%BC%201%EC%97%B4%EC%9D%98%20%3CEM%3ESim%20Cases%3C%2FEM%3E%20%EB%A7%A4%ED%8A%B8%EB%A6%AD%EC%8A%A4%EA%B0%80%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%ED%95%98%EB%82%98%EC%9D%98%20%EC%9A%94%EC%95%BD%EB%90%9C%20%EC%88%AB%EC%9E%90%20%EA%B0%92%EC%9C%BC%EB%A1%9C%20%EB%B3%80%ED%99%98%ED%95%98%EA%B8%B0%20%EC%9C%84%ED%95%B4%20%ED%96%89%EB%A0%AC%EC%97%90%20%5B1%201%201%201%5D%EC%9D%84%20%EA%B3%B1%ED%95%98%EA%B3%A0%20%EC%95%84%EB%9E%98%20%EC%B2%A8%EC%9E%90%20%5B%20%3CFONT%20color%3D%22%23339966%22%3E1%3C%2FFONT%3E%20%5D%EC%9D%84%20%EC%B6%94%EA%B0%80%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EA%B7%B8%20%EB%8B%A4%EC%9D%8C%EC%97%90%EB%8A%94%20%3CFONT%20color%3D%22%233366FF%22%3EIndex%3C%2FFONT%3E%20%EC%95%84%EB%9E%98%EC%B2%A8%EC%9E%90%EA%B0%80%20%EB%94%B0%EB%9D%BC%EC%99%94%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ESum(%20(%5B1%201%201%201%5D%20*%20%3ASim%20Cases)%5B1%5D%5BIndex(%201%2C%20Row()%20-%201%20)%5D%20)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%EC%9B%90%EB%9E%98%204x1%20%ED%96%89%EB%A0%AC%EC%9D%98%20%EA%B2%B0%EA%B3%BC%20%EC%88%AB%EC%9E%90%20%EA%B0%92%EC%9D%80%20%5B%20%3CFONT%20color%3D%22%23339966%22%3E1%3C%2FFONT%3E%20%5D%20%EB%92%A4%EC%97%90%20%EC%96%B4%EB%96%A4%20%EC%B2%A8%EC%9E%90%EB%A5%BC%20%ED%97%88%EC%9A%A9%ED%95%98%EC%A7%80%20%EC%95%8A%EB%8A%94%20%EA%B2%83%20%EA%B0%99%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EC%95%84%EB%8B%88%EB%A9%B4%20%EB%98%90%20%EC%9E%98%EB%AA%BB%EB%90%9C%20%EC%B0%B8%EC%A1%B0(%EC%9E%AC%EA%B7%80)%20%EB%95%8C%EB%AC%B8%EC%9D%BC%20%EC%88%98%EB%8F%84%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739096%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739096%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EB%84%A4%2C%20%EC%B2%98%EC%9D%8C%EC%97%90%EB%8A%94%20%EC%97%B4%EC%9D%84%20%EA%B5%AC%EB%B6%84%ED%95%98%EC%97%AC%20Excel%20%EC%8A%A4%ED%94%84%EB%A0%88%EB%93%9C%EC%8B%9C%ED%8A%B8%EC%97%90%EC%84%9C%20%EC%9D%BC%EB%B0%98%EC%A0%81%EC%9C%BC%EB%A1%9C%20%EC%88%98%ED%96%89%ED%95%98%EB%8A%94%20%EC%9E%91%EC%97%85%EC%9D%84%20JMP%20%EB%8D%B0%EC%9D%B4%ED%84%B0%20%ED%85%8C%EC%9D%B4%EB%B8%94%EC%97%90%EC%84%9C%20%EC%97%90%EB%AE%AC%EB%A0%88%EC%9D%B4%ED%8A%B8%ED%95%98%EB%A0%A4%EA%B3%A0%20%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EA%B7%B8%EB%9F%B0%20%EB%8B%A4%EC%9D%8C%20%EB%8B%A4%EB%A5%B8%20%EC%97%B4%EC%9D%98%20%EC%9D%B4%EC%A0%84%20%ED%96%89%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%A9%EB%8B%88%EB%8B%A4.%20JMP%20%EB%8D%B0%EC%9D%B4%ED%84%B0%20%ED%85%8C%EC%9D%B4%EB%B8%94%EC%9D%B4%20Excel%20%EC%8A%A4%ED%94%84%EB%A0%88%EB%93%9C%EC%8B%9C%ED%8A%B8%EC%B2%98%EB%9F%BC%20%EC%9E%91%EB%8F%99%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20%EC%A3%BC%EA%B8%B0%EC%A0%81%20%EB%AC%B8%EC%A0%9C%EA%B0%80%20%EB%B0%9C%EC%83%9D%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EA%B7%B8%EB%9E%98%EC%84%9C%20%EC%A0%80%EB%8A%94%20%EA%B3%84%EC%86%8D%ED%95%B4%EC%84%9C%20%EC%A0%84%EB%9E%B5%EC%9D%84%20%EB%B0%94%EA%BE%B8%EA%B3%A0%20%EC%9E%88%EC%9C%BC%EB%A9%B0%20%ED%98%84%EC%9E%AC%20%EC%A0%9C%EA%B0%80%20%EC%9D%B4%ED%95%B4%ED%95%98%EA%B3%A0%20%EC%9E%88%EB%8A%94%20%EA%B2%83%EC%9D%80%20%EC%88%9C%ED%99%98%20%EB%AC%B8%EC%A0%9C%EB%A5%BC%20%ED%94%BC%ED%95%98%EA%B8%B0%20%EC%9C%84%ED%95%B4%20%EB%AA%A8%EB%93%A0%20%ED%95%84%EC%88%98%20%EB%B3%80%EC%88%98%EB%A5%BC%20%ED%95%98%EB%82%98%EC%9D%98%20%EC%97%B4%EC%97%90%20%EC%9C%A0%EC%A7%80%ED%95%98%EB%8A%94%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739262%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739262%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EB%8B%A4%EC%8B%9C%20%EC%95%88%EB%85%95%ED%95%98%EC%84%B8%EC%9A%94.%20%EB%82%98%EB%8A%94%20%EC%A2%8C%EC%A0%88%EA%B0%90%EC%9D%84%20%EC%97%86%EC%95%A8%20%EC%88%98%20%EC%9E%88%EA%B8%B0%EB%A5%BC%20%EB%B0%94%EB%9D%BC%EB%A9%B4%EC%84%9C%20%EB%82%B4%20%EC%A7%88%EB%AC%B8%EC%9D%84%20%EB%8B%A4%EC%8B%9C%20%ED%91%9C%ED%98%84%ED%95%98%EA%B3%A0%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CTABLE%20border%3D%221%22%3E%3CTBODY%3E%3CTR%3E%3CTD%3E%EC%97%B4%3C%2FTD%3E%3CTD%3ER%3C%2FTD%3E%3CTD%3E%EC%82%AC%EB%A1%80%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E1%3C%2FTD%3E%3CTD%3E.%3C%2FTD%3E%3CTD%3E%5B1%2C%201%2C%202%2C%201%5D%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E2%3C%2FTD%3E%3CTD%3E1.4%3C%2FTD%3E%3CTD%3E%20%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E3%3C%2FTD%3E%3CTD%3E1.67%3C%2FTD%3E%3CTD%3E%20%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E4%3C%2FTD%3E%3CTD%3E2.3%3C%2FTD%3E%3CTD%3E%20%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CEM%3ER%3C%2FEM%3E%3C%2FSTRONG%3E%20%EA%B3%BC%20%3CSTRONG%3E%3CEM%3ECases%3C%2FEM%3E%3C%2FSTRONG%3E%20%EB%9D%BC%EB%8A%94%202%EA%B0%9C%EC%9D%98%20%EC%97%B4%EC%9D%B4%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%3CEM%3E%EC%BC%80%EC%9D%B4%EC%8A%A4%EB%8A%94%3C%2FEM%3E%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%3CEM%3E%3CSTRONG%3ER%3C%2FSTRONG%3E%3C%2FEM%3E%20%EA%B3%BC%20%EC%9D%B4%EC%A0%84%20%ED%96%89%EC%9D%98%20%3CEM%3E%3CSTRONG%3E%EC%BC%80%EC%9D%B4%EC%8A%A4%EB%A5%BC%3C%2FSTRONG%3E%3C%2FEM%3E%20%EA%B3%B1%ED%95%98%EC%97%AC%20%EA%B3%84%EC%82%B0%EB%90%A9%EB%8B%88%EB%8B%A4.%20%EB%98%90%ED%95%9C%20%EC%9D%B4%EC%A0%84%20%ED%96%89%EC%9D%98%20%3CEM%3E%3CSTRONG%3ECases%3C%2FSTRONG%3E%3C%2FEM%3E%20%ED%95%A9%EC%9D%84%20%EA%B8%B0%EC%A4%80%EC%9C%BC%EB%A1%9C%20%3CEM%3E%3CSTRONG%3ER%EC%9D%84%3C%2FSTRONG%3E%3C%2FEM%3E%20%EC%88%98%EC%A0%95(%EC%B6%95%EC%86%8C)%ED%95%B4%EC%95%BC%20%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CEM%3E%3CSTRONG%3ECases%3C%2FSTRONG%3E%3C%2FEM%3E%20%EC%97%B4%EC%9D%98%20%3CSTRONG%3E%3CEM%3ER%3C%2FEM%3E%3C%2FSTRONG%3E%20(row2)%20%3D%20%3CEM%3E%3CSTRONG%3ER%3C%2FSTRONG%3E%3C%2FEM%3E%20(row2)%20*%20%EC%88%98%EC%A0%95%EC%9E%90%3C%2FP%3E%3CP%3E%EC%88%98%EC%A0%95%EC%9E%90%20%3D%201%20-%20%3CFONT%20color%3D%22%23000000%22%3E(%3C%2FFONT%3E%20%3CFONT%20color%3D%22%2300FF00%22%3E%3CFONT%20color%3D%22%23000000%22%3E(%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23339966%22%3E%3CU%3E1%3C%2FU%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23339966%22%3E%3CU%3E%ED%96%89%EB%B6%80%ED%84%B0%20%ED%98%84%EC%9E%AC%20%ED%96%89%20%EC%9D%B4%EC%A0%84%20%ED%96%89%EA%B9%8C%EC%A7%80%EC%9D%98%20%3CEM%3E%3CSTRONG%3ECase%3C%2FSTRONG%3E%3C%2FEM%3E%20%EB%88%84%EC%A0%81%20%ED%95%A9%EA%B3%84%3C%2FU%3E%3C%2FFONT%3E%20*%20%3CFONT%20color%3D%22%23FF0000%22%3E4%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23000000%22%3E)%3C%2FFONT%3E%20%2F%20%3CFONT%20color%3D%22%23FF0000%22%3E%EC%B4%9D%20%EB%AA%A8%EC%A7%91%EB%8B%A8%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23000000%22%3E)%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3E%EC%B4%9D%20%EC%9D%B8%EA%B5%AC%EB%8A%94%20%EB%A7%A4%EA%B0%9C%EB%B3%80%EC%88%98%EC%9D%B4%EB%A9%B0%20100%EC%9E%85%EB%8B%88%EB%8B%A4.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%EA%B2%B0%EA%B3%BC%20%EC%88%98%EC%A0%95%EC%9E%90%3CSTRONG%3E%20%3C%2FSTRONG%3E%EC%97%90%20row1%EC%9D%98%20%3CSTRONG%3E%3CEM%3ECases%EB%A5%BC%3C%2FEM%3E%3C%2FSTRONG%3E%20%EA%B3%B1%ED%95%98%EC%97%AC%20row2%EC%97%90%20%3CEM%3E%3CSTRONG%3ECases%EB%A5%BC%3C%2FSTRONG%3E%3C%2FEM%3E%20%EB%A7%8C%EB%93%AD%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EC%98%88%EB%A5%BC%20%EB%93%A4%EC%96%B4%2C%20%EC%88%98%EC%A0%95%EB%90%9C%20%3CEM%3E%3CSTRONG%3ER%3C%2FSTRONG%3E%3C%2FEM%3E%20(row2)%EC%9D%B4%20%EC%98%88%EC%83%81%EB%90%A9%EB%8B%88%EB%8B%A4.%3CSTRONG%3E%20%3C%2FSTRONG%3E1.12%EA%B0%80%20%EB%90%98%EA%B3%A0%20%3CEM%3E%3CSTRONG%3E%EC%82%AC%EB%A1%80%3C%2FSTRONG%3E%3C%2FEM%3E%20(row2)%EB%8A%94%20%5B1.12%2C%201.12%2C%202.24%2C%201.12%5D%EA%B0%80%20%EB%90%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E1.4%20*%201%20-%20(%20%3CFONT%20color%3D%22%23339966%22%3E%3CSTRONG%3E5%3C%2FSTRONG%3E%3C%2FFONT%3E%20*%20%3CFONT%20color%3D%22%23FF0000%22%3E4%3C%2FFONT%3E%20%2F%20%3CFONT%20color%3D%22%23FF0000%22%3E100%3C%2FFONT%3E%20)%20%3D%201.12%3C%2FP%3E%3CP%3E1.12%20*%20%5B1%2C%201%2C%202%2C%201%5D%20%3D%20%5B1.12%2C%201.12%2C%202.24%2C%201.12%5D%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EA%B7%B8%EB%9F%B0%20%EB%8B%A4%EC%9D%8C%20%EC%88%98%EC%A0%95%EB%90%9C%20%3CEM%3E%3CSTRONG%3ER%3C%2FSTRONG%3E%3C%2FEM%3E%20(row3)%EC%9D%80%200.71%EC%9D%B4%EA%B3%A0%20%3CEM%3E%3CSTRONG%3ECases%3C%2FSTRONG%3E%3C%2FEM%3E%20(row3)%EB%8A%94%20%5B0.8%2C%200.8%2C%201.6%2C%200.8%5D%EC%9D%B4%20%EB%90%A0%20%EA%B2%83%EC%9C%BC%EB%A1%9C%20%EC%98%88%EC%83%81%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E1.67%20*%201%20-%20(%20%3CFONT%20color%3D%22%23339966%22%3E%3CSTRONG%3E10.6%3C%2FSTRONG%3E%3C%2FFONT%3E%20*%20%3CFONT%20color%3D%22%23FF0000%22%3E4%3C%2FFONT%3E%20%2F%20%3CFONT%20color%3D%22%23FF0000%22%3E100%3C%2FFONT%3E%20)%20%3D%200.71%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23339966%22%3E%3CSTRONG%3E10.6%EC%9D%80%3C%2FSTRONG%3E%3C%2FFONT%3E%20%ED%96%89%201%EC%9D%98%20%3CFONT%20color%3D%22%23000000%22%3E%3CSTRONG%3E5%3C%2FSTRONG%3E%3C%2FFONT%3E%20%EA%B1%B4%EA%B3%BC%20%ED%96%89%202%EC%9D%98%20%3CSTRONG%3E5.6%3C%2FSTRONG%3E%20%EA%B1%B4%EC%97%90%EC%84%9C%20%EB%82%98%EC%98%A8%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E0.71%20*%20%5B1.12%2C%201.12%2C%202.24%2C%201.12%5D%20%3D%20%5B0.8%2C%200.8%2C%201.6%2C%200.8%5D%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23339966%22%3E%EB%85%B9%EC%83%89%3C%2FFONT%3E%3C%2FSTRONG%3E%20%EA%B0%92%EC%9D%84%20%EC%96%BB%EB%8A%94%20%EB%8D%B0%20%EB%AC%B8%EC%A0%9C%EA%B0%80%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%ED%98%84%EC%9E%AC%20JMP%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A5%BC%20%EC%9E%91%EC%84%B1%ED%95%98%EB%A0%A4%EB%8A%94%20%EC%8B%9C%EB%8F%84%EB%8A%94%20%EB%8B%A4%EC%9D%8C%EA%B3%BC%20%EA%B0%99%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EIf(%20Row()%20%3D%3D%201%2C%0A%09Matrix(%20%7B1%2C%201%2C%202%2C%201%7D%20)%2C%0A%09%3AR%20*%20(1%20-%20(Summation(%20i%20%3D%201%2C%20N%20Row()%20-%201%2C%20Sum(%20%3ACases%20)%20)%20*%204)%20%2F%20Total%20Population)%20*%20Lag(%20%3ACases%2C%201%20)%0A)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EC%88%98%EC%A0%95%EC%9E%90%EB%A5%BC%20%EC%96%BB%EA%B8%B0%20%EC%9C%84%ED%95%B4%20%3CFONT%20color%3D%22%230000FF%22%3EIndex%3C%2FFONT%3E%20%2C%20%3CFONT%20color%3D%22%230000FF%22%3ELag%3C%2FFONT%3E%20%2C%20%3CFONT%20color%3D%22%230000FF%22%3ERow()%20-%201%3C%2FFONT%3E%20%2C%20%3CFONT%20color%3D%22%230000FF%22%3ECol%20cumulative%20sum%3C%2FFONT%3E%20%2C%20%3CFONT%20color%3D%22%230000FF%22%3ESummation%3C%2FFONT%3E%20%EB%93%B1%EC%9D%84%20%EC%8B%9C%EB%8F%84%ED%96%88%EC%A7%80%EB%A7%8C%20%EC%95%84%EB%AC%B4%EA%B2%83%EB%8F%84%20%EC%9E%91%EB%8F%99%ED%95%98%EC%A7%80%20%EC%95%8A%EC%95%98%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EB%82%98%EB%8A%94%20%EC%A3%BC%EB%A1%9C%20%EB%91%98%20%EC%A4%91%20%ED%95%98%EB%82%98%EB%A5%BC%20%EC%96%BB%EC%8A%B5%EB%8B%88%EB%8B%A4%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E1)%20%EB%B6%88%EB%B2%95%EC%A0%81%EC%9D%B8%20%EC%B0%B8%EC%A1%B0%20%EB%98%90%EB%8A%94%3C%2FP%3E%3CP%3E2)%20%EA%B5%AC%EB%8F%85%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%9D%8C%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EA%B7%80%ED%95%98%EC%9D%98%20%EC%8B%9C%EA%B0%84%EA%B3%BC%20%EC%A0%84%EB%AC%B8%20%EC%A7%80%EC%8B%9D%EC%97%90%20%EB%8B%A4%EC%8B%9C%20%ED%95%9C%20%EB%B2%88%20%EA%B0%90%EC%82%AC%EB%93%9C%EB%A6%BD%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739418%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739418%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EB%A7%A4%EC%9A%B0%20%EA%B0%90%EC%82%AC%ED%95%A9%EB%8B%88%EB%8B%A4.%20%EC%97%AC%EA%B8%B0%EC%84%9C%EB%8A%94%20%3CFONT%20color%3D%22%233366FF%22%3Efor%3C%2FFONT%3E%20%EB%A3%A8%ED%94%84%EA%B0%80%20%ED%95%B5%EC%8B%AC%EC%9D%B8%20%EA%B2%83%20%EA%B0%99%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EC%A0%80%EB%8A%94%20%EC%95%84%EC%A7%81%20%3CFONT%20color%3D%22%233366FF%22%3EEval%3C%2FFONT%3E%20%2C%20%3CFONT%20color%3D%22%233366FF%22%3EEval%20Expr%3C%2FFONT%3E%20%2C%20%3CFONT%20color%3D%22%233366FF%22%3EExpr%3C%2FFONT%3E%20%ED%95%A8%EC%88%98%EB%A5%BC%20%EB%B0%B0%EC%9A%B0%EC%A7%80%20%EC%95%8A%EC%95%98%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EA%B7%B8%EB%A6%AC%EA%B3%A0%20%EB%8B%B9%EC%8B%A0%20%EB%A7%90%EC%9D%B4%20%EB%A7%9E%EC%95%84%EC%9A%94.%20%EC%9D%B4%20%EC%98%88%EC%97%90%EC%84%9C%20%EC%A0%9C%20%EA%B3%84%EC%82%B0%EC%9D%80%20%ED%8B%80%EB%A0%B8%EC%96%B4%EC%9A%94.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739101%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20Cumulative%20Sum%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739101%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%EC%95%9E%EC%9C%BC%EB%A1%9C%EB%8F%84%20JMP%EB%A5%BC%20%EA%B3%84%EC%86%8D%20%EB%B0%B0%EC%9A%B0%EA%B2%A0%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EC%A7%80%EA%B8%88%EC%9D%80%20Excel%20%EC%8A%A4%ED%94%84%EB%A0%88%EB%93%9C%EC%8B%9C%ED%8A%B8%EB%A7%8C%20%EC%82%AC%EC%9A%A9%ED%95%98%EA%B2%A0%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EA%B7%80%ED%95%98%EC%9D%98%20%EB%8B%B5%EB%B3%80%EC%97%90%20%EA%B0%90%EC%82%AC%EB%93%9C%EB%A6%BD%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CEM%3ESim%20Cases%3C%2FEM%3E%20%EB%8A%94%20%EC%97%B4%EC%9D%B4%EB%A9%B0%20%EC%83%88%20%ED%96%89%EC%9D%84%20%EC%83%9D%EC%84%B1%ED%95%A0%20%EB%95%8C%20%EC%9D%B4%EC%A0%84%20%ED%96%89%EC%9D%98%20%3CEM%3ESim%20Cases%EB%A5%BC%3C%2FEM%3E%20%EC%82%AC%EC%9A%A9%ED%95%98%EA%B3%A0%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EA%B7%B8%EB%9E%98%EC%84%9C%20%EB%82%98%EB%8A%94%20%EA%B7%B8%EA%B2%83%EC%9D%B4%20%EA%B0%99%EC%9D%80%20%EC%97%B4%20%EC%95%88%EC%97%90%20%EC%9E%88%EB%8A%94%20%EC%97%B4%EC%9D%B4%EC%9E%90%20%EB%B3%80%EC%88%98%EB%9D%BC%EA%B3%A0%20%EC%83%9D%EA%B0%81%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739105%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%ED%98%84%EC%9E%AC%20%ED%96%89%EC%9D%98%20%EA%B0%92%EC%9D%84%20%ED%98%B8%EC%B6%9C%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20Col%20%EB%88%84%EC%A0%81%20%ED%95%A9%EA%B3%84%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739105%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EJMP%20%ED%85%8C%EC%9D%B4%EB%B8%94%EA%B3%BC%20%EC%8A%A4%ED%94%84%EB%A0%88%EB%93%9C%EC%8B%9C%ED%8A%B8%EC%9D%98%20%EB%8F%99%EC%9E%91%20%EB%B0%A9%EC%8B%9D%EC%9D%80%20%EC%99%84%EC%A0%84%ED%9E%88%20%EB%8B%A4%EB%A5%B4%EB%A9%B0%2C%20%EC%9D%B4%20%EC%98%A4%EB%9E%98%EB%90%9C%20%EA%B2%8C%EC%8B%9C%EB%AC%BC%EC%9D%80%20%EB%AA%87%20%EA%B0%80%EC%A7%80%20%EC%98%88%EC%99%80%20%EC%84%A4%EB%AA%85%EC%9D%84%20%EC%A0%9C%EA%B3%B5%ED%95%98%EA%B8%B0%20%EB%95%8C%EB%AC%B8%EC%97%90%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FJMP-is-Not-a-Spreadsheet%2Fm-p%2F214307%23U214307%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-forum-thread%20lia-fa-icon%20lia-fa-forum%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3EJMP%EB%8A%94%20%EC%8A%A4%ED%94%84%EB%A0%88%EB%93%9C%EC%8B%9C%ED%8A%B8%EA%B0%80%20%EC%95%84%EB%8B%99%EB%8B%88%EB%8B%A4%3C%2FA%3E%20.%20JMP%EC%97%90%EC%84%9C%20%EB%8C%80%EB%B6%80%EB%B6%84%EC%9D%98%20%EC%9E%91%EC%97%85%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A0%20%EC%88%98%20%EC%9E%88%EC%A7%80%EB%A7%8C%20JMP%EC%97%90%EC%84%9C%20%EC%97%B4%2B%ED%96%89%EC%9D%B4%20%EC%96%B4%EB%96%BB%EA%B2%8C%20%EB%8F%99%EC%9E%91%ED%95%98%EB%8A%94%EC%A7%80%EC%99%80%20Excel%EC%97%90%EC%84%9C%20%EB%8B%A8%EC%9D%BC%20%EC%85%80%EC%9D%B4%20%EC%96%B4%EB%96%BB%EA%B2%8C%20%EB%8F%99%EC%9E%91%ED%95%98%EB%8A%94%EC%A7%80%20%EC%9D%B4%ED%95%B4%ED%95%98%EB%8A%94%20%EB%8D%B0%20%EC%8B%9C%EA%B0%84%EC%9D%B4%20%EA%B1%B8%EB%A6%B4%20%EC%88%98%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
tMinnx
Level III

Col Cumulative Sum without calling the current row's value

Hello, I am quite new to writing JMP scripts and primarily use "Edit Formula" for my work. I have been browsing solutions related to Col Cumulative Sum and could not find one for my specific problem. The simplified version of my data table is as follows.

 

RowWeekCol Cumulative SumMy Wish
1110
2231
3363
44106
551510
662115

 

The formula below works if the current row value of "Week" is fixed or if I have two separate columns "Week" and "My Wish."

 

 

If( Row() != 1,
	Lag( Col Cumulative Sum( :Week ), 1 ),
	0
)

 

The issue is that the value of the previous row's "Week" is fixed but the current row's is not. And I only have one column "Week" to work with. I am developing a formula that simulates progression based on the previous simulation value. I am simulating the current row's "Week" value based on the previous row's.

 

Suppose I am working on Row 4 in the column "Week." I want to cumulatively sum all the previous "Week" values without calling the current "Week" value in the function. Otherwise, it creates an illegal reference or cycling problem in my case.

 

I tried using subscript instead of lag since the lag function calls the current row's "Week" value. It did not work.

 

If( Row() != 1,
	Col Cumulative Sum( :Week )[Row() - 1],
	0
)

I hope my explanation was clear enough. Thank you for your time and expertise in advance. I use JMP Pro 17.

 

 

 

15 REPLIES 15
tMinnx
Level III

Re: Col Cumulative Sum without calling the current row's value

Hello again. I am rephrasing my question in the hope that I can make the frustration go away.

 

RowRCases
1.[1, 1, 2, 1]
21.4 
31.67 
42.3 

 

I have 2 columns, R and Cases. Cases are calculated by multiplying R from the current row with Cases from the previous row. In addition, needs to be modified (reduced) based on the sum of Cases from the previous row. 

 

R (row2) in column Cases = R (row2) * modifier

modifier = 1 - ((cumulative sum of Cases from row1 to the row before the current row * 4)/Total Population)

Total Population is a parameter and is 100. 

The resulting modifier is multiplied with Cases from row1 to create Cases in row2. 

 

For instance, I am expecting the modified (row2) to be 1.12 and Cases (row2) to be [1.12, 1.12, 2.24, 1.12]

1.4 * 1 - (5 * 4/100) = 1.12

1.12 * [1, 1, 2, 1] = [1.12, 1.12, 2.24, 1.12]

 

Then, I expect the modified R (row3) to be 0.71 and Cases (row3) to be [0.8, 0.8, 1.6, 0.8]

1.67 * 1 - (10.6 * 4/100) = 0.71

10.6 is from 5 cases in row1 and 5.6 cases in row2.

0.71 * [1.12, 1.12, 2.24, 1.12] = [0.8, 0.8, 1.6, 0.8]

 

I am having a problem in getting the green value. My current attempt at writing a JMP script is as follows.

 

If( Row() == 1,
	Matrix( {1, 1, 2, 1} ),
	:R * (1 - (Summation( i = 1, N Row() - 1, Sum( :Cases ) ) * 4) / Total Population) * Lag( :Cases, 1 )
)

 

I tried Index, Lag, Row() - 1, Col cumulative sum, Summation, etc to get the modifier, and nothing has worked. I mainly get either

 

1) illegal referencing or

2) unsubscriptable

 

Thank you once again for your time and expertise.

 

txnelson
Super User

Re: Col Cumulative Sum without calling the current row's value

Here is my solution, however, it does not match your solution.  I believe your calculations as shown are incorrect for Row 3. See my script, which includes your sample data table.

Names Default To Here( 1 );
dt = New Table( "Example",
	Add Rows( 4 ),
	New Column( "R",
		Numeric,
		"Continuous",
		Set Values( [., 1.4, 1.67, 2.3] )
	),
	New Column( "Cases",
		Expression,
		"None",
		Set Values( {[1, 1, 2, 1], Empty(), Empty(), Empty()} )
	)
);

// The calculation script
casesSum = 0;
For(i=2,i<=nrows(dt),i++,
		Eval( Eval Expr( casesMatrix = Expr( :cases[i - 1] ) ) );
		:R[i] = :R[i] * (1 - (Sum( casesMatrix )+casesSum) * 4 / 100);
		:Cases[i] = casesMatrix * :R[i];
		casesSum = casesSum + sum(casesMatrix);
);


// Row 3 R does not seem to be correct
// I can not come up with .71, I come up with .96192
show(1.4 * (1 - (5 * 4/100)) ); 
show(1.67 * (1 - (10.6 * 4/100)) ); 



txnelson_0-1711546109146.png

 

Jim
tMinnx
Level III

Re: Col Cumulative Sum without calling the current row's value

Thank you very much. The for loop seems to be the key here. I have yet to learn the functions, Eval, Eval Expr, and Expr.

 

And you are right, my calculations in the example were off.

tMinnx
Level III

Re: Col Cumulative Sum without calling the current row's value

Hello, I've been learning a lot about writing JSL scripts through the forum and watching lecture videos. I have a follow-up question regarding the following script. I got the same results with the second line. May I know why you would choose the first line over the second one? 

 

Eval( Eval Expr( casesMatrix = Expr( :cases[i - 1] ) ) )
Eval( casesMatrix = :cases[i - 1]  )

 Additionally, is there a way to avoid modifying the column "R" and keeping the original values? I want the modified R values to remain inside the column "Cases" without appearing anywhere. I tried assigning a different variable name, "Rx", to the modified R as below. However, this approach requires me to create an empty column named "Rx" to work.

:Rx [i] = :R[i] * (1 - (Sum( casesMatrix )+casesSum) * 4 / 100);

Many thanks in advance for your time and expertise.

 

txnelson
Super User

Re: Col Cumulative Sum without calling the current row's value

You suggested 2nd line is great.  My reason for using the syntax I used is just an old habit.

 

The way that Rx can be used without creating an empty column, is to use it as a memory variable reference.  Here is the code to do that

// The calculation script
casesSum = 0;
For(i=2,i<=nrows(dt),i++,
		Eval(  casesMatrix = Expr( :cases[i - 1] ) );
		Rx = :R[i] * (1 - (Sum( casesMatrix )+casesSum) * 4 / 100);
		:Cases[i] = casesMatrix * Rx;
		casesSum = casesSum + sum(casesMatrix);
);
Jim
jthi
Super User

Re: Col Cumulative Sum without calling the current row's value

This script uses txnelson's solution as the starting point and makes some modifications to it. Purpose of this script is just to provide you other example for learning purposes using other techniques (For Each Row instead of For loop, gets values to matrix from :R and some other changes)

Names Default To Here(1);
dt = New Table("Example",
	Add Rows(4),
	New Column("R", Numeric, "Continuous", Set Values([., 1.4, 1.67, 2.3])),
	New Column("Cases", Expression, "None", Set Values({[1, 1, 2, 1], Empty(), Empty(), Empty()}))
);

r_m = :R << Get values;
casesSum = 0;
For Each Row(dt,
	If(Row() == 1, Continue()); // skip first row
	
	casesMatrix = Lag(:cases, 1);
	r_m[Row()] = r_m[Row()] * (1 - (Sum(casesMatrix) + casesSum) * 4 / 100);
	:Cases = casesMatrix * r_m[Row()];
	casesSum = casesSum + Sum(casesMatrix);
);
-Jarmo