# linear regression: y "percent", x "year"?

Is "year" as discrete or continuous variable..?

is it proper to use linear regression with "year" (every year from 2009 to 2014) on the x axis and "percent" on the y axis..?

Simple question from a beginner..

• Such a model would almost certainly yield nonsense predictions (percentages outside of [0, 100]) when given years far in the future. Does that matter for your application? Commented May 24, 2015 at 16:58
• No I don't think so. I just want to show downward trend in students' attendance in a university class from 2009 to 2014. Every class has about 70 - 100 students' in all. Commented May 24, 2015 at 17:06

Perhaps you would like to try a transformation of the dependent variable. A useful transformation for your case, might be the logit. That is, your new response would be $Y^{\prime}=\log\frac{Y}{1-Y}$. The new variable will not be bounded and you can apply the usual regression techniques. Assuming of course, the original percentages are not close to either zero or one. If they are, then the transformation will return infinite values.