# Help writing covariates into regression formula

Can someone take a shot at writing a formula using covariates into a linear regression formula? I need some feedback to see if I am on the right track. Much appreciated!

Here are my basic ingredients:

• Dependent variable = % change in charter school enrollment
• Independent variable = dissimilarity index score represented as a percent
• covariate = % private school enrollment
• covariate = school type (coded by number)
• covariate = year
• covariate = % special ed enrollment
• covariate = % ELL enrollment
• covariate = % nonwhite students
• What is your research question; and what theory is there to help in choice of variables or point out the relevant things to check for in advance? And what do you see as the difference between an "independent variable" and a "covariate" (because there isn't any, statistically - they will all just form explanatory variables in your model in the end). What is your unit of analysis - school? district? If it is school, how can you have values both for private school enrollement and charter school? If it is district, how can you have a variable for school type? Commented Jun 27, 2013 at 5:33