Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65121

Test for linearity for dummy variables

$
0
0
Hi everyone,

I want to make a test for linearity.
Therefore I used the
Code:
acprplot
command, which works fine for continous variables.
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
With a bunch of dummy variables

Viewing all articles
Browse latest Browse all 65121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>