Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Models that allows quantitative and qualitative variables

    In a rural household’s survey, I am working with Diff.
    I have work with dummies for some topics such as el effect of coffee price crisis.
    However, I would like to add some qualitative variable as the education level
    0. No education
    1. Functional illiteracy
    2. Complete elementary school
    3. High school
    4. Higher education.
    I think it important to include these levels of education and I am NOT agree to convert them in a 1-0 dummy.

    I have been ask to not using regress
    What is the best option of model for using?

  • #2
    Franco:
    welcome to this forum.
    I do not understand why you was told not to use regression.
    That said, the following toy-example might be in line with what you'after:

    Code:
    . set obs 5
    
    . g edu_level=_n-1
    
    . label define edu_level 0 "No education" 1 "Functional illiteracy" 2 "Complete elementary school" 3 "High school" 4 "Higher education"
    
    
    . label val edu_level edu_level
    
    . list
    
         +----------------------------+
         |                  edu_level |
         |----------------------------|
      1. |               No education |
      2. |      Functional illiteracy |
      3. | Complete elementary school |
      4. |                High school |
      5. |           Higher education |
         +----------------------------+
    
    .
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment

    Working...
    X