Nayef
• Member for 7 years, 2 months
• Last seen this week

20 views

When using LASSO, you do not need to drop one level from your categorical variable. The practice of dropping a level is known as dummy coding. Here are a couple of references that say that dummy ...

35 views

I'm not sure why you would start with the assumption that b doesn't exist. Regardless of whether or not the relationship between Y and the X variables is linear, it is usually possible to find a value ...

41 views

As @whuber mentioned, this is censored data. The lifelines python library is a very good one for survival analysis. It has excellent documentation that is a good place to start learning about the ...

1k views

This is not directly related to the specific test used, but it's worth being aware of the problem of "double dipping", and if necessary correcting for it. In this case you are double dipping ...

123 views

To answer the question, no I don't think this means you are doing something wrong. In fact, I think this is a good demonstration of why it's useful to fit many regression models when exploring data. ...

84 views

Just to clarify, can we rephrase the question as follows: "Why is the conditional hazard used as the response in the Cox model?" In which case, I would say that the answer is that this is an ...

26 views

Speed limit could be treated as either continuous or categorical. It depends on the purpose of the model, and your expectations of how it will be applied. Let's say all the road segments in your data ...

50 views

I think there might be some other issues related to the interpretation of these sequential test results, but one small suggestion is that you could use the Bonferroni correction to reduce the number ...

39 views

The only continuous distribution that is memoryless is the exponential distribution. Similarly, the only discrete distribution that is memoryless is the geometric distribution. If you plot your data ...

154 views

The parameters of the binomial distribution are n, the number of independent trials and p, the probability of success on each trial. So here, the three in the second experiment means that three balls ...

141 views

Here are a couple of papers that suggest that hypothesis tests and p-values are not entirely appropriate without randomization. I've included excerpts from the abstracts of each one as well. Can p-...

122k views

The most accessible exploration of the impact of non-normal errors that I have found is this paper by Schmidt and Finan. Here is the summary of the results in the abstract: Although outcome ...

34 views

You could use time series regression, and test whether the slope/trend has a significant coefficient after accounting for months. This page might be a good place for more details.

40 views

I think this chapter could be quite helpful to you: http://peopleanalytics-regression-book.org/survival.html. It focuses specifically on HR-related analyses, which should translate to what you are ...

23 views

Let X be the original list. If I understand correctly, you want to split X into X1 and X2, which have the same word frequency distributions. You can first get the word frequency distribution of X. ...

18 views

It sounds like you're looking for a quantile test. A quick search led to this: https://www.jstor.org/stable/2673594?seq=1 I'm sure there are other tests in this category. In your case, the null ...

125 views

This post may be helpful: https://www.johndcook.com/blog/2018/05/11/two-sample-t-test/ It shows that when you sample from populations that are non-normal, but symmetric and with tails that aren't too ...

18k views