<?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 Full Factorial Design questions in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264170#M51538</link>
    <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a full factorial design with four factors.&amp;nbsp; Three of the factors have three levels and the other one has five levels.&amp;nbsp; So I have 3x3x3x5 total runs with no replicates.&amp;nbsp; I have a few questions as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; After running the model, it shows significant Lack of Fit.&amp;nbsp; However, there are no replicated data points.&amp;nbsp; How can JMP perform the lack of Fit test then?&lt;/P&gt;&lt;P&gt;2. Since it shows lack of fit, based on my understanding, it implies that more terms should be included in the model.&amp;nbsp; Can I add the quadratic terms in the model?&amp;nbsp; Or the full factorial design is only used for studying the main effects and the interaction effects?&lt;/P&gt;&lt;P&gt;3. I tried adding the quadratic terms in the model, however, the lack of Fit was grayed out after running the model.&amp;nbsp; Why is that? I don't think my model is saturated since there are more data points than the number of predictors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Can a full factorial design with three levels (-1 0 +1) be considered a response surface model because it also has factors at the mid-level?&amp;nbsp; Why can't a full factorial design with factors that have three levels capture the curvature of the response surface?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2020 18:20:20 GMT</pubDate>
    <dc:creator>CYLiaw</dc:creator>
    <dc:date>2020-05-04T18:20:20Z</dc:date>
    <item>
      <title>Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264170#M51538</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a full factorial design with four factors.&amp;nbsp; Three of the factors have three levels and the other one has five levels.&amp;nbsp; So I have 3x3x3x5 total runs with no replicates.&amp;nbsp; I have a few questions as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; After running the model, it shows significant Lack of Fit.&amp;nbsp; However, there are no replicated data points.&amp;nbsp; How can JMP perform the lack of Fit test then?&lt;/P&gt;&lt;P&gt;2. Since it shows lack of fit, based on my understanding, it implies that more terms should be included in the model.&amp;nbsp; Can I add the quadratic terms in the model?&amp;nbsp; Or the full factorial design is only used for studying the main effects and the interaction effects?&lt;/P&gt;&lt;P&gt;3. I tried adding the quadratic terms in the model, however, the lack of Fit was grayed out after running the model.&amp;nbsp; Why is that? I don't think my model is saturated since there are more data points than the number of predictors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Can a full factorial design with three levels (-1 0 +1) be considered a response surface model because it also has factors at the mid-level?&amp;nbsp; Why can't a full factorial design with factors that have three levels capture the curvature of the response surface?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 18:20:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264170#M51538</guid>
      <dc:creator>CYLiaw</dc:creator>
      <dc:date>2020-05-04T18:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264179#M51539</link>
      <description>&lt;P&gt;Is your model such that you only have first-order terms? If so, the you have a kind of replication and meet all the other requirements for the lack of fit test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, you can add quadratic terms. Your data might support the more complex model, but there is no guarantee. I think it will work in your case, though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You no longer meet the requirements for the lack of fit test: replicates and number of distinct levels relative to the order of the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; term 'response surface design' generally refers to classic designs such as the Box-Wilson and Box-Behnken designs, but any design used for optimizing factor levels could be called a RSM design.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The three-level full factorial design can be used to estimate the second-order model.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 18:49:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264179#M51539</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-04T18:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264186#M51540</link>
      <description>&lt;P&gt;Mark, as usual has given the responses you asked about. &amp;nbsp;I just have some questions/feedback to add:&lt;/P&gt;&lt;P&gt;First question is; Are the factors all continuous?&lt;/P&gt;&lt;P&gt;1. Yes, you left terms out of the model, hence the lack of fit dialogue. &amp;nbsp;You could write a saturated model for the 44 degrees of freedom, but that would include cubic and quartic terms (and their interactions) for the 5-level factor and other non-linear interaction terms.&lt;/P&gt;&lt;P&gt;2. Full factorial are full resolution designs...therefore every degree of freedom can be estimated. &amp;nbsp;Whether every term makes sense or not is a different question.&lt;/P&gt;&lt;P&gt;3. I'm not sure, but my guess is the non-linear interaction terms are not considered to be included in the model. I notice that when you use JMP to construct model effects and use the Response Surface Macro, the non-linear interaction terms are pooled in the MSE.&lt;/P&gt;&lt;P&gt;4. &amp;nbsp;Doesn't matter what you call it, you can certainly estimate the quadratic effects for a factorial with factors at 3-levels.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 19:07:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264186#M51540</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2020-05-04T19:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264236#M51544</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; Yes, my model only has the first-order and the interaction terms.&amp;nbsp; However, I still don't quite understand what you mean by '&lt;SPAN&gt;you have a kind of replication and meet all the other requirements for the lack of fit test.&lt;/SPAN&gt;' What is a kind of replication?&amp;nbsp; I didn't have any replicated measurement under the same conditions.&amp;nbsp; And what are the other requirements for the lack of fit test?&amp;nbsp; You mentioned '&lt;SPAN&gt;number of distinct levels relative to the order of the model&lt;/SPAN&gt;'. Can you please explain it in more detail as well?&amp;nbsp; Thank you very much!&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 19:58:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264236#M51544</guid>
      <dc:creator>CYLiaw</dc:creator>
      <dc:date>2020-05-04T19:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264264#M51547</link>
      <description>&lt;P&gt;Let's say that I design a full factorial experiment for 5 factors, each at 3 levels. Then later in the analysis, I eliminate all of the terms that include 1 of the factors. Whenever this kind of model reduction occurs, the design space (e.g., 5-D) projects into a smaller number of dimensions (e.g., 4-D), and the original design is now a replicated design for the remaining 4 factors. Even a full factorial design for 2 factors, each at 2 levels, exhibits some replication. For example, each factor is tested at each level twice. So as&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4358"&gt;@statman&lt;/a&gt;&amp;nbsp;pointed out, it depends on how you use your degrees of freedom. They are pooled, for example, for the error sum of squares. They provide a model-dependent estimate of the RMSE, but hey, not a bad deal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The lack of fit test requires (1) replicates and (2) the factor exhibit 2 more levels than the order of the model. So if you have a first-order model (order 1), you need 3 distinct levels If you have a quadratic model( order 2), then you need 4 distinct levels. But you do not need to replicate the entire design.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 20:43:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264264#M51547</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-04T20:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264273#M51548</link>
      <description>&lt;P&gt;Thank you Mark for the clarification.&amp;nbsp; It makes for sense now.&amp;nbsp; I have one more question.&amp;nbsp; So can I still use the model which includes the quadratic terms but doesn't allow for Lack of Fit test?&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 21:50:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264273#M51548</guid>
      <dc:creator>CYLiaw</dc:creator>
      <dc:date>2020-05-04T21:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264275#M51550</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4358"&gt;@statman&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; &amp;nbsp;Yes, all factors are continues with discrete levels.&amp;nbsp; I still don't quite understand your reply to question 3.&amp;nbsp; What do you mean by '&lt;SPAN&gt;non-linear interaction terms are not considered to be included in the model&lt;/SPAN&gt;' and '&lt;SPAN&gt;&amp;nbsp;non-linear interaction terms are pooled in the MSE&lt;/SPAN&gt;'?&amp;nbsp; How and why are the non-linear interaction terms pooled in the MSE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 22:02:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264275#M51550</guid>
      <dc:creator>CYLiaw</dc:creator>
      <dc:date>2020-05-04T22:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264280#M51552</link>
      <description>&lt;P&gt;I just came up with another question.&amp;nbsp; Sorry to keep bothering you all.&amp;nbsp; Like what &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;&amp;nbsp;said, I found that after removing one of the factors, I can do the lack of fit test.&amp;nbsp; However, the model still didn't pass the lack of fit test even adding the quadratic terms.&amp;nbsp; The analysis actually makes sense to me, so I don't know why it still shows lack of fit.&amp;nbsp; In this case, is there another way to validate the model?&amp;nbsp; Or the model is completely useless?&amp;nbsp;Or can I divide my full factorial dataset (3x3x3x5=135) into training, validation and testing data to show whether the model is useful or not?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 22:49:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264280#M51552</guid>
      <dc:creator>CYLiaw</dc:creator>
      <dc:date>2020-05-04T22:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264282#M51553</link>
      <description>&lt;P&gt;Sorry for any confusion I have caused. &amp;nbsp;Let me keep it simple...2 factors at 3-levels in an unreplicated factorial is 9 treatment combinations. &amp;nbsp;That means you have 8 degrees of freedom. &amp;nbsp;The "theoretical" model is:&lt;/P&gt;&lt;P&gt;Y=A+B+AB+AA+BB+&lt;STRONG&gt;AAB+ABB+AABB&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is AAB (or ABB)? &amp;nbsp;This is a non-linear (quadratic in this case) interaction. &amp;nbsp;The curvature for A is dependent on levels of B. &amp;nbsp;This is certainly something that can happen in engineering and science. &amp;nbsp;Now, the model you will see using JMP Response Surface Macro (to construct model effects). Is:&lt;/P&gt;&lt;P&gt;Y=A&amp;amp;RS+B&amp;amp;RS+AB+AA+BB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you analyze this model, you will get a MSE term (the three degrees of freedom (above bold) left out of the model). &amp;nbsp;This is the basis for the F-test.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 22:51:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264282#M51553</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2020-05-04T22:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264301#M51554</link>
      <description>&lt;P&gt;The lack of fit test would be used to see if the quadratic model is insufficient for the response over the design space. Do you think that is either a real possibility or if there are higher order effects that they are more than a few percent?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whether you use the LOF test, you should confirm the selected model with future empirical observations. That is, use the model to predict the response under new conditions (not previously observed) and test those conditions. I recommend predicting conditions that give you what you want and what you do not want. A good model should predict reality, good or bad.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 00:05:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264301#M51554</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-05T00:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264324#M51555</link>
      <description>&lt;P&gt;If I intend to get an explanatory model (i.e. identifying the most important factors and interactions) instead of a predictive model, is it still necessary to predict the response under new conditions?&amp;nbsp; I saw people would do cross validation, is it different from what you suggested? Also, what do you mean by 'predicting conditions that give you what you want and what you do not want'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 01:33:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264324#M51555</guid>
      <dc:creator>CYLiaw</dc:creator>
      <dc:date>2020-05-05T01:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264335#M51556</link>
      <description>&lt;P&gt;Wow, this is getting interesting.... &amp;nbsp;So some thoughts:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First I'm a bit confused by the line of work. &amp;nbsp;You started with 3 factors at 3-levels and 1 factor at 5-levels and in a factorial. &amp;nbsp;All continuous variables. This would seem to me that you already are in optimum space? &amp;nbsp;If you were screening, this would not be a first experiment. &amp;nbsp;There are way more efficient ways to get there. In running the experiment you ran, it would seem reasonable that you already understand first order effects and are trying to map the surface. To be honest, I don't understand this mix of factors and levels, but , of course, I do not know the situation. &amp;nbsp;Typically when folks are talking about doing validation and cross validation of the model, it is when they create a model using some sort of regression on an existing data set. &amp;nbsp;The model you have gotten from your factorial should be better evidence of causal relationships (not just a model that explains the data). &amp;nbsp;So you should have a model from your experiment (simplified to the significant factors). &amp;nbsp;Now go test it using new data (as Mark suggests). &amp;nbsp;This is scientific method.. &amp;nbsp;Or even better see where your model fails (under what conditions does the model fall apart). &amp;nbsp;Since you spent so much effort on understanding the design factors, you should already know the effects of noise, if not, you should spend some of your resources understanding this. &amp;nbsp;It doesn't do any good having a detailed map of the base of the mountain when you are trying to get to the top.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 02:06:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264335#M51556</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2020-05-05T02:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264406#M51558</link>
      <description>&lt;P&gt;Just to be clear, when you say that "&lt;I&gt;the model still didn't pass the lack of fit test &lt;/I&gt;&lt;I&gt;even adding the quadratic terms&lt;/I&gt;," you mean that the test is significant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The lack of fit hypothesis test is not perfect. No hypothesis test is. It is one way that you can use the data to help you decide if the current model is biased. The idea is that the current error sum of squares is either the random deviations in the response (unbiased) or it is a combination of fixed and random deviations (biased). (You do not seem to have any factors with random effects in this case.) The null hypothesis is that the model is unbiased. We now apply the same analysis of variance to obtain another&amp;nbsp;&lt;I&gt;F&lt;/I&gt; ratio. The test can fail either way if the estimate of the pure error is too small or too large, or if the assumptions of the test are not met. It might also be the case that the degrees of freedom in the &lt;I&gt;F&lt;/I&gt; ratio are too small to make the test reliable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use &lt;I&gt;honest assessment&lt;/I&gt; to &lt;STRONG&gt;select&lt;/STRONG&gt; the best model among all candidate models. Cross-validation is often unsuccessful for this assessment, though, with a small data set such as yours. It is intended for BIG DATA. You might use the adaptation to small data sets, K-fold cross-validation, instead. This method is about &lt;STRONG&gt;model selection&lt;/STRONG&gt;. It is &lt;STRONG&gt;not model validation&lt;/STRONG&gt;. This case uses an empirical model based on fitting empirical evidence with an interpolating function. You must validate your choice by selecting the model, predicting new observations (under different conditions than those that were observed in original experiment), and confirming the predictions with new empirical evidence to &lt;I&gt;increase your belief&lt;/I&gt; in the selected model. We must work equally hard in science to find evidence that both supports and refutes our theory or model, and adjust accordingly, if we want our model to be realistic.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 09:47:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264406#M51558</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-05T09:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Full Factorial Design questions</title>
      <link>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264407#M51559</link>
      <description>&lt;P&gt;The decisions that you make based on the explanatory model use statistics that still assume that the model is correct. For example, the F ratios in the Effect Tests or the t ratios in the Parameter Estimates from JMP assume that the error sum of squares are only the random deviations in the response. You can only use the current data set to estimate the model parameters or select the terms in the model. You need independent evidence to decide if the model is correct. Again, cross-validation is for model selection, not model validation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I meant that I would find conditions for which the selected model predicts a good response (e.g., high yield) as well as conditions that are expected to have a bad response (e.g., low yield). Reality ranges from bad to good. A realistic model should re-produce all of this reality. Then I am reasonably confident in my decisions (or predictions) based on the model.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 09:58:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Full-Factorial-Design-questions/m-p/264407#M51559</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-05T09:58:49Z</dc:date>
    </item>
  </channel>
</rss>

