Вы находитесь на странице: 1из 2

gen appearK2 = 0 if appearK!=.

replace appearK2=1 if appearK>5 & appearK!=.


gen appearR2 = 0 if appearR!=.
replace appearR2=1 if appearR>5 & appearR!=.
gen appearLK2 = 0 if appearLK!=.
replace appearLK2=1 if appearLK>5 & appearLK!=.
gen colourK2 = 0 if colourK!=.
replace colourK2=1 if colourK==4 & colourK!=.
gen colourR2 = 0 if colourR!=.
replace colourR2=1 if colourR==4 & colourR!=.
gen colourLK2 = 0 if colourLK!=.
replace colourLK2=1 if colourLK==4 & colourLK!=.
gen smellK2 = 0 if smellK!=.
replace smellK2=1 if smellK>5 & smellK!=.
gen smellR2 = 0 if smellR!=.
replace smellR2=1 if smellR>5 & smellR!=.
gen smellLK2 = 0 if smellLK!=.
replace smellLK2=1 if smellLK>5 & smellLK!=.
gen oratetasteK2 = 0 if oratetasteK!=.
replace oratetasteK2=1 if oratetasteK>5 & oratetasteK!=.
gen oratetasteR2 = 0 if oratetasteR!=.
replace oratetasteR2=1 if oratetasteR>5 & oratetasteR!=.
gen oratetasteLK2 = 0 if oratetasteLK!=.
replace oratetasteLK2=1 if oratetasteLK>5 & oratetasteLK!=.
gen otasteK2 = 0 if otasteK!=.
replace otasteK2=1 if otasteK>5 & otasteK!=.
gen otasteR2 = 0 if otasteR!=.
replace otasteR2=1 if otasteR>5 & otasteR!=.
gen otasteLK2 = 0 if otasteLK!=.
replace otasteLK2=1 if otasteLK>5 & otasteLK!=.
gen atasteK2 = 0 if atasteK!=.
replace atasteK2=1 if atasteK>5 & atasteK!=.
gen atasteR2 = 0 if atasteR!=.
replace atasteR2=1 if atasteR>5 & atasteR!=.
gen atasteLK2 = 0 if atasteLK!=.
replace atasteLK2=1 if atasteLK>5 & atasteLK!=.
gen throatK2 = 0 if throatK!=.
replace throatK2=1 if throatK>5 & throatK!=.
gen throatR2 = 0 if throatR!=.
replace throatR2=1 if throatR>5 & throatR!=.
gen throatLK2 = 0 if throatLK!=.
replace throatLK2=1 if throatLK>5 & throatLK!=.
gen sweetK2 = 0 if sweetK!=.
replace sweetK2=1 if sweetK==4 & sweetK!=.
gen sweetR2 = 0 if sweetR!=.
replace sweetR2=1 if sweetR==4 & sweetR!=.
gen sweetLK2 = 0 if sweetLK!=.
replace sweetLK2=1 if sweetLK==4 & sweetLK!=.
gen bitterK2 = 0 if bitterK!=.
replace bitterK2=1 if bitterK==4 & bitterK!=.
gen bitterR2 = 0 if bitterR!=.
replace bitterR2=1 if bitterR==4 & bitterR!=.
gen bitterLK2 = 0 if bitterLK!=.
replace bitterLK2=1 if bitterLK==4 & bitterLK!=.
gen alctasteK2 = 0 if alctasteK!=.
replace alctasteK2=1 if alctasteK==4 & alctasteK!=.
gen alctasteR2 = 0 if alctasteR!=.
replace alctasteR2=1 if alctasteR==4 & alctasteR!=.
gen alctasteLK2 = 0 if alctasteLK!=.
replace alctasteLK2=1 if alctasteLK==4 & alctasteLK!=.
gen kickK2 = 0 if kickK!=.
replace kickK2=1 if kickK==4 & kickK!=.
gen kickR2 = 0 if kickR!=.
replace kickR2=1 if kickR==4 & kickR!=.
gen kickLK2 = 0 if kickLK!=.
replace kickLK2=1 if kickLK==4 & kickLK!=.
gen piK2 = 0 if piK!=.
replace piK2=1 if piK>3 & piK!=.
gen piR2 = 0 if piR!=.
replace piR2=1 if piR>3 & piR!=.
gen piLK2 = 0 if piLK!=.
replace piLK2=1 if piLK>3 & piLK!=.
gen prefK2 = 0 if prefK!=.
replace prefK2=1 if prefK==1 & prefK!=.
gen prefR2 = 0 if prefR!=.
replace prefR2=1 if prefR==1 & prefR!=.
gen prefLK2 = 0 if prefLK!=.
replace prefLK2=1 if prefLK==1 & prefLK!=.

Вам также может понравиться