<?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: JMP ANOVA giving wrong number of degrees of freedom in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/355037#M60490</link>
    <description>&lt;P&gt;I was about to close your data set this morning, and thought of one more thing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A simple ordinary least squares analysis might be wrong for the question you are asking.&lt;/P&gt;
&lt;P&gt;It looks like your time column is something like time to failure. &amp;nbsp;In this case you need to know probability of failure at a specific time. e.g. the B10 time, as a function of temperature and material.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case a Parametric Survival Fit is a good choice&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Fit Model(
	Y( :Name( "Life (hours)" ) ),
	Effects(
		:Temperature &amp;amp; RS,
		:Material Type,
		:Temperature * :Temperature,
		:Temperature * :Material Type
	),
	Personality( "Parametric Survival" ),
	Distribution( "Weibull" ),
	Run(
		Likelihood Ratio Tests( 1 ),
		Quantile Profiler(
			1,
			Confidence Intervals( 1 ),
			Adapt Y Axis( 1 ),
			Term Value(
				Temperature( 68, Lock( 0 ), Show( 1 ) ),
				Material Type( 3, Lock( 0 ), Show( 1 ) ),
				Failure Probability( 0.1, Lock( 0 ), Show( 1 ) )
			)
		)
	),
	SendToReport(
		Dispatch( {}, "Effect Summary", OutlineBox, {Close( 1 )} ),
		Dispatch( {}, "Whole Model Test", OutlineBox, {Close( 1 )} ),
		Dispatch( {}, "Parameter Estimates", OutlineBox, {Close( 1 )} ),
		Dispatch( {}, "Wald Tests", OutlineBox, {Close( 1 )} ),
		Dispatch( {}, "Effect Likelihood Ratio Tests", OutlineBox, {Close( 1 )} ),
		Dispatch(
			{"Quantile Profiler"},
			"10000",
			ScaleBox,
			{Min( 0 ), Max( 220.470532541004 ), Inc( 25 ), Minor Ticks( 0 )}
		),
		Dispatch(
			{"Quantile Profiler"},
			"Profiler",
			FrameBox,
			{Frame Size( 208, 207 )}
		),
		Dispatch(
			{"Quantile Profiler"},
			"Profiler",
			FrameBox( 3 ),
			{Frame Size( 208, 207 )}
		),
		Dispatch(
			{"Quantile Profiler"},
			"Profiler",
			FrameBox( 5 ),
			{Frame Size( 208, 207 )}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-02-02 at 9.24.39 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29922iE3EAE654BAA875D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-02-02 at 9.24.39 AM.png" alt="Screen Shot 2021-02-02 at 9.24.39 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 14:25:10 GMT</pubDate>
    <dc:creator>Byron_JMP</dc:creator>
    <dc:date>2021-02-02T14:25:10Z</dc:date>
    <item>
      <title>JMP ANOVA giving wrong number of degrees of freedom</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/354844#M60469</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brand-new to JMP, so my apologies if I'm doing something obviously wrong to you, the wise ones. I am trying to run a two-factor ANOVA on a dataset that involves battery test life at 3 different temperatures using 3 different materials. When I run "Fit Model" using JMP, however, I get only 1 degree of freedom for each of my effects, not 2 like I would expect (3 data points - 1 = 2 degrees of freedom). This is causing a pretty nasty overestimation of my F-ratios and p-values that are way too small. I have attached the raw .jmp file I am using, my model specification dialog, and the output I am getting from the model. What am I doing wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jordan&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-02-01 at 3.54.39 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29920iDE0E9F7670C6E707/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-02-01 at 3.54.39 PM.png" alt="Screen Shot 2021-02-01 at 3.54.39 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-02-01 at 3.56.17 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29921iBB195FC4EAC62101/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-02-01 at 3.56.17 PM.png" alt="Screen Shot 2021-02-01 at 3.56.17 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:25:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/354844#M60469</guid>
      <dc:creator>edmundsj</dc:creator>
      <dc:date>2023-06-10T23:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: JMP ANOVA giving wrong number of degrees of freedom</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/354859#M60471</link>
      <description>&lt;P&gt;It looks like JMP is completely missing my T=70 degrees condition. This is truly bizarre.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 00:22:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/354859#M60471</guid>
      <dc:creator>edmundsj</dc:creator>
      <dc:date>2021-02-02T00:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: JMP ANOVA giving wrong number of degrees of freedom</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/354872#M60473</link>
      <description>&lt;P&gt;Sure enough, I was just interpreting this incorrectly. I assumed JMP would use an effects model with n-1 degrees of freedom, but since I set temperature to be a continuous variable, JMP was actually using a regression model with a lower number of degrees of freedom (1). By adding a temperature * temperature term I can bring the degrees of freedom up to 2, or by changing temperature to a categorical variable (not a continuous one).&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 00:50:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/354872#M60473</guid>
      <dc:creator>edmundsj</dc:creator>
      <dc:date>2021-02-02T00:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: JMP ANOVA giving wrong number of degrees of freedom</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/354911#M60476</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Turn on this option in your report to see all the levels of your nominal variables&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-02-01 at 8.53.46 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29910iD8DEA262CC37B3EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-02-01 at 8.53.46 PM.png" alt="Screen Shot 2021-02-01 at 8.53.46 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Also, to get better help so people know what you're doing. Click that little red triangle at the top, Save Script&amp;gt;To Clipboard. Then come back here type your question, and click the "&amp;lt;JSL&amp;gt;" button above the post window, and paste your clipboard there.&lt;/P&gt;
&lt;P&gt;It will look like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
Fit Model(
	Y( :Name( "Life (hours)" ) ),
	Effects(
		:Temperature &amp;amp; RS,
		:Material Type,
		:Temperature * :Temperature,
		:Temperature * :Material Type
	),
	Run);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;by running this scrip against the data table you supplied, you can see exactly what my analysis looks like.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a response surface model. It includes all the 2 way interactions and quadratic effects. Note Material is Nominal and Temperature is Continuous.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 02:14:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/354911#M60476</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2021-02-02T02:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: JMP ANOVA giving wrong number of degrees of freedom</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/354917#M60478</link>
      <description>&lt;P&gt;Welcome to the community, &amp;nbsp;I was looking at your data set and I have a question: You have 4 responses at each treatment combination, what are they? &amp;nbsp;Are they repeats or replicates (and are they randomized)?&lt;/P&gt;&lt;P&gt;Analysis is completely dependent on how the data was collected (regardless of software). &amp;nbsp;It is true, that if a factor is &amp;gt;2 levels, how you set the data type matters. &amp;nbsp;If the variables are indeed continuous, then a regression approach would provide more information about the model effects than ANOVA (but you need to add the polynomial terms to the model).&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 02:21:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/354917#M60478</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2021-02-02T02:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: JMP ANOVA giving wrong number of degrees of freedom</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/355037#M60490</link>
      <description>&lt;P&gt;I was about to close your data set this morning, and thought of one more thing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A simple ordinary least squares analysis might be wrong for the question you are asking.&lt;/P&gt;
&lt;P&gt;It looks like your time column is something like time to failure. &amp;nbsp;In this case you need to know probability of failure at a specific time. e.g. the B10 time, as a function of temperature and material.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case a Parametric Survival Fit is a good choice&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Fit Model(
	Y( :Name( "Life (hours)" ) ),
	Effects(
		:Temperature &amp;amp; RS,
		:Material Type,
		:Temperature * :Temperature,
		:Temperature * :Material Type
	),
	Personality( "Parametric Survival" ),
	Distribution( "Weibull" ),
	Run(
		Likelihood Ratio Tests( 1 ),
		Quantile Profiler(
			1,
			Confidence Intervals( 1 ),
			Adapt Y Axis( 1 ),
			Term Value(
				Temperature( 68, Lock( 0 ), Show( 1 ) ),
				Material Type( 3, Lock( 0 ), Show( 1 ) ),
				Failure Probability( 0.1, Lock( 0 ), Show( 1 ) )
			)
		)
	),
	SendToReport(
		Dispatch( {}, "Effect Summary", OutlineBox, {Close( 1 )} ),
		Dispatch( {}, "Whole Model Test", OutlineBox, {Close( 1 )} ),
		Dispatch( {}, "Parameter Estimates", OutlineBox, {Close( 1 )} ),
		Dispatch( {}, "Wald Tests", OutlineBox, {Close( 1 )} ),
		Dispatch( {}, "Effect Likelihood Ratio Tests", OutlineBox, {Close( 1 )} ),
		Dispatch(
			{"Quantile Profiler"},
			"10000",
			ScaleBox,
			{Min( 0 ), Max( 220.470532541004 ), Inc( 25 ), Minor Ticks( 0 )}
		),
		Dispatch(
			{"Quantile Profiler"},
			"Profiler",
			FrameBox,
			{Frame Size( 208, 207 )}
		),
		Dispatch(
			{"Quantile Profiler"},
			"Profiler",
			FrameBox( 3 ),
			{Frame Size( 208, 207 )}
		),
		Dispatch(
			{"Quantile Profiler"},
			"Profiler",
			FrameBox( 5 ),
			{Frame Size( 208, 207 )}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-02-02 at 9.24.39 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29922iE3EAE654BAA875D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-02-02 at 9.24.39 AM.png" alt="Screen Shot 2021-02-02 at 9.24.39 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 14:25:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-ANOVA-giving-wrong-number-of-degrees-of-freedom/m-p/355037#M60490</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2021-02-02T14:25:10Z</dc:date>
    </item>
  </channel>
</rss>

