Hi everyone,
I want to make a test for linearity.
Therefore I used the
command, which works fine for continous variables.
However if I try to plot dummy variables, Stata is telling me
.
I get why Stata is telling me that, but I still think that I have to test for linearity for those dummy variables.
Does anyone can suggest any other command?
That´s my code so fare
With a bunch of dummy variables
I want to make a test for linearity.
Therefore I used the
Code:
acprplot
However if I try to plot dummy variables, Stata is telling me
nonwhite^2 is collinear with nonwhite
I get why Stata is telling me that, but I still think that I have to test for linearity for those dummy variables.
Does anyone can suggest any other command?
That´s my code so fare
Code:
reg lwage female educ tenure nonwhite construc ndurman trcommpu trade services profserv profocc clerocc acprplot nonwhite, lowess