Friedman test unreplicated complete block design error

后端 未结 6 1992
北海茫月
北海茫月 2021-01-18 15:16

I\'m having trouble running a Friedman test over my data. I\'m trying to run a Friedman test using this command:

friedman.test(mean ~ isi | expId, data=monoS         


        
6条回答
  •  悲哀的现实
    2021-01-18 15:43

    I know this is pretty old but for future generations (see also: me when I forget and google this again):

    You can determine what the missing values are in your dataframe by running table(groups, blocks) or in the case of this question table(monoSum$isi, monoSum$expID). This will return a table of 0s and 1s. This missing records are in the the cells with 0s.

    I ran into this problem after trying to remove the blocks that had incomplete results; taking a subset of the data did not remove the blocks for some reason.

提交回复
热议问题