ANCOVA (aoctool) with 2 or more covariates - MATLAB Answers

文章推薦指數: 80 %
投票人數:10人

Is there any way to run an ANCOVA in Matlab with more than one covariate? The aoctool function only seems able to accept an IV a DV and one covariate but I ... Skiptocontent MATLABAnswers ToggleSubNavigation SearchAnswers ClearFilters Answers Support MathWorks SearchSupport ClearFilters Support Answers MathWorks SearchMathWorks.com ClearFilters MathWorks Answers Support CloseMobileSearch CloseMobileSearch MATLABCentral CommunityHome MATLABAnswers FileExchange Cody Blogs Communities TreasureHunt Highlights Contests Advisors VirtualBadges About HomeAskAnswerBrowseMoreMATLABFAQsContributorsRecentActivityFlaggedContentManageSpamHelp MATLABCentral CommunityHome MATLABAnswers FileExchange Cody Blogs Communities TreasureHunt Highlights Contests Advisors VirtualBadges About HomeAskAnswerBrowseMoreMATLABFAQsContributorsRecentActivityFlaggedContentManageSpamHelp Trialsoftware Youarenowfollowingthisquestion Youwillseeupdatesinyourfollowedcontentfeed. Youmayreceiveemails,dependingonyourcommunicationpreferences. ANCOVA(aoctool)with2ormorecovariates Follow 59views(last30days) Showoldercomments RightGrievous on25Nov2013 Vote0 Link × Directlinktothisquestion https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates Cancel CopytoClipboard  ⋮  Vote0 Link × Directlinktothisquestion https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates Cancel CopytoClipboard Edited:AdamDanz on2Jan2022 AcceptedAnswer:RightGrievous IsthereanywaytorunanANCOVAinMatlabwithmorethanonecovariate?TheaoctoolfunctiononlyseemsabletoacceptanIVaDVandonecovariatebutIhave2,possibly3covariates.Ican'tseemtofindifthisispossibleusingaoctoolorifthereisanotherwaytodoitinMatlab...Asalways,anyhelpwouldbegreatlyappreciated,Rod.   0Comments ShowHide&nbsp-1oldercomments Signintocomment. Signintoanswerthisquestion. Ihavethesamequestion(0) Ihavethesamequestion(0) AcceptedAnswer RightGrievous on2Dec2013 Vote1 Link × Directlinktothisanswer https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#answer_116904 Cancel CopytoClipboard  ⋮  Vote1 Link × Directlinktothisanswer https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#answer_116904 Cancel CopytoClipboard Helpful(1) Helpful(1) I'llanswermyownquestion...again.aoctoolcan'ttakemorethanonecovariateandthere'snowayroundit.However,thereisafileonthefileexchangecalledMANCOVANwhichcandoallsortsofthings-includinganANCOVAwithmorethanonecovariate.Thatfunctiondoesnotoutputthestatsarrayrequiredbymultcomparethough,soreallyit'sabitofadeadend.Matlabreallysuckssometimes.   5Comments ShowHide&nbsp4oldercomments QuinnMcGlothlin on24Nov2016 × Directlinktothiscomment https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#comment_408677 Cancel CopytoClipboard  ⋮  Link × Directlinktothiscomment https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#comment_408677 Cancel CopytoClipboard Wouldyouhappentoknowwhaterror203means,withintheMANCOVANprogram(ortoolbox)?IttellsmeIneedtogetridofredundantvariables,buttherearenone. AdamDanz on29Apr2019 × Directlinktothiscomment https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#comment_699549 Cancel CopytoClipboard  ⋮  Link × Directlinktothiscomment https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#comment_699549 Cancel CopytoClipboard Useanovan()instead.anovan()isann-wayanalysisofvarianceallowingformultiplegroupingvariables.Whenatleastoneofthosegroupingvariablesarelabeledasacontinuousvariable,anANCOVAisperformed(MatlabcallsitANOCOVA,samething).AnexampleofthisuseageisfoundhereinMatlab'sdocumentation. Neuropragmatist on30Apr2019 × Directlinktothiscomment https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#comment_700051 Cancel CopytoClipboard  ⋮  Link × Directlinktothiscomment https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#comment_700051 Cancel CopytoClipboard Hmm,that'sinteresting,Ididn'tknowANOVANhadthatfunctionality.WhenmultiplegroupingvariablesaremarkedascontinuousdoyouknowifANOVANtreatsthemallascovariates?i.e.canyouhaveunlimitedcovariatesusingthismethod?Thanks,R. AdamDanz on30Apr2019 × Directlinktothiscomment https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#comment_700063 Cancel CopytoClipboard  ⋮  Link × Directlinktothiscomment https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#comment_700063 Cancel CopytoClipboard Edited:AdamDanz on2Jan2022 Here'sademoprovidedintheMatlabdocumentationthatdemonstratestheuseofANOVAN()toperformANCOVA(matlabusestheacronymANOCOVA,samething).Andyes,Ithinkyoucanhavemultiplecovariatesbylabelingmultiplevariablesascontinuous.https://www.mathworks.com/help/stats/test-differences-between-category-means.html#d117e3095 AlexSabrekov on1Jan2022 × Directlinktothiscomment https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#comment_1913610 Cancel CopytoClipboard  ⋮  Link × Directlinktothiscomment https://www.mathworks.com/matlabcentral/answers/107538-ancova-aoctool-with-2-or-more-covariates#comment_1913610 Cancel CopytoClipboard Butthebadthingisanovan()doesn'tgiveenoughstatisticstocompareslopesandintersepts.Itcangiveyoujustcoefficientsforallterms.SoifyouhavemorethanonecategorialIVorcovariate,youcan'tobtaindetailstaticsonslopesinmatlab,becauseaoctool()performsanalysiswithjustonecategorialIVandonecovariate.Itisapityformeasamatlabpatriot,sinceANCOVAisapopularinstrument. Signintocomment. MoreAnswers(0) Signintoanswerthisquestion. SeeAlso Categories AI,DataScience,andStatistics StatisticsandMachineLearningToolbox ANOVA AnalysisofVarianceandCovariance Tags ancovastatisticsanovacovariateanalysisaoctool CommunityTreasureHunt FindthetreasuresinMATLABCentralanddiscoverhowthecommunitycanhelpyou! StartHunting! AnErrorOccurred Unabletocompletetheactionbecauseofchangesmadetothepage.Reloadthepagetoseeitsupdatedstate. Close × SelectaWeb Site Chooseawebsitetogettranslatedcontentwhereavailableandseelocaleventsand offers.Basedon yourlocation,werecommendthatyouselect:. Switzerland(English) Switzerland(Deutsch) Switzerland(Français) 中国(简体中文) 中国(English) Youcanalsoselectawebsitefromthefollowinglist: HowtoGetBestSitePerformance SelecttheChinasite(inChineseorEnglish)forbestsiteperformance.OtherMathWorkscountry sitesarenotoptimizedforvisitsfromyourlocation. Americas AméricaLatina(Español) Canada(English) UnitedStates(English) Europe Belgium(English) Denmark(English) Deutschland(Deutsch) España(Español) Finland(English) France(Français) Ireland(English) Italia(Italiano) Luxembourg(English) Netherlands(English) Norway(English) Österreich(Deutsch) Portugal(English) Sweden(English) Switzerland Deutsch English Français UnitedKingdom (English) AsiaPacific Australia(English) India(English) NewZealand(English) 中国 简体中文Chinese English 日本Japanese(日本語) 한국Korean(한국어) Contactyourlocaloffice Trialsoftware



請為這篇文章評分?