Académique Documents
Professionnel Documents
Culture Documents
5/28/10
TwoLevelFactorialTutorial (Part1TheBasics)
Introduction
ThistutorialdemonstratestheuseofDesignExpertsoftwarefortwolevel factorialdesigns.Thesedesignswillhelpyouscreenmanyfactorstodiscoverthe vitalfew,andperhapshowtheyinteract.IfyouhaventdonetheGeneralOne Factortutorialsthatprecedethis(atleastTheBasics),pleasedosonowbecauseit willbeassumedthatyoualreadyhavesomefamiliaritywiththesoftware. ThedatayouwillnowanalyzecomesfromDouglasMontgomerystextbook,Design andAnalysisofExperiments,publishedbyJohnWileyandSons,NewYork.Awafer boardmanufacturermustimmediatelyreducetheconcentrationofformaldehyde usedasaprocessingaidforafiltrationoperation.Otherwisetheywillbeshut downbyregulatoryofficials.Tosystematicallyexploretheiroptions,process engineerssetupafullfactorialtwoleveldesignonthekeyfactors,including concentrationatitscurrentlevelandanacceptablylowone. Factor A.Temperature B.Pressure C.Concentration D.StirRate Units degC Psig Percent Rpm Low Level () 24 10 2 15 High Level (+) 35 15 4 30
DesigntheExperiment
StarttheprogrambyfindinganddoubleclickingtheDesignExperticon.Clickthe blanksheeticon ontheleftofthetoolbar,orselectFile, New Design,ortryour neweasystartoptionbyclickingNewDesignasshowninredbelow.
StartuppageNewDesignoptionhighlightedinred
DesignExpert8UsersGuide
TwoLevelFactorialTutorialPart11
Twolevelfactorialdesignbuilder Thisdesignbuilderoffersfullandfractionaltwolevelfactorialsfor2to21factors inpowersoftwo(4,8,16)forupto512runs.Thechoicesappearincoloron yourscreen.Whitesquaressymbolizefullfactorialsrequiring2krunsfork(the numberoffactors)from2to9.Theotherchoicesarecoloredlikeastoplight:green forgo,yellowforproceedwithcaution,andredforstop,whichrepresentvarying degreesofresolution:V,IV,andIII,respectively.Foraquickoverviewofthese colorcodes,pressthescreentips button(orselectTips, Screen Tips)andclick topic1:What type of information do you want?
2TwoLevelFactorialTutorialPart1
DX803ATwoLevelP1.docxRev.5/28/10
Selectingafull,twoleveldesignonfourfactorswhichproduces16runs Atthebottomofthescreenyouseeoptionstoselectthenumberofreplicatesofthe design,thenumberofblocks,andthenumberofcenterpoints.Leavethemattheir defaults. ClicktheContinuebutton.Youarenowabletosetupyourexperimentby enteringthenames,unitsofmeasure,andlevelsforyourfactors.Usethearrow keys,tabkey,ormousetomovefromonespacetothenext.TheTab(orShiftTab) keymovesthecursorforward(orbackward)betweenentryfields. FactorscanbeoftwodistincttypesNumericorCategoric.Numericdata characterizesacontinuousscalesuchastemperatureorpressure.Categoricdata, suchascatalysttypeorautomobilemodel,occursindistinctlevels.DesignExpert permitscharacters(forexample,wordslikeLoworHigh)forthelevelsof categoricalfactors.YouchangethetypeoffactorbyclickingoncellsintheType columnandchoosingCategoricfromthedropdownlist,orbytypingC(orN fornumeric).Givethisatrybackandforth!LeavethedefaultasNumericforall factorsinthiscase.Thenenterforeachfactor(A,B,CandD)theName,Units, LowandHighlevelsshownonthescreenshotbelow.
DesignExpert8UsersGuide
TwoLevelFactorialTutorialPart13
4TwoLevelFactorialTutorialPart1
DesignExpert8UsersGuide
DX803ATwoLevelP1.docxRev.5/28/10
Savingthedesign
DesignExpert8UsersGuide TwoLevelFactorialTutorialPart15
EntertheResponseData
ExitthenotespagebyclickingtheDesignnode.(Noticethenodeappearsas Design (Actual)meaningyourfactorsaredisplayedinactuallevels,asopposed tocodedform).Atthisstageyounormallywouldprinttherunsheet,performthe experiments,andrecordtheresponses.Thesoftwareautomaticallyliststheruns inrandomizedorder,protectingagainstanylurkingfactorssuchastime, temperature,humidity,orthelike.Toavoidthetediumoftypingnumbers,yet preserveareallifeflavorforthisexercise,simulatethedatabyrightclickingthe Responsecolumnheadertobringupanewmenu.(Noticethatoneoftheoptions Insert Responseallowsyoutoinsertmoreresponsesasmentionedearlier.) SelectSimulate Response.
Designlayoutinstandardorderresponsedataentered(viasimulation)
6TwoLevelFactorialTutorialPart1 DesignExpert8UsersGuide
DX803ATwoLevelP1.docxRev.5/28/10
(ie.Concentratpercent).Toautomaticallyresizethecolumn,movethecursorto therightborderofthecolumnheaderuntilitturnsintoadoubleheadedarrow ( ).DoubleclickandthecolumnwillberesizedtofittheColumnHeader. Yourdatawillnowmatchthetutorialexceptforadifferentrandomrunorder. (Whendoingyourownexperiments,alwaysdotheminrandomorder.Otherwise, lurkingfactorsthatchangewithtimewillbiasyourresults.) Nowthatyouvegotresponsesrecorded,itsanotheropportunetimetosavethe updatedfilebyclickingtheSaveicon . Theresponsedatacameinunderageneralformat.Youwillgetcleaneroutputsif youchangethistoafixedformat.PlaceyourmouseovertheResponsecolumn heading(topoftheresponsecolumn),rightclickandselectEdit Info...
SelectingEditInfooption ClicktheFormatarrowandchoose0.0fromthedroplist.PressOK.
PreAnalysisofEffectsviaDataSortsandSimpleScatterPlots
DesignExpertprovidesvariouswaysforyoutogetanoverallsenseofyourdata beforemovingontoanindepthanalysis.Forexample,viathesamerightclick menuusedtoEditInfo,youcansortbyanycolumn. Toseethis,moveyourmousetothetopofcolumnFactor 1(A:Temperature)and rightclick.ThenselectSort by This Factor.
8TwoLevelFactorialTutorialPart1
DesignExpert8UsersGuide
DX803ATwoLevelP1.docxRev.5/28/10
Graphcolumnsfortemperatureversusfiltrationrate,coloredbyconcentration Doyouseehowtwocolorsstratifyateachleveloftemperaturebutoppositely redatthetopfortheratesplottedattheleft(temperature24)versusbluecoming outhigherforfiltrationrateattheright?Considerwhatthismayindicateabout howconcentrationinteractswithtemperaturetoproduceaneffectonfiltration rate.However,letsnotgetaheadofourselvesthisisonlyapreliminarytomore thoroughanalysesusingmuchmoresophisticatedgraphicalandstatisticaltools. Youmaywonderwhythenumber2appearsbesidesafewpointsonthisplot. Thisnotationindicatesthepresenceofmultiplepointsatthesamelocation.Click ononeofthesepointsmorethanoncetoidentifytheindividualruns.Comingup
DesignExpert8UsersGuide TwoLevelFactorialTutorialPart19
soonyouwillusepowerfulanalysisfeaturesinDesignExpertsoftwaretofindout whatsreallygoingoninthiswaferboardproductionprocess.
AnalyzetheResults
Tobeginanalyzingthedesign,clicktheFiltration Rateresponsenodeontheleft sideofyourscreen.Thisbringsuptheanalyticaltoolbaracrossthetopofthe screen.Todothestatisticalanalysis,simplyclickthebuttonsprogressivelyfrom lefttoright. TheTransformbuttonisinitiallyhighlighted,asshownbelow.Itdisplaysalistof mathematicalfunctionsthatyoumayapplytoyourresponse.Fordetailspressthe Tipsbutton.
10TwoLevelFactorialTutorialPart1
DesignExpert8UsersGuide
DX803ATwoLevelP1.docxRev.5/28/10
DesignExpert8UsersGuide
TwoLevelFactorialTutorialPart111
12TwoLevelFactorialTutorialPart1
DesignExpert8UsersGuide
DX803ATwoLevelP1.docxRev.5/28/10
ScreenTipsforhalfnormalplotofeffects NowtrytheShow Select Terms Video Clipforamoviethatillustrateshowto selecteffects.Afterviewingthisdemoandperhapscheckingoutothervideoclips andtips,Xoutofthiswindow. Itmayhelpyouvisualizethemagnitudeofthechoseneffectsbydisplayingthemon anorderedbarchart.DothisviathefloatingEffects Tool,Pareto Chart.Notice theverticalaxisshowsthetvalueoftheabsoluteeffects.Thisdimensionless statisticscalestheeffectsintermsofstandarddeviations.Inthiscase,itmakesno differencetotheappearanceofthechart,butwhenyouencounterbotchedfactor levels,missingdata,andthelike,thetvaluescaleprovidesamoreaccurate
DesignExpert8UsersGuide TwoLevelFactorialTutorialPart113
measureofrelativeeffects.Clickthenextbiggestbarandnoticeitisidentifiedas ABDasshownbelow(lowerright).
DX803ATwoLevelP1.docxRev.5/28/10
AccessingcontextsensitiveHelp
DesignExpert8UsersGuide TwoLevelFactorialTutorialPart115
DX803ATwoLevelP1.docxRev.5/28/10
Residualsversuspredictedresponsevalues Thesizeoftheresidualshouldbeindependentofitspredictedvalue.Inother words,theverticalspreadofthestudentizedresidualsshouldbeapproximatelythe sameacrossalllevelsofthepredictedvalues.InthiscasetheplotlooksOK. SkipaheadtotheBox Coxplot.Thiswasdevelopedtocalculatethebestpower lawtransformation.(RefertoMontgomerysDesignandAnalysisofExperiments textbookfordetails.)Thetextontheleftsideofthescreengivestherecommended transformation,inthiscaseNone.Thatsallyoureallyneedtoknow!However, forthoseofyouwhowanttodelveintothedetails,notethattheBoxCoxscreenis colorcodedtohelpwithinterpretation.Thebluelineshowsthecurrent transformation.Inthiscaseitpointstoavalueof1forLambda,whichsymbolizes thepowerappliedtoyourresponsevalues.Alambdaof1indicatesno transformation.Thegreenlineindicatesthebestlambdavalue,whiletheredlines indicatethe95%confidenceintervalsurroundingit.Ifthis95%confidence intervalincludes1,thennotransformationisrecommended.Itboilsdowntothis: Ifthebluelinefallswithintheredlines,youareintheoptimalzone,sonochange needbemadeinyourresponsetransformation(inthiscasenone).
DesignExpert8UsersGuide
TwoLevelFactorialTutorialPart117
BoxCoxplotforpowertransformations P.S.TheBoxCoxplotwillnothelpiftheappropriatetransformationiseitherthe logitorthearcsinesquareroottransformation.SeetheprogramsHelpsystem writeuponResponseTransformationsforfurtherdetails. AtthetopoftheDiagnostics ToolselectInfluencetoseeaveryusefulplotthats technicallytheexternallystudentizedresiduals(Ext.Studentei),butoften referredtoasOutliertbecauseitshowshowmanystandarddeviations(tvalues) agivenrunfallsoffrelativetowhatonewouldexpectfromalltheothers.Thisis oneofseveralmeasuresofinfluencethatarereferredtoasdeletiondiagnostics duetotheirbeingcalculatedexternallythatis,withouttheruninquestionbeing included.Thus,ifsomethinggoeswronginyourexperimentanditgeneratesatrue outlierforagivenrun,thediscrepantvaluewillberemovedbeforeassessingitfor influencingthemodelfit.
Influenceplotfordetectionofoutliers(yoursmaydifferduetorandomrunorder)
18TwoLevelFactorialTutorialPart1
DesignExpert8UsersGuide
DX803ATwoLevelP1.docxRev.5/28/10
DesignExpertprovidesupperandlowerredlinesthataresimilarto95% confidencecontrollimitsonarunchart.Inthiscasenoneofthepointsstandsout. Becausethisgraphisplottedinrandomizedrunorder,theorderingofthepoints onyourscreenwillbedifferentthanshownhere.Butwerenotlookingfor patterns,justoutliers.Theresnothingoutoftheordinaryhereallthepointsfall wellwithintheredlinessetbythesoftwaretokeepyoufromtamperingwiththe responsedata.However,iftherewereanoutlier,youcouldclickonittogetthe coordinatesdisplayedtotheleftofthegraph.Theprogramremembersthepoint. Itwillremainhighlightedonotherplots.Thisisespeciallyhelpfulintheresidual analysisbecauseyoucantrackanysuspectpoint.Thisfeaturealsoworksinthe interpretationgraphs.Giveitatry!Clickanywhereelseonthegraphtoturnthe pointoff. Finally,gobacktotheDiagnostics ToolandpressReport.Hereyouseethe numericalvaluesfordiagnosticstatisticsreportedcasebycaseinstandardorder. (InpreviousversionsofDesignExpertthisappearedunderANOVA.)Discrepant valueswillbeflagged.Inthiscasenothingisdetectedasbeingabnormal.
Diagnosticsreport(onlypartiallyshowinthisscreenshot) ExamineMainEffectsandAnyInteractions Assumingthattheresidualanalysesdonotrevealanyproblems(noproblemsare evidentinourexample),itsnowtimetolookatthesignificantfactoreffects. Ontheanalyticaltoolbaratthetopofthescreen,choosetheModel Graphs button.TheACinteractionplotcomesupbydefault.(Ifyourgraphdisplaysthex axisincodedunits,returntoactualunitsbychoosingDisplay Options, Process Factors - Actual.)
DesignExpert8UsersGuide
TwoLevelFactorialTutorialPart119
InteractiongraphoffactorsA(temperature)versusC(concentration) TheIBeamsymbolsonthisplot(andothereffectplots)depictthe95%least significantdifference(LSD)intervalfortheplottedpoints.(IftheIBeamsymbols donotappear,rightclickwithinthegraphsboundary,thenchooseGraph Preferences,XYGraphstab.UnderFactorialGraphs,clickonUse LSD Bars.)To viewanumericalvalueforLSD,clickanyofthepoints(squaresortriangles representingpredictedoutcome).Tryit! Thosepointsthathavenonoverlappingintervals(i.e.theLSDbarsdontintersect oroverlapfromlefttorightthroughanimaginaryhorizontalline)aresignificantly different.Aneasywaytocheckthisistodrawahorizontalreferenceline.Right clickonthegraphnearthetopoftheleftredLSDbar(C+at24degrees)andchoose Draw Horizontal Reference.Thiswillputabluereferencelineonthegraphas shownabove.ThereferencelinemakesitclearthattheleftredLSD(C+at24 degrees)overlapswiththerightredLSD(C+at35degrees),thusthereisnota statisticallysignificantdifferencebetweenthosetwopredictions. Notealsothatthespreadofthepointsontherightsideofthegraph(where Temperatureishigh)issmallerthanthespreadbetweenthepointsattheleftside ofthegraph(whereTemperatureislow.)Inotherwords,theeffectof formaldehydeconcentration(C)islesssignificantatthehighleveloftemperature (A).Therefore,theexperimenterscangotohightemperatureandreducethe concentrationofharmfulformaldehyde,whilemaintainingorevenincreasing filtrationrate.Thiscombinationisrepresentedbytheblacksquaresymbolatthe upperrightoftheinteractionplot. ThefloatingFactors Toolpaletteopensalongwiththedefaultplot.Movethe floatingpaletteasneededbyclickingthetopblueborderanddraggingit.Thistool controlswhichfactor(s)areplottedonthegraph.AtthebottomoftheFactorsTool isapulldownlistfromwhichyoucanalsoselectthefactorstoplot.Onlytheterms thatareinthemodelareincludedinthislist.ClicktheTermlistdownarrowand selectA.
20TwoLevelFactorialTutorialPart1 DesignExpert8UsersGuide
DX803ATwoLevelP1.docxRev.5/28/10
DesignExpert8UsersGuide
TwoLevelFactorialTutorialPart121
InteractionADwiththesliderbarforfactorCsetfarleftatitslow()level Itnowbecomesclearthataveryhighfiltrationratecanbeachievedbygoingtothe highstirrate(theredlineforfactorD).Clickthishighpointtogetallthedetailson itsresponseandfactorvalues.Thisistheoptimumoutcome. Toresetthegraphtoitsdefaultconcentration,youcouldtype3atthebottomof theFactorsTool.(FactorCmustbeclickedandhighlightedforthistotakeeffect.) YoucanalsogettheoriginalsettingsbackbypressingtheDefaultbutton.Giveita try,butrememberthatgoingtolowconcentrationofformaldehydewasaprimary objectiveforthisprocesstroubleshootingexperiment,sobesuretoslideCbackto theleftagain. Yetanotheroptionisavailableforsettingfactorlevels,whichyoucanseebygoing totheFactors ToolandclickingtheSheetbutton.Thisviewoffersalternative modesforspecifyinghowtosetupyourplot.InthecolumnslabeledAxisand Valueyoucanchangetheaxessettingsortypeinspecificvaluesforfactors.Dont botherwiththiswejustwantedtoshowittoyoubecauseitmaycomeinhandy.
SheetViewofFactorsTool
22TwoLevelFactorialTutorialPart1
DesignExpert8UsersGuide
DX803ATwoLevelP1.docxRev.5/28/10
Graphpreferenceoption(viarightclickofmouseoverthegraph)
DesignExpert8UsersGuide
TwoLevelFactorialTutorialPart123
CubeplotofA,C,andD,withlegendtoggledoff Thisplotshowshowthreefactorscombinetoaffecttheresponse.Allvaluesshown arepredictedvalues,thusallowingplotstobemadeevenwithmissingactualdata. BecausethefactorsofinteresthereareA,C,andD,theprogrampickedthemby default.(YoucanchangeaxesbyrightclickinganyfactorontheFactorsTool.) FiltrationrateismaximumatsettingsA+,D+,C(lowerbackrightcornerwith predictedresponseover100),whichalsocorrespondstothereduced formaldehydeconcentration.Fantastic!! ProduceContourand3DPlotsoftheInteraction Aninteractionrepresentsanonlinearresponseofsecondorder.Itmaybehelpful tolookatcontourand3Dviewsoftheinteractiontogetafeelforthenonlinearity. FirstselectContourtogetacontourgraph.Also,ifyouhaventdoneitalready, turnthelegendbackonbychoosingView,Show Legend(thecheckmarkappears whenthelegendison.)TheaxesshouldcomeupasA(Temperature)andC (Concentration).Ifnot,simplyrightclickovertheFactorToolandmakethe appropriatechanges.
24TwoLevelFactorialTutorialPart1
DesignExpert8UsersGuide
DX803ATwoLevelP1.docxRev.5/28/10
Addingaflag(viarightclickmenu) Ifyoulike,playaroundabitwiththeseoptions.However,thesegraphsareoverkill forsuchasimpledesign(remembertheexperimentinvolvedonlytwolevelsof eachfactor).Thereforeitwillbebestifyouholdoffontoomuchexplorationof theseadvancedfeaturesuntilyoucanmoveontotheResponseSurfaceTutorials. Now,strictlyforcreatinganimpressivelookinggraph(whichmayormaynotadd anythingtothestory),select3D Surface.AlsoselectView, Show Rotation.
DesignExpert8UsersGuide
TwoLevelFactorialTutorialPart125
A3DviewoftheACinteraction Grabtherotationwheelwithyourmouseandrotatetheplottodifferentangles. Itsfun!PresstheDefaultbuttontoresetthegraphtoitsoriginalcoordinates. Nowtryturningthegraphwithoutthewheel.Moveyourmousecursor( )over thegraph.Whenitturnsintoahand( ),pressdownandrotatetheviewhowever youlike. Beforemovingontothelaststage,takealookattheotherinteractionbygoingto theFactors ToolandfromtheTermlistselectingAD.
26TwoLevelFactorialTutorialPart1
DesignExpert8UsersGuide
DX803ATwoLevelP1.docxRev.5/28/10
PointPrediction Thelastfeaturethatwewillexploreappearsattheupperleftofthescreenunder themainbranchofOptimization:ClickthePoint Predictionnodetomake responsepredictionsforanysetofconditionsfortheprocessfactors.Whenyou firstenterthisscreen,thefloatingFactors Toolpalettedefaultstothecenter pointsofeachfactor.Levelsareeasilyadjustedwiththeredsliderbarsormore preciselybyusingtheSheetview.Inthiscase,theanalysissuggeststhatyou shouldslidethefactorsasfollows: A(Temperature)righttoitshighlevel(+) B(Pressure)leaveatdefaultlevelofcenterpoint C(Concentration)lefttoitslowlevel() D(StirRate)righttoitshighlevel(+)
Pointpredictionwithbestfactorsettings Thiswillprovidethehighestpredictedfiltrationratewiththeleastamountof formaldehyde. Besidestheresponsepredictionvalue,severalotherpiecesofinformationare provided.TheSEMeanisthestandarddeviationassociatedwiththeprediction ofanaveragevalueatthesesettings.The95%CIistheconfidenceintervalthatis calculatedtocontainthetruemean95%ofthetime.TheSEPredisthestandard deviationassociatedwiththepredictionofanindividualobservation.The95%PI isthepredictionintervalcalculatedtocontainthetruevalueofanindividual observation95%ofthetime.Finally,the95%TIisthetoleranceinterval calculatedtocontainaproportion(P)ofthesampledpopulationwithaconfidence (1).Bydefault,theintervalcontains99%ofthesampledpopulationwith95% confidence.Notethatthe95%confidenceintervalonameanwillhavethe narrowestspread,withthe95%predictionintervalforasingleobservationbeing widerandthe95%TIwhichcontains99%ofthepopulationbeingthewidest.The mostrigorousinterval,TI,isoftenrequiredforsettingmanufacturing specifications,butmostexperimenterswillsettleforthePIasawaytomanage expectations.
DesignExpert8UsersGuide TwoLevelFactorialTutorialPart127
PrepareFinalReport
Nowallthatremainsistoprepareandprintthefinalreports.Ifyouhavent alreadydoneso,justclicktheappropriateicon(s)and/orbuttonstobringthe informationbackuponyourscreen,andclicktheprinticon(orusetheFile, Print command). Youcanalsocopygraphstootherapplications:UseEdit, Copyorpressthecopy icon( ).
Copyicon ForANOVAorotherreportsbesuretodoaSelect Allfirst,orhighlightthetext youwishtocopy. Thiscompletesthebasictutorialonfactorialdesign.Moveontothetutorialson advancedtopicsandfeaturesifyoulike,orexitfromDesignExpertbychoosing File, Exitfromthemenu.Ifyouhavenotstoredyourdata,oryoumadechanges sincethelastsave,awarningmessagewillappear.Exitonlywhenyouaresure thatyourdataandresultshavebeenstored.
28TwoLevelFactorialTutorialPart1
DesignExpert8UsersGuide