Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Specifying an error term in a two-factor, repeated measures ANOVA.

    Hi Everyone,

    I am trying to specify a two-factor repeated-measures ANOVA. I've gone through the documentation and the UCLA help page, but I believe that I am mispecifying my error term. NB: I found the syntax Stata uses for this to be uncharacteristically awkward. I'm comparing my calculated model against a model calculated in SPSS that is known to be accurate. The data I am using come from Andy Field's most recent textbook on SPSS, and deal with a 3x3 repeated measures design. In other words, each person experiences each of the nine conditions exactly once.

    Here is an example of the data:

    Code:
           id   attitude   drink   imagery  
      1.    1          1       1         1  
      2.    1          6       1         2  
      3.    1          5       1         3  
      4.    1         38       2         1  
      5.    1         -5       2         2  
      6.    1          4       2         3  
      7.    1         10       3         1  
      8.    1        -14       3         2  
      9.    1         -2       3         3  
     10.    2         43       1         1  
     11.    2         30       1         2  
     12.    2          8       1         3  
     13.    2         20       2         1  
     14.    2        -12       2         2  
     15.    2          4       2         3  
     16.    2          9       3         1  
     17.    2        -10       3         2  
     18.    2        -13       3         3
    id = participant id
    attitude = dv
    drink = factor 1
    imagery = factor 2

    Frustratingly, I can get all relevant F-statistics to match the "known model", but Stata is indicating that I've explained all variability in the model which shouldn't be the case.

    This is how I'm specifying my model:

    Code:
    anova attitude drink id / drink#id imagery/ imagery#id drink#imagery/ drink#imagery#id, repeated(drink imagery)
    Can anyone point me in the right direction to explain what exactly is happening?

    Thanks a lot!

    Cheers,

    David.

  • #2
    You may start by something like:

    Code:
      anova attitude drink##imagery  / id|imagery#drink imagery drink , repeated(drink imagery)
    Last edited by Marcos Almeida; 08 Feb 2019, 12:25.
    Best regards,

    Marcos

    Comment


    • #3
      Hi Marcos,

      Unfortunately that doesn't work, although that was very similar to how I initially specified the model! Stata requires that ID be included in the initial specification, and when it is the values for for drink and imagery are both incorrect (although the imagery F-value is correct). Any other thoughts?

      Cheers,

      David.

      Comment


      • #4
        Originally posted by David Speed View Post
        Stata is indicating that I've explained all variability in the model
        Your drink#imagery#id is the residual (error) term and is redundant.

        Try something like the following.

        .ÿversionÿ15.1

        .ÿ
        .ÿclearÿ*

        .ÿ
        .ÿ/*ÿDatasetÿfromÿhttps://studysites.uk.sagepub.com/field4e/study/datasets.htm
        >ÿÿÿÿandÿconvertedÿfromÿSPSSÿtoÿStataÿviaÿStat/Transferÿ*/
        .ÿuseÿMixedAttitudeÿ

        .ÿlist,ÿnoobsÿseparator(0)ÿabbreviate(20)

        ÿÿ+-------------------------------------------------------------------------------------------------------+
        ÿÿ|ÿgenderÿÿÿbeerposÿÿÿbeernegÿÿÿbeerneutÿÿÿwineposÿÿÿwinenegÿÿÿwineneutÿÿÿwaterposÿÿÿwaternegÿÿÿwaterneuÿ|
        ÿÿ|-------------------------------------------------------------------------------------------------------|
        ÿÿ|ÿÿÿMaleÿÿÿÿÿÿÿÿÿ1ÿÿÿÿÿÿÿÿÿ6ÿÿÿÿÿÿÿÿÿÿ5ÿÿÿÿÿÿÿÿ38ÿÿÿÿÿÿÿÿ-5ÿÿÿÿÿÿÿÿÿÿ4ÿÿÿÿÿÿÿÿÿ10ÿÿÿÿÿÿÿÿ-14ÿÿÿÿÿÿÿÿÿ-2ÿ|
        ÿÿ|ÿÿÿMaleÿÿÿÿÿÿÿÿ43ÿÿÿÿÿÿÿÿ30ÿÿÿÿÿÿÿÿÿÿ8ÿÿÿÿÿÿÿÿ20ÿÿÿÿÿÿÿ-12ÿÿÿÿÿÿÿÿÿÿ4ÿÿÿÿÿÿÿÿÿÿ9ÿÿÿÿÿÿÿÿ-10ÿÿÿÿÿÿÿÿ-13ÿ|
        ÿÿ|ÿÿÿMaleÿÿÿÿÿÿÿÿ15ÿÿÿÿÿÿÿÿ15ÿÿÿÿÿÿÿÿÿ12ÿÿÿÿÿÿÿÿ20ÿÿÿÿÿÿÿ-15ÿÿÿÿÿÿÿÿÿÿ6ÿÿÿÿÿÿÿÿÿÿ6ÿÿÿÿÿÿÿÿ-16ÿÿÿÿÿÿÿÿÿÿ1ÿ|
        ÿÿ|ÿÿÿMaleÿÿÿÿÿÿÿÿ40ÿÿÿÿÿÿÿÿ30ÿÿÿÿÿÿÿÿÿ19ÿÿÿÿÿÿÿÿ28ÿÿÿÿÿÿÿÿ-4ÿÿÿÿÿÿÿÿÿÿ0ÿÿÿÿÿÿÿÿÿ20ÿÿÿÿÿÿÿÿ-10ÿÿÿÿÿÿÿÿÿÿ2ÿ|
        ÿÿ|ÿÿÿMaleÿÿÿÿÿÿÿÿÿ8ÿÿÿÿÿÿÿÿ12ÿÿÿÿÿÿÿÿÿÿ8ÿÿÿÿÿÿÿÿ11ÿÿÿÿÿÿÿÿ-2ÿÿÿÿÿÿÿÿÿÿ6ÿÿÿÿÿÿÿÿÿ27ÿÿÿÿÿÿÿÿÿÿ5ÿÿÿÿÿÿÿÿÿ-5ÿ|
        ÿÿ|ÿÿÿMaleÿÿÿÿÿÿÿÿ17ÿÿÿÿÿÿÿÿ17ÿÿÿÿÿÿÿÿÿ15ÿÿÿÿÿÿÿÿ17ÿÿÿÿÿÿÿÿ-6ÿÿÿÿÿÿÿÿÿÿ6ÿÿÿÿÿÿÿÿÿÿ9ÿÿÿÿÿÿÿÿÿ-6ÿÿÿÿÿÿÿÿ-13ÿ|
        ÿÿ|ÿÿÿMaleÿÿÿÿÿÿÿÿ30ÿÿÿÿÿÿÿÿ21ÿÿÿÿÿÿÿÿÿ21ÿÿÿÿÿÿÿÿ15ÿÿÿÿÿÿÿÿ-2ÿÿÿÿÿÿÿÿÿ16ÿÿÿÿÿÿÿÿÿ19ÿÿÿÿÿÿÿÿ-20ÿÿÿÿÿÿÿÿÿÿ3ÿ|
        ÿÿ|ÿÿÿMaleÿÿÿÿÿÿÿÿ34ÿÿÿÿÿÿÿÿ23ÿÿÿÿÿÿÿÿÿ28ÿÿÿÿÿÿÿÿ27ÿÿÿÿÿÿÿÿ-7ÿÿÿÿÿÿÿÿÿÿ7ÿÿÿÿÿÿÿÿÿ12ÿÿÿÿÿÿÿÿ-12ÿÿÿÿÿÿÿÿÿÿ2ÿ|
        ÿÿ|ÿÿÿMaleÿÿÿÿÿÿÿÿ34ÿÿÿÿÿÿÿÿ20ÿÿÿÿÿÿÿÿÿ26ÿÿÿÿÿÿÿÿ24ÿÿÿÿÿÿÿ-10ÿÿÿÿÿÿÿÿÿ12ÿÿÿÿÿÿÿÿÿ12ÿÿÿÿÿÿÿÿÿ-9ÿÿÿÿÿÿÿÿÿÿ4ÿ|
        ÿÿ|ÿÿÿMaleÿÿÿÿÿÿÿÿ26ÿÿÿÿÿÿÿÿ27ÿÿÿÿÿÿÿÿÿ27ÿÿÿÿÿÿÿÿ23ÿÿÿÿÿÿÿ-15ÿÿÿÿÿÿÿÿÿ14ÿÿÿÿÿÿÿÿÿ21ÿÿÿÿÿÿÿÿÿ-6ÿÿÿÿÿÿÿÿÿÿ0ÿ|
        ÿÿ|ÿFemaleÿÿÿÿÿÿÿÿÿ1ÿÿÿÿÿÿÿ-19ÿÿÿÿÿÿÿÿ-10ÿÿÿÿÿÿÿÿ28ÿÿÿÿÿÿÿ-13ÿÿÿÿÿÿÿÿÿ13ÿÿÿÿÿÿÿÿÿ33ÿÿÿÿÿÿÿÿÿ-2ÿÿÿÿÿÿÿÿÿÿ9ÿ|
        ÿÿ|ÿFemaleÿÿÿÿÿÿÿÿÿ7ÿÿÿÿÿÿÿ-18ÿÿÿÿÿÿÿÿÿÿ6ÿÿÿÿÿÿÿÿ26ÿÿÿÿÿÿÿ-16ÿÿÿÿÿÿÿÿÿ19ÿÿÿÿÿÿÿÿÿ23ÿÿÿÿÿÿÿÿ-17ÿÿÿÿÿÿÿÿÿÿ5ÿ|
        ÿÿ|ÿFemaleÿÿÿÿÿÿÿÿ22ÿÿÿÿÿÿÿÿ-8ÿÿÿÿÿÿÿÿÿÿ4ÿÿÿÿÿÿÿÿ34ÿÿÿÿÿÿÿ-23ÿÿÿÿÿÿÿÿÿ14ÿÿÿÿÿÿÿÿÿ21ÿÿÿÿÿÿÿÿ-19ÿÿÿÿÿÿÿÿÿÿ0ÿ|
        ÿÿ|ÿFemaleÿÿÿÿÿÿÿÿ30ÿÿÿÿÿÿÿÿ-6ÿÿÿÿÿÿÿÿÿÿ3ÿÿÿÿÿÿÿÿ32ÿÿÿÿÿÿÿ-22ÿÿÿÿÿÿÿÿÿ21ÿÿÿÿÿÿÿÿÿ17ÿÿÿÿÿÿÿÿ-11ÿÿÿÿÿÿÿÿÿÿ4ÿ|
        ÿÿ|ÿFemaleÿÿÿÿÿÿÿÿ40ÿÿÿÿÿÿÿÿ-6ÿÿÿÿÿÿÿÿÿÿ0ÿÿÿÿÿÿÿÿ24ÿÿÿÿÿÿÿÿ-9ÿÿÿÿÿÿÿÿÿ19ÿÿÿÿÿÿÿÿÿ15ÿÿÿÿÿÿÿÿ-10ÿÿÿÿÿÿÿÿÿÿ2ÿ|
        ÿÿ|ÿFemaleÿÿÿÿÿÿÿÿ15ÿÿÿÿÿÿÿÿ-9ÿÿÿÿÿÿÿÿÿÿ4ÿÿÿÿÿÿÿÿ29ÿÿÿÿÿÿÿ-18ÿÿÿÿÿÿÿÿÿÿ7ÿÿÿÿÿÿÿÿÿ13ÿÿÿÿÿÿÿÿ-17ÿÿÿÿÿÿÿÿÿÿ8ÿ|
        ÿÿ|ÿFemaleÿÿÿÿÿÿÿÿ20ÿÿÿÿÿÿÿ-17ÿÿÿÿÿÿÿÿÿÿ9ÿÿÿÿÿÿÿÿ30ÿÿÿÿÿÿÿ-17ÿÿÿÿÿÿÿÿÿ12ÿÿÿÿÿÿÿÿÿ16ÿÿÿÿÿÿÿÿÿ-4ÿÿÿÿÿÿÿÿÿ10ÿ|
        ÿÿ|ÿFemaleÿÿÿÿÿÿÿÿÿ9ÿÿÿÿÿÿÿ-12ÿÿÿÿÿÿÿÿÿ-5ÿÿÿÿÿÿÿÿ24ÿÿÿÿÿÿÿ-15ÿÿÿÿÿÿÿÿÿ18ÿÿÿÿÿÿÿÿÿ17ÿÿÿÿÿÿÿÿÿ-4ÿÿÿÿÿÿÿÿÿÿ8ÿ|
        ÿÿ|ÿFemaleÿÿÿÿÿÿÿÿ14ÿÿÿÿÿÿÿ-11ÿÿÿÿÿÿÿÿÿÿ7ÿÿÿÿÿÿÿÿ34ÿÿÿÿÿÿÿ-14ÿÿÿÿÿÿÿÿÿ20ÿÿÿÿÿÿÿÿÿ19ÿÿÿÿÿÿÿÿÿ-1ÿÿÿÿÿÿÿÿÿ12ÿ|
        ÿÿ|ÿFemaleÿÿÿÿÿÿÿÿ15ÿÿÿÿÿÿÿÿ-6ÿÿÿÿÿÿÿÿÿ13ÿÿÿÿÿÿÿÿ23ÿÿÿÿÿÿÿ-15ÿÿÿÿÿÿÿÿÿ15ÿÿÿÿÿÿÿÿÿ29ÿÿÿÿÿÿÿÿÿ-1ÿÿÿÿÿÿÿÿÿ10ÿ|
        ÿÿ+-------------------------------------------------------------------------------------------------------+

        .ÿ
        .ÿ//ÿIsÿthereÿaÿsituationÿwithÿSPSSÿandÿanÿeight-characterÿlimit?
        .ÿforeachÿvarÿofÿvarlistÿ*neu*ÿ{
        ÿÿ2.ÿÿÿÿÿÿÿÿÿdisplayÿinÿsmclÿasÿtextÿ"`var',ÿ`=strlen("`var'")'"
        ÿÿ3.ÿ}
        beerneut,ÿ8
        wineneut,ÿ8
        waterneu,ÿ8

        .ÿrenameÿ*neutÿ*neu

        .ÿ
        .ÿgenerateÿbyteÿpidÿ=ÿ_n

        .ÿ
        .ÿquietlyÿreshapeÿlongÿbeerÿwineÿwater,ÿi(pid)ÿj(imagery)ÿstring

        .ÿ
        .ÿrenameÿ(beerÿwineÿwater)ÿsco=

        .ÿ
        .ÿquietlyÿreshapeÿlongÿsco,ÿi(pidÿimagery)ÿj(drink)ÿstring

        .ÿ
        .ÿlabelÿdefineÿImageryÿ2ÿnegÿ0ÿneuÿ1ÿpos

        .ÿencodeÿimagery,ÿgenerate(img)ÿlabel(Imagery)ÿnoextend

        .ÿ
        .ÿlabelÿdefineÿDrinksÿ0ÿwaterÿ1ÿbeerÿ2ÿwine

        .ÿencodeÿdrink,ÿgenerate(dnk)ÿlabel(Drinks)ÿnoextend

        .ÿ
        .ÿquietlyÿcompress

        .ÿ
        .ÿanovaÿscoÿpidÿdnk/dnk|pidÿimg/img|pidÿdnk#img,ÿrepeated(dnkÿimg)

        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿNumberÿofÿobsÿ=ÿÿÿÿÿÿÿÿ180ÿÿÿÿR-squaredÿÿÿÿÿ=ÿÿ0.9313
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿRootÿMSEÿÿÿÿÿÿ=ÿÿÿÿ6.18433ÿÿÿÿAdjÿR-squaredÿ=ÿÿ0.8382

        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿSourceÿ|ÿPartialÿSSÿÿÿÿÿÿÿÿÿdfÿÿÿÿÿÿÿÿÿMSÿÿÿÿÿÿÿÿFÿÿÿÿProb>F
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ-----------+----------------------------------------------------
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿModelÿ|ÿÿ39404.306ÿÿÿÿÿÿÿÿ103ÿÿÿ382.56607ÿÿÿÿÿ10.00ÿÿ0.0000
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ|
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿpidÿ|ÿÿ1920.1056ÿÿÿÿÿÿÿÿÿ19ÿÿÿ101.05819ÿÿÿÿÿÿ0.49ÿÿ0.9493
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿdnkÿ|ÿÿ2092.3444ÿÿÿÿÿÿÿÿÿÿ2ÿÿÿ1046.1722ÿÿÿÿÿÿ5.11ÿÿ0.0109
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿdnk|pidÿ|ÿÿ7785.8778ÿÿÿÿÿÿÿÿÿ38ÿÿÿ204.89152ÿÿ
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ-----------+----------------------------------------------------
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿimgÿ|ÿÿ21628.678ÿÿÿÿÿÿÿÿÿÿ2ÿÿÿ10814.339ÿÿÿÿ122.56ÿÿ0.0000
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿimg|pidÿ|ÿÿ3352.8778ÿÿÿÿÿÿÿÿÿ38ÿÿÿ88.233626ÿÿ
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ-----------+----------------------------------------------------
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿdnk#imgÿ|ÿÿ2624.4222ÿÿÿÿÿÿÿÿÿÿ4ÿÿÿ656.10556ÿÿÿÿÿ17.15ÿÿ0.0000
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ|
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿResidualÿ|ÿÿ2906.6889ÿÿÿÿÿÿÿÿÿ76ÿÿÿ38.245906ÿÿ
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ-----------+----------------------------------------------------
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿTotalÿ|ÿÿ42310.994ÿÿÿÿÿÿÿÿ179ÿÿÿ236.37427ÿÿ


        Between-subjectsÿerrorÿterm:ÿÿpid
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿLevels:ÿÿ20ÿÿÿÿÿÿÿÿ(19ÿdf)
        ÿÿÿÿÿLowestÿb.s.e.ÿvariable:ÿÿpid

        Repeatedÿvariable:ÿdnk
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿHuynh-Feldtÿepsilonÿÿÿÿÿÿÿÿ=ÿÿ0.5907
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿGreenhouse-Geisserÿepsilonÿ=ÿÿ0.5771
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿBox'sÿconservativeÿepsilonÿ=ÿÿ0.5000

        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ------------ÿProbÿ>ÿFÿ------------
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿSourceÿ|ÿÿÿÿÿdfÿÿÿÿÿÿFÿÿÿÿRegularÿÿÿÿH-FÿÿÿÿÿÿG-GÿÿÿÿÿÿBox
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ-----------+----------------------------------------------------
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿdnkÿ|ÿÿÿÿÿÿ2ÿÿÿÿÿ5.11ÿÿÿ0.0109ÿÿÿ0.0288ÿÿÿ0.0298ÿÿÿ0.0358
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿdnk|pidÿ|ÿÿÿÿÿ38
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ----------------------------------------------------------------

        Repeatedÿvariable:ÿimg
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿHuynh-Feldtÿepsilonÿÿÿÿÿÿÿÿ=ÿÿ0.7968
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿGreenhouse-Geisserÿepsilonÿ=ÿÿ0.7474
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿBox'sÿconservativeÿepsilonÿ=ÿÿ0.5000

        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ------------ÿProbÿ>ÿFÿ------------
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿSourceÿ|ÿÿÿÿÿdfÿÿÿÿÿÿFÿÿÿÿRegularÿÿÿÿH-FÿÿÿÿÿÿG-GÿÿÿÿÿÿBox
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ-----------+----------------------------------------------------
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿimgÿ|ÿÿÿÿÿÿ2ÿÿÿ122.56ÿÿÿ0.0000ÿÿÿ0.0000ÿÿÿ0.0000ÿÿÿ0.0000
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿimg|pidÿ|ÿÿÿÿÿ38
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ----------------------------------------------------------------

        Repeatedÿvariables:ÿdnk#img
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿHuynh-Feldtÿepsilonÿÿÿÿÿÿÿÿ=ÿÿ0.9786
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿGreenhouse-Geisserÿepsilonÿ=ÿÿ0.7984
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿBox'sÿconservativeÿepsilonÿ=ÿÿ0.2500

        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ------------ÿProbÿ>ÿFÿ------------
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿSourceÿ|ÿÿÿÿÿdfÿÿÿÿÿÿFÿÿÿÿRegularÿÿÿÿH-FÿÿÿÿÿÿG-GÿÿÿÿÿÿBox
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ-----------+----------------------------------------------------
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿdnk#imgÿ|ÿÿÿÿÿÿ4ÿÿÿÿ17.15ÿÿÿ0.0000ÿÿÿ0.0000ÿÿÿ0.0000ÿÿÿ0.0006
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿResidualÿ|ÿÿÿÿÿ76
        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ----------------------------------------------------------------

        .ÿ
        .ÿexit

        endÿofÿdo-file


        .

        Comment


        • #5
          Hi Joseph,

          Thanks for your help, the syntax produced accurate values. Something I'm struggling with is trying to understand the logic of the error term. Could you explain why the bolded part of the term is incorrect?

          Code:
          anova attitude id drink / drink|id imagery / imagery|id drink#imagery / drink#imagery|id, repeated(drink imagery)
          I would understand this to mean that the interaction of drink and imagery is itself nested within participant ID. But When I include it the model produces the same issue, could you point out my misunderstanding?

          Cheers,

          David.

          Comment


          • #6
            Originally posted by David Speed View Post
            Could you explain why . . . the term is incorrect?
            It's not incorrect. It's redundant.

            anova automatically includes the residual (error) term, and so you shouldn't.

            Comment


            • #7
              Thanks Joseph!

              Comment

              Working...
              X