I am aware that having too many categorical variables in the regression model might affect degree of freedom, especially when we have a small sample size, so we should avoid it.
My questions as follow:
1) What is the effect of having too many categorical variables in the regression? Does it mean we can't trust the results?
2) Does this apply to the logistic regression model as well?
3) Any way to detect this in Stata? What would be the command?
I am currently conducting a binary regression analysis with a very small sample size, 260 samples.
I have 11-14 independent variables and most of them are categorical variables.
I am concerned my model has errors, and I want to correct it.
Could anyone give me answers to these questions?
You can answer one or two. You don't have to answer to all. It will be very appreciated..!
Related Posts with How do I detect if I have problem with my degree of freedom due to too many categorical variables in my regression model?
Compute the solution to the dual problem using LinearProgram() classHi! First of all, happy new year to everyone reading this post! I am fairly new to Mata and am usi…
Dealing with log-binomial convergence problemHi everyone I am looking for a way to change the "weight function of pi" [1/(1-Pi)] in the GLM mode…
Testing difference between variances of two variables from the same populationGreetings, For a methodological framework I am developing, I need to test the difference between var…
Esttab formatting to numbers in excel fileHi Statalist, I am using esttab from SSC in Stata 16.1 to make summary tables of tab (percents) in …
How many variables are necessary to carry out a logistic regression?Is it possible with only 2 events in the group of exposed (n=5) and 32 in the group of non-exposed (…
Subscribe to:
Post Comments (Atom)
0 Response to How do I detect if I have problem with my degree of freedom due to too many categorical variables in my regression model?
Post a Comment