I am trying to do a regression in R using the lm
and the glm
function.
My dependent variable is logit transformed data based on proportion of events over non-events within a given time period. So my dependent variable is continuous whereas my independent variable are factor variable or dummies.
I have two independent variables that can take the values of
- Year i to year m, my YEAR variable
- Month j to month n, my MONTH variable
The problem is that whenever I run my model as summaries the results April(index 1 for month) and 1998 (index 1 for year) is not within the results... if I change April to let's say "foo_bar", August will be missing...
Please help! This is frustrating me and I simply do not know how to search for a solution to the problem.