I need to calculate ICC (absolute agreement) between the step counts from physical activity monitors (trackers) and the actual steps taken. I can find valid arguments for ICC(1,1,) and ICC (2,1), but I am leaning towards two-way random effects absolute agreement single rater (ICC2,1).
The actual steps taken were visually counted (averaged between two counters and defined as the criterion).
Each subject walked for six minutes wearing two monitors. n=103 giving 206 monitor measurements.
My data looks like this:
monitor_nr: monitor 1 og monitor 2
ID: subject ID
Criterion_target: actual steps taken
monitor_measure: monitor measured steps
------------------ copy up to and including the previous line ------------------
I have tried this command for the one-way model
And this command for the two-way model
Can anybody help me with this?
Thank you all for your help
The actual steps taken were visually counted (averaged between two counters and defined as the criterion).
Each subject walked for six minutes wearing two monitors. n=103 giving 206 monitor measurements.
My data looks like this:
monitor_nr: monitor 1 og monitor 2
ID: subject ID
Criterion_target: actual steps taken
monitor_measure: monitor measured steps
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input byte monitor_nr int ID double Criterion_target int monitor_measure 1 1 486 450 1 2 489 457 1 3 533 551 1 4 706 682 1 5 677 694 1 6 635 665 1 7 482 55 1 8 635 590 1 9 582 554 1 10 517 512 1 11 624 672 1 12 555 612 1 13 532 94 1 14 643 652 1 15 520 493 1 16 612 612 1 17 656 671 1 18 591 599 1 19 589 523 1 20 619 621 1 21 586 593 1 22 639 650 1 23 427 346 1 24 560.5 558 1 25 424 0 1 26 638 620 1 27 645 657 1 28 229 50 1 29 490 498 1 30 592 579 1 31 655 664 1 32 584 562 1 33 529 540 1 34 570 477 1 35 661 551 1 36 518 472 1 37 569 602 1 38 632 626 1 39 397 125 1 40 451 185 1 41 449 369 1 42 680 694 1 43 551 580 1 44 589 600 1 45 574 576 1 46 630 646 1 47 521 517 1 48 527 555 1 49 633 631 1 50 658 640 1 51 607 576 1 52 576 590 1 53 636 655 1 54 589 583 1 55 593 604 1 56 593 568 1 57 505 516 1 58 217 0 1 59 603 590 1 60 513 466 1 61 455 468 1 62 637 681 1 63 437 387 1 64 435 365 1 65 680 706 1 66 467 445 1 67 581 541 1 68 624 590 1 69 387 53 1 70 611 618 1 71 365 0 1 72 642 649 1 73 669 679 1 74 639 668 1 75 689 724 1 76 640 640 1 77 767 803 1 78 520 502 1 79 313 99 1 80 506 447 1 81 531 524 1 82 641 670 1 83 664.5 659 1 84 676 713 1 85 498 511 1 86 601 562 1 87 458 349 1 88 510 462 1 89 697 706 1 90 575 598 1 91 528 126 1 92 398 331 1 93 467 416 1 94 674 709 1 95 315.5 595 1 96 427 34 1 97 550 609 1 98 648 649 1 99 802 832 1 100 294 32 1 101 537 386 1 102 478 88 1 103 465 372 2 1 486 462 2 2 489 483 2 3 533 527 2 4 706 710 2 5 677 690 2 6 635 623 2 7 482 388 2 8 635 595 2 9 582 561 2 10 517 508 2 11 624 624 2 12 555 561 2 13 532 481 2 14 643 649 2 15 520 502 2 16 612 638 2 17 656 665 2 18 591 597 2 19 589 565 2 20 619 611 2 21 586 592 2 22 639 623 2 23 427 351 2 24 560.5 584 2 25 424 414 2 26 638 640 2 27 645 647 2 28 229 0 2 29 490 485 2 30 592 427 2 31 655 653 2 32 584 586 2 33 529 541 2 34 570 521 2 35 661 508 2 36 518 488 2 37 569 584 2 38 632 632 2 39 397 367 2 40 451 345 2 41 449 460 2 42 680 706 2 43 551 593 2 44 589 605 2 45 574 613 2 46 630 611 2 47 521 525 2 48 527 567 2 49 633 642 2 50 658 653 2 51 607 588 2 52 576 577 2 53 636 644 2 54 589 566 2 55 593 578 2 56 593 581 2 57 505 496 2 58 217 237 2 59 603 600 2 60 513 503 2 61 455 396 2 62 637 725 2 63 437 433 2 64 435 405 2 65 680 712 2 66 467 266 2 67 581 501 2 68 624 587 2 69 387 332 2 70 611 636 2 71 365 120 2 72 642 643 2 73 669 671 2 74 639 656 2 75 689 740 2 76 640 633 2 77 767 774 2 78 520 445 2 79 313 61 2 80 506 512 2 81 531 313 2 82 641 664 2 83 664.5 651 2 84 676 704 2 85 498 441 2 86 601 620 2 87 458 259 2 88 510 368 2 89 697 674 2 90 575 682 2 91 528 506 2 92 398 435 2 93 467 443 2 94 674 642 2 95 315.5 596 2 96 427 250 2 97 550 610 2 98 648 616 2 99 802 845 2 100 294 36 2 101 537 572 2 102 478 424 2 103 465 315 end
I have tried this command for the one-way model
Code:
. icc monitor_measure Criterion_target (92 targets omitted from computation because of unbalanced data) insufficient number of targets
Code:
. icc monitor_measure Criterion_target monitor_nr multiple observations per target and rater not allowed
Can anybody help me with this?
Thank you all for your help

Comment