<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: overlapping variables in a composite index in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/overlapping-variables-in-a-composite-index/m-p/372236#M62212</link>
    <description>&lt;P&gt;I would think the most immediate measure would be the total number of the 16 indicators that each patient had.&amp;nbsp; To investigate the contribution of each indicator to the composite, Principal Component Analysis comes to mind (although there may be a better method with nominal variables, such as Multiple Correspondence Analysis).&lt;/P&gt;</description>
    <pubDate>Mon, 29 Mar 2021 12:17:10 GMT</pubDate>
    <dc:creator>dale_lehman</dc:creator>
    <dc:date>2021-03-29T12:17:10Z</dc:date>
    <item>
      <title>overlapping variables in a composite index</title>
      <link>https://community.jmp.com/t5/Discussions/overlapping-variables-in-a-composite-index/m-p/372120#M62204</link>
      <description>&lt;P&gt;I have a data set of patients of which I have created a composite index of critical illness. This composite includes patients who died, who had ventilator requirement, who had septic shock , required dialysis et cetera (about total 16 categories all nominal yes/no).&lt;/P&gt;&lt;P&gt;Reviewer want to know how much of these categories contributed to the composite. There are a total 600 patients who met the criteria of critical illness based on my definition.&lt;/P&gt;&lt;P&gt;I can provide information like the number of patients who died (n=xx), ventilator (n=yy).. All of them would be in the composite.&lt;/P&gt;&lt;P&gt;The sum of all these patients would be more than 600 because all of them are overlapping with the other.&lt;/P&gt;&lt;P&gt;Is there a way to solve this and maybe create a graph or diagram showing the overlap . I'm thinking of the bubble plot but there might be another way of doing this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help much appreciated&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:12:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlapping-variables-in-a-composite-index/m-p/372120#M62204</guid>
      <dc:creator>Sandeep123</dc:creator>
      <dc:date>2023-06-11T11:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: overlapping variables in a composite index</title>
      <link>https://community.jmp.com/t5/Discussions/overlapping-variables-in-a-composite-index/m-p/372230#M62210</link>
      <description>&lt;P&gt;I'm not sure I fully understand your question so I am starting really simple, could you show number of unique patients with each condition?&amp;nbsp; In this example every patient was tested for every condition so the total is the same, thus I would remove the 'does not apply' bars.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ih_0-1617019043290.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31622i113384B9BFA17DE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="ih_0-1617019043290.png" alt="ih_0-1617019043290.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This script will reproduce the graph above:&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);

dt = Open("$Sample_data/Nicardipine.jmp");

dtTab = (Data Table( "Nicardipine" ) &amp;lt;&amp;lt; Tabulate(
	Add Table(
		Column Table( Category Table, Statistics( Name( "% of Total" ), N ) ),
		Row Table(
			Columns by Categories(
				:Patient Died Flag,
				:Anticonvulsants Flag,
				:Antiemetics or Phenothiazines Flag,
				:Antifibrinolytics Flag,
				:Antihypertensives Flag,
				:Blood Transfusion Flag,
				:Central Venous Pressure Monitoring Flag,
				:Induced Hypertension Flag,
				:Intentional Hypervolemia Flag,
				:Intentional Hemodilution Flag,
				:Low Molecular Weight Dextran Flag,
				:Mannitol Flag,
				:Steroids Flag,
				:Swan Ganz Monitoring Flag,
				:Vasopressors Flag
			)
		)
	)
)) &amp;lt;&amp;lt; Make Into Data Table;
dtTab:"N(N)"n &amp;lt;&amp;lt; Set Name("Applies");
dtTab:"N(Y)"n &amp;lt;&amp;lt; Set Name("Does Not Apply");

dtTab &amp;lt;&amp;lt; Graph Builder(
	Size( 534, 464 ),
	Show Control Panel( 0 ),
	Variables(
		X(
			:Columns by Categories,
			Order By( :Applies, Descending, Order Statistic( "Mean" ) )
		),
		Y( :Applies ),
		Y( :Does Not Apply, Position( 1 ) )
	),
	Elements( Bar( X, Y( 1 ), Y( 2 ), Legend( 5 ), Bar Style( "Stacked" ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				5,
				Properties( 0, {Fill Color( 27 )}, Item ID( "Applies", 1 ) ),
				Properties( 1, {Fill Color( 32 )}, Item ID( "Does Not Apply", 1 ) )
			)}
		),
		Dispatch(
			{},
			"graph title",
			TextEditBox,
			{Set Text( "Patients with Conditions" )}
		),
		Dispatch( {}, "X title", TextEditBox, {Set Text( "Conditions" )} ),
		Dispatch( {}, "Y title", TextEditBox, {Set Text( "Count" )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;</description>
      <pubDate>Mon, 29 Mar 2021 12:00:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlapping-variables-in-a-composite-index/m-p/372230#M62210</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-03-29T12:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: overlapping variables in a composite index</title>
      <link>https://community.jmp.com/t5/Discussions/overlapping-variables-in-a-composite-index/m-p/372236#M62212</link>
      <description>&lt;P&gt;I would think the most immediate measure would be the total number of the 16 indicators that each patient had.&amp;nbsp; To investigate the contribution of each indicator to the composite, Principal Component Analysis comes to mind (although there may be a better method with nominal variables, such as Multiple Correspondence Analysis).&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 12:17:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlapping-variables-in-a-composite-index/m-p/372236#M62212</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2021-03-29T12:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: overlapping variables in a composite index</title>
      <link>https://community.jmp.com/t5/Discussions/overlapping-variables-in-a-composite-index/m-p/372301#M62223</link>
      <description>&lt;P&gt;I used predictor screening platform in JMP. With Composite index yes/no as Y variable and added all the variables as X.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It gave me ranking of all the variables as they contributed to the index along with their percentage contribution. This will work for my purpose, not 100% sure it is the right way though as the variables are components of the composite&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 14:55:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlapping-variables-in-a-composite-index/m-p/372301#M62223</guid>
      <dc:creator>Sandeep123</dc:creator>
      <dc:date>2021-03-29T14:55:31Z</dc:date>
    </item>
  </channel>
</rss>

