Recent content by Dason

  1. Dason

    How can I report common strings in array/dataframe

    Can you provide an example of what you want?
  2. Dason

    How can I report common strings in array/dataframe

    Ok - I see what you're doing now. You want to find the common intersection of elements over all the columns. > # making some fake data > dat <- data.frame(a = letters[1:5], b = letters[2:6], c = letters[3:7]) > dat a b c 1 a b c 2 b c d 3 c d e 4 d e f 5 e f g > # for a single pair...
  3. Dason

    How can I report common strings in array/dataframe

    You'll need to be more specific. Are you looking to do this on a per column basis? Do you want to ignore the columns and treat all if the data combined? Maybe you're interested in unique rows? You didn't provide enough info in your post to know for sure.
  4. Dason

    ERROR: Row or column names must be character

    Boo.
  5. Dason

    Strange results of logistic regression

    Is the p-value for the interaction the same in both cases
  6. Dason

    Share your functions & code

    This wasn't really a TIL but it's also RStudio specific. But there are a few examples of some helpful snippets you could include in RStudio to make your life easier - I'm too lazy to list them out so check out the blog posting https://jozefhajnala.gitlab.io/r/r906-rstudio-snippets/
  7. Dason

    Granular p-values

    What context are you seeing this be discussed
  8. Dason

    'relative difference' as dependent variable

    What does the originally data look like? Do you have access to the original data?
  9. Dason

    Approximate 95% confidence interval- Practice exam question

    I think C would be the typical answer if not for the word "approximate". That alone makes me think they want them to use 2 instead of the slightly more exact 1.96 when constructing the interval and in using 2 that does lead to (D).
  10. Dason

    Skewness coefficients

    I don't understand - if you're fitting with a normal distribution then there isn't any skew being modeled.
  11. Dason

    Please help with the following question

    Not quite. What are you using for the distribution of the sum
  12. Dason

    Please help with the following question

    Do you know how to find the distribution of the sum of normally distributed random variables
  13. Dason

    Please help with the following question

    Hint: start by using the info provided to figure out the standard deviation for one link
  14. Dason

    Summing number of "successes" over multiple related binary variables for a patient

    For ten variables? Probably just easiest to treat each one on a case by case basis
  15. Dason

    Can you help me with this question

    I'm not so sure about that. But that's partially because the original post is hard to follow. From the description it seems like multinomial might be more appropriate?