Announcement

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

  • Table1 error

    Hey everyone I am very new to STATA so bear with me.

    I am trying to create a table1 for my dataset using the "ssc install table1" package
    I believe I am using the right syntax but whenever I try to generate a table I keep getting the same error:

    when I type:


    ssc install table1
    table1, by(catsna) vars(confusion1 bin \ sex bin)

    I get this error:

    invalid '''
    r(198);



    In this case, "catsna" is a variable that created that divides sodium into 4 quantiles and confusion1 is a binary variable in the dataset. I have played around with different variables but to no avail. Does anyone else know why I keep getting this error?

    Thanks again and I appreciate any help on this issue.
Working...
X