Dr.Andrew,Thank you very much for the response. To calculate regression coefficients(or correlation coefficient) we require data of two variables.But if I have data for one variable and the other is an attribute for which a continous scale of values need to be given. So now in such a situation is it possible to calculate regression coeffcient or correlation coefficient?
If you claim that your attribute variable is you factor and your continuous variable is your response, you can use ANOVA analysis.
If you claim your continuous variable is your factor and your response is the attribute, then you can use a Logistic Regression. Depending upon your attributes, you will use either an ordinal or nominal logistic regression.