I am working with data that consist of 15 variables or so. One of the variables is typeofdwelling (what type of house it is), within this variable there is 4 type of dwelling (house) Apartment, Attached house, Detached house, and Semi-detached house. So when I run the ln regression I only get typeofdwelling for 3 of the types. Apartment is missing, at first I thought this might be due to the fact there was a space before the word "apartment" in the excel file. I fixed this and then apartment showed up on the regression. However, this time semi-detached house was gone. So i check if there was the same problem in the excel file with this one also, and it was. I fixed it and ran the regression again. This time it went back and apartment was gone again.
the code i am running is this, and what i get is the second picture.
dput(yourdata)