Recent content by Dason

  1. Dason

    Iterating in R

    purrr is way too advanced for the task you described. But I'd also suggest using NA instead of a large indicator value for the recode value. You could do the recode on all columns you want simultaneously very easily using base R.
  2. Dason

    AIC in ARIMA

    As I've said in the chatroom a few times - AIC doesn't require nested models to just use it as a comparison value. The differencing matters because it fundamentally changes what you're modeling - not just what parameters you're using and how many. A quote from Rob Hyndman (link posted below)...
  3. Dason

    AIC in ARIMA

    Where does it say they are nested? They say exactly what they're doing and all the models use the same value for d. They don't say they're running an F test - just that they choose the model with the best AIC.
  4. Dason


    True. However I will personally destroy you if you guess incorrectly. Best of luck. Or else.
  5. Dason


    If you want to post the questions here that's fine. All we ask us to follow the common etiquite of posting a link to where you first asked the question.
  6. Dason

    AIC in ARIMA

    But if you're using different values for d then you're fundamentally changing what you're modeling and comparing doesn't make sense.
  7. Dason

    AIC in ARIMA

    Aic of course
  8. Dason

    Beta Regression?

    Can you tell us more about the dependent variable
  9. Dason

    normal distribution

    Thanks! I hope you stick around to help with more questions. I wouldn't be offended if the OP doesn't respond to a response to a year and a half old question though. But we still appreciate the input.
  10. Dason

    Genomic screen- Benjamini–Hochberg procedure

    I don't quite get what you're doing. What are you trying to get that p.adjust doesn't already provide?
  11. Dason

    sas function that works with date variables

    I don't actually trust you when you guarantee that those are dates.
  12. Dason

    How to interpret the odds ratio (exp(b)) with a continuous dependent variable?

    Logistic regression is a generalized linear model which uses the bernoulli distribution as the response family and the logit as the link function.
  13. Dason

    Using Apache Commons T Distribution cumulative probability to find p given DF and t Value

    All of your code is correct. I would offer a few suggestions though. You already have the getPLessThan and getPMoreThan functions - why not utilize those in your getPTwoTailed function instead of duplicating the logic? You can also take the absolute value of the tValue and just do...
  14. Dason

    Which statistical test do I use?

    Just to confirm - you have access to the raw data and not just the means right?