Hello everyone,
I know, this is not a question referring to Stata directly, but maybe someone can help me out nevertheless. Thank you in advance!
I want to conduct a logistic regression, predicting the buying intent with the variables income, age and household size.
In my data however, those three independent variables are (ordinally?) scaled, as follows:
income: 0-1000;10000-20000;20000-30000;30000-40000;40000-50000;50000-60000;60000-70000;70000-80000;80000-90000;90000-100000
age: <20;20-30;30-40;40-50;50-60;60-70;>70
Household size: 1;2;3;4;5;>5
how do I correctly transform these variables so that i can use them in my regression?
My approach was to create a variable for age that ranges from 1-7; a variable for income that ranges from 1-10, etc,, representing each respective interval.
Is this even a correct way to do this? Maybe someone here can help me.
Best regards
Chris
Related Posts with Interval Scaled Independent Variables
Testing for significant differences between the betas of two FE model specifications without using an interaction termGood morning all, I am using 2-wave panel data and a standard fixed effects model to estimate the m…
how to count numbers of households expose to a specific shock?Dear all, I need your help in the following issue in coding my data. I have a data set for a year …
FMM predictive accuracy measuresDear STATA list members, I'm using the STATA command fmm to fit a 2-component normal mixture model …
missing option in proportion commandHello everyone, I am having a problem switching to STATA 14 to 16 Command proportion does not have…
First Difference of a Variable with RangestatHi, Is it possible to take the first difference (x - x[_n-1]) of a variable using Rangestat or with …
Subscribe to:
Post Comments (Atom)
0 Response to Interval Scaled Independent Variables
Post a Comment