Announcement

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

  • How to write the commands in STATA with nested/repeated factors?

    Hi!

    Could anyone help me in creating a model in STATA for my research project?

    I have subjects who performed more steps at different speeds. Subjects are divided in groups (see below the table).

    Do you know a model in STATA?

    Is it possible to use the variable speed as a continuous variable instead of categorical?



    Steps Speed Subjects Groups Dependent Variable
    1 1 1 1 0.
    2 1 1 1
    3 1 1 1
    4 1 1 1
    1 0 1 1
    2 0 1 1
    3 0 1 1
    4 0 1 1
    1 1 2 1
    2 1 2 1
    3 1 2 1
    4 1 2 1
    1 0 2 1
    2 0 2 1
    3 0 2 1
    4 0 2 1
    1 1 1 2
    2 1 1 2
    3 1 1 2
    4 1 1 2
    1 0 1 2
    2 0 1 2
    3 0 1 2
    4 0 1 2
    1 1 2 2
    2 1 2 2
    3 1 2 2
    4 1 2 2
    1 0 2 2
    2 0 2 2
    3 0 2 2
    4 0 2 2

    Thank you very much

    Chiara

Working...
X