+ Reply to Thread
Results 1 to 2 of 2

Thread: question about data description

  1. #1
    Points: 4, Level: 1
    Level completed: 7%, Points required for next Level: 46

    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    question about data description




    Dear forum members,

    I have a tibble called smoke, containing 300 rows (one row for each subject) and two variables (group and race.) Group takes the values smoker, non-smoker or quit and race takes the values White, Black, Hispanic, Asian. I want to write a single line of R code which will yield an appropriate description of the relationship between smoking group and race.

    I would really appreciate your input.

    Ricky

  2. #2
    TS Contributor
    Points: 12,287, Level: 72
    Level completed: 60%, Points required for next Level: 163
    rogojel's Avatar
    Location
    I work in Europe, live in Hungary
    Posts
    1,471
    Thanks
    160
    Thanked 332 Times in 312 Posts

    Re: question about data description


    why a single line? Anyway it could look like summary(glm(....., family="binomial")) - logistic regression.

    regards

+ Reply to Thread

           




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats