| Variable name | Original value of the variable | Variable type | Quantitative value of the variable |
| Location (C1) | Huangpu, Jingan, Xuhui, Pudong, Changning, Hongkou, Yangpu, Putuo, Minhang, Baoshang, Jiading, Qingpu, Fengxian, Jinshan, Songjiang | Character classification | Assign 1 to 15, respectively | Transportation convenience (C2) | It is (1) within 500 meters from the subway, (2) between 500 and 1000 meters away, (3) 1000–1500 meters away, (4) 500–2000 meters away, and (5) 2000 meters and above away. | Character classification | Assign 1 to 5, respectively | Rent (C3) | Rent value | Numerical quantification | — | Living room (C4) | One room to four or more rooms | Character classification | Assign 1 to 5, respectively | Appliances (C5) | No, simple furniture, home appliances, basic configuration, complete equipment, full-fit | Character classification | Assign 1 to 5, respectively | Decoration degree (C6) | Blank, simple decoration, medium decoration, fine decoration, luxury decoration | Character classification | Assign 1 to 5, respectively | Online ratings (C7) | Low, average, good, excellent, excellent | Character classification | Assign 1 to 5, respectively |
|
|