Skip to content
Prev 363182 / 398503 Next

Creating Dummy Var in R for regression?

Thanks you all for the assistance. This really helps.

Hi Bert: While searching nabble i got to know R with factors variables
there is no need to create dummy variable. However please consider this
situation:
I am in the process of building a logistic regression model on NPS data.
The outcome variable is CE i.e. customer experience which has 3 rating so
ordinal logistic regression will be used. However most of my variables are
categorical. For instance one of the variable is agent knowledge which is a
10 point scale.

This agent knowledge is again a 3 rated scale: high medium low hence i need
to group these 10 values into 3 groups & then as you suggested i can
directly enter them in the model without creating n-1 categories.

I have worked on SAS extensively hence found this a bit confusing.

Thanks for the help.
On Sat, Aug 6, 2016 at 2:30 AM, Bert Gunter <bgunter.4567 at gmail.com> wrote: