Good morning,
I'm writing one thesis about the education effects on multi-ethnic population in Milan.

I would like to make a regression with the following formula:

ln(W)= B0 + B1 school years + B2 experience + B3 experience^2

My salary variable W is expressed in categories (ex. from 10.000 euros to 20.000 euros; from 20.000 euros to 30.000 euros...).


How could I write the code in Stata? (I started to use the software one month ago and I'm not very pratical)

Thank you for your help, Nicholas.