Multiple regression analysis, categorial variables, continuous variable
Afficher commentaires plus anciens
Hi, I would like to run a multiple regression where my dependent variable is continuous. One of my independent variable is continuous, and the other independent variable is a category (small cap, midcap, largecap). I am not sure how to construct categorical independent variable. Do I have to use dummyvar function or can I just use 0 and 1 (1 for the category that applies to the observation).
Thank you in advance.
Réponse acceptée
Plus de réponses (1)
Catégories
En savoir plus sur Analysis of Variance and Covariance dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!