Hello. I have an assignment from Stata. I am beginner in this field and don't know the profound using of Stata so much.
Assignmnet:
Create a fully labeled version of mpg(mileage), where the values have been classified according to the following table.
category: mpg:
low mileage >28
medium mileage 22-28
high mileage 18-21
bad mileage <=17
If i am not mistaken, the command should be written in that form.
label define mpg > 28 "low mileage" 22 - 28 "medium mileage" 18 - 21 "high mileage" <= 17 "bad mileage"
I have tried to write it in this form, but didn't get successful results.
Just will be glad to get any help and suggestions regarding this issue. Thanks.
Assignmnet:
Create a fully labeled version of mpg(mileage), where the values have been classified according to the following table.
category: mpg:
low mileage >28
medium mileage 22-28
high mileage 18-21
bad mileage <=17
If i am not mistaken, the command should be written in that form.
label define mpg > 28 "low mileage" 22 - 28 "medium mileage" 18 - 21 "high mileage" <= 17 "bad mileage"
I have tried to write it in this form, but didn't get successful results.
Just will be glad to get any help and suggestions regarding this issue. Thanks.
Comment