Hello,

I'm new to the list so apologies for posting a basic question. Until the latest update of STATA, I've been able to figure out how to do a repeated-measures analysis without getting this error:
could not determine between-subject error term; use bse() option

Now I'm getting it again and can't figure out how to change the syntax. I'm pretty sure I've read every post in this forum on the bseunit/bse error, as well the user manual, the help menus, and whatever I can find online, and am still stuck.

It's an experiment where each person saw 4 types of stimuli (the category variable), and each type had a number of items. The dataset is too large to paste here, so below are the first two participants. There are different numbers of items in each category, but I didn't think that would matter.

Our research question is whether there is an effect of category. We don't need effects of items, but I put them in the model.

I initially thought it would be:

anova score category item, repeated(category)

but that generates the error. Ditto with adding a bse or bseunit.

Thanks in advance for any advice!

Participant Category Item Difference
1 1 1 0
1 1 2 1
1 1 3 2
1 1 4 2
1 1 5 1
1 1 6 2
1 1 7 1
1 2 1 0
1 2 2 3
1 2 3 2
1 2 4 2
1 2 5 1
1 2 6 0
1 2 7 0
1 2 8 2
1 2 9 2
1 3 1 0
1 3 2 2
1 3 3 2
1 3 4 2
1 3 5 1
1 3 6 1
1 3 7 2
1 3 8 2
1 3 9 1
1 3 10 2
1 4 1 2
1 4 2 2
1 4 3 2
1 4 4 1
1 4 5 1
1 4 6 1
1 4 7 1
1 4 8 2
1 4 9 2
1 4 10 2
1 5 1 2
1 5 2 1
1 5 3 1
1 5 4 1
1 5 5 2
1 5 6 2
1 5 7 1
1 5 8 1
1 5 9 2
1 5 10 2
2 1 1 1
2 1 2 3
2 1 3 0
2 1 4 2
2 1 5 1
2 1 6 1
2 1 7 3
2 2 1 3
2 2 2 1
2 2 3 0
2 2 4 1
2 2 5 0
2 2 6 2
2 2 7 1
2 2 8 1
2 2 9 1
2 3 1 2
2 3 2 2
2 3 3 0
2 3 4 2
2 3 5 0
2 3 6 2
2 3 7 2
2 3 8 3
2 3 9 1
2 3 10 1
2 4 1 1
2 4 2 1
2 4 3 1
2 4 4 2
2 4 5 1
2 4 6 1
2 4 7 0
2 4 8 1
2 4 9 2
2 4 10 1
2 5 1 2
2 5 2 2
2 5 3 1
2 5 4 1
2 5 5 2
2 5 6 2
2 5 7 2
2 5 8 1
2 5 9 2
2 5 10 1