Tag Info

1 vote

• 101

How to consider time from vaccination on final outbreak size

If Vax represents a fraction of individuals vaccinated in a facility The time since vaccination might be considered a moderator of the effect of vaccination, ...
• 66.3k

Data points for some control variables missing in regression - still feasible?

As dipetkov says, multiple-imputation is the best solution here. And imputing binary and categorical variables is both reasonable and quite feasible. This is a vignette that shows how to do this in ...
• 13.2k
1 vote

Add a covariate as an additional independent variable, an interaction, or a random intercept?

To give an authoritative answer about the best way to model this would require some subject knowledge, because causal pathways can be complex. But based on the information you have presented, the ...
• 13.2k

Can I use both Spearman's rank correlations and multiple linear regression on the same data?

If you have ordinal outcome data, why not use ordinal regression? Frank Harrell has some useful links in this answer. The lrm() and ...
• 66.3k
1 vote

How to modify a coefficient in a linear regression

Processes that reduce the magnitude of coefficients are called "regularization". Normally, though, you decide what regularization to do before performing the regression, rather than looking ...
• 3,938
Accepted

How to modify a coefficient in a linear regression

It is possible to fix a coefficient at any value, though that would be dubious without a strong justification (such as a known physical constant). Omitting the variable would be the same as fixing its ...
• 13.2k

Why is a "Correction" Required in Multiple Hypothesis Testing?

There is a lot of arbitrariness in certain statistical practices. As other responses and previous discussions in the literature point out, it's very hard to justify the tradition that you correct for ...
• 23.4k

Why is a "Correction" Required in Multiple Hypothesis Testing?

I'm frequently asked when multiple comparison adjustment should be used. Then I start talking about false discovery rate, type-I errors and so on, to conclude that I was not fully understood. So I ...
• 3,851

Why is a "Correction" Required in Multiple Hypothesis Testing?

This is a tricky topic: when exactly do you correct for multiple testing? The two extremes are both problematic: never correcting for multiple testing will result in too many false positives, always ...
• 518
Accepted

Inclusion of polynomial term in multiple linear regression

I suppose you use a ordinary least square (OLS) model to find the average effect of some $x$ on some outcome $y$? In order to see if some additional variable (or transformation) like $x^2$ benefits ...
• 216

Is one-hot encoding required for a binary categorical variable?

Both models will yield exactly the same predictions -- but they might be harder to interpret than standard encodings. Let's look at them. Please note, though, that by "binary categorical ...
• 293k
1 vote

Is one-hot encoding required for a binary categorical variable?

@Tim, I think both would give same performance because: Rationale#1:Mathematically, there's enough room for parameter to adjust (to give same y value). Rationale#...
• 151
1 vote

Should I include IVs in my Regression model if my DV is based on them?

The percentile ranks for each variable mean approximately the same thing as the original variables; they carry almost the same information. If all of the 7 categories are used for each measure and you ...
• 23.3k

Top 50 recent answers are included