Hi all,
I'm running a regression on a model which only includes explanatory variables that are dummy variables for string data. I encoded these string data and had no issue. When I try to run a regression or pwcorr using a single factor variable for the dummy variables of each category I am given an error stating that "factor variable operators not allowed" From other forum posts and online resources I was under the impression I should be able to do so. This is an issue for me because there are approximately 65 dummy variables so running a regression or (especially) pwcorr generates a very large amount of data.
edit: I can successfully run both reg and pwcorr including all the dummy variables in the command, but I'm looking for a way to clean my data up a bit.
I'd appreciate any input or direction you're willing to offer.
Thanks!
I'm running a regression on a model which only includes explanatory variables that are dummy variables for string data. I encoded these string data and had no issue. When I try to run a regression or pwcorr using a single factor variable for the dummy variables of each category I am given an error stating that "factor variable operators not allowed" From other forum posts and online resources I was under the impression I should be able to do so. This is an issue for me because there are approximately 65 dummy variables so running a regression or (especially) pwcorr generates a very large amount of data.
edit: I can successfully run both reg and pwcorr including all the dummy variables in the command, but I'm looking for a way to clean my data up a bit.
I'd appreciate any input or direction you're willing to offer.
Thanks!
Comment