-
2. SPSS์์ ๋ฐ์ดํฐ ํฉ์น๊ธฐ (Merge) | ๋ณด๊ฑด๋ํ์ ์์ฌ์์ ๊ตญ๋ฏผ๊ฑด๊ฐ์์์กฐ์ฌ ํ์ฉ ๊ฟํ!๐๋ํ์ ์ํ/๐๋ ผ๋ฌธ ๊ณผ์ 2024. 4. 8. 20:23
์๋ ํ์ธ์
๋ ผ๋ฌธ ์ฐ๋ ๋์ฌ์ ๋๋ค. [๋์ฌ ์๊ฐ ๋ฐ๋ก๊ฐ๊ธฐ]โ ํด๋ฆญ
์ด์ ๊ธ์์๋ ์ง๋ณ๊ด๋ฆฌ์ฒญ ํํ์ด์ง์์
๊ตญ๋ฏผ๊ฑด๊ฐ์์์กฐ์ฌ ๋ฐ์ดํฐ๋ฅผ ๋ค์ด๋ก๋ํ๋ ๋ฐฉ๋ฒ์ ๋ํด ์ค๋ช ๋๋ ธ์ต๋๋ค. [โ์ด์ ๊ธ ๋ณด๊ณ ์ค๊ธฐ]
์ด๋ฒ ๊ธ์์๋ ๋ค์ด๋ก๋ํ ์ฌ๋ฌ ๋ ๋์ ๋ฐ์ดํฐ๋ฅผ
ํฉ์น๋ Merge์ ๋ํด ์ค๋ช ๋๋ฆฌ๊ฒ ์ต๋๋ค.
์ ๋ ์ 8๊ธฐ ์๋ฃ์ธ 2019~2021๋ ์๋ฃ๋ฅผ ํฉ์ณ๋ณด๊ฒ ์ต๋๋ค.
1. ๋จผ์ 2019, 2020, 2021๋ ๋ฐ์ดํฐ ๋ชจ๋๋ฅผ ์ด์ด์ค๋๋ค.
HN19_ALL.sav
HN20_ALL.sav
HN21_ALL.sav
๊ทธ๋ฆฌ๊ณ 2019๋ ๋ฐ์ดํฐ(HN19_ALL.sav)๋ฅผ ๊ธฐ์ค์ผ๋ก ์ฐจ๊ทผ์ฐจ๊ทผ ํฉ์ณ์ฃผ๊ฒ ์ต๋๋ค.
year ๋ณ์๋ฅผ ํ์ธํ๋ฉด ๋ชจ๋ 2019์ธ ๊ฒ์ ํ์ธํ ์ ์์ต๋๋ค.
2. ๋ฐ์ดํฐ > ํ์ผ ํฉ์น๊ธฐ > ์ผ์ด์ค ์ถ๊ฐ ์์๋๋ก ํด๋ฆญ
3. ํฉ์น๋ ค๋ ํ์ผ ์ ํ > ๊ณ์ > ํ์ธ
๋จผ์ 2019๋ ๋ฐ์ดํฐ์ 2020๋ ๋ฐ์ดํฐ๋ฅผ ํฉ์น ๊ฒ์ด๋ฏ๋ก
ํ์ฑ ๋ฐ์ดํฐ ์ธํธ : HN19_ALL.sav
ํฉ์น ๋ฐ์ดํฐ ์ธํธ : HN20_ALL.sav
4. ๋์๋์ง ์์ ๋ณ์์ ๋์๋๋ ๋ณ์๋ฅผ ํ์ธํฉ๋๋ค.
5. 2019+2020๋ ๋ฐ์ดํฐ์ 2021๋ ๋ฐ์ดํฐ๋ฅผ ๋์ผํ ๋ฐฉ๋ฒ์ผ๋ก ํ๋ฒ ๋ ํฉ์ณ์ค๋๋ค.
ํ์ฑ ๋ฐ์ดํฐ ์ธํธ : HN19_ALL.sav + HN20_ALL.sav
ํฉ์น ๋ฐ์ดํฐ ์ธํธ : HN21_ALL.sav
6. ์ค๋ช ๋๋ฆฐ ์์๋๋ก ๋ชจ๋ ์งํํ๋ค๋ฉด
year ๋ณ์์ 2019, 2020, 2021์ด ์์๋๋ก ๋ค์ด๊ฐ ์๋ ๊ฒ์ ํ์ธํ ์ ์์ต๋๋ค.
7. ํ์ผ > ๋ค๋ฅธ ์ด๋ฆ์ผ๋ก ์ ์ฅ
์๋ก์ด ํ์ผ๋ก ์ ์ฅ์ ํด์ฃผ์ด์ผ ์๋ณธ์ ์์ ํ์ง ์์ ์ฑ ๋๋ง์ ๋ฐ์ดํฐ์ธํธ๋ฅผ ๋ง๋ค ์ ์์ต๋๋ค.
8. ํ์ผ๋ช ์ HN19,20,21_ALL.sav๋ก ์๋กญ๊ฒ ์ ์ฅํ์์ต๋๋ค.4-1. ๋ง์ฝ์ ๋์๋์ง ์๋ ๋ณ์๋ฅผ ์ถ๊ฐํ๊ณ ์ถ๋ค๋ฉด?
๋ณ์๋ช 'BP16_11'๊ณผ 'BP16_13'์ ์ ์๋ฆฌ์ ๋ ์๊ฐ๊ณผ ์ผ์ด๋ ์๊ฐ์ผ๋ก
2019, 2020 ๋ฐ์ดํฐ์๋ ์์ง๋ง
2021 ๋ฐ์ดํฐ์๋ ์๋ ๋ณ์์ ๋๋ค.
์ด๋ด ๊ฒฝ์ฐ ํด๋น ๋ณ์๋ฅผ ์๋์ผ๋ก ํด๋ฆญ > ํ์ดํ(โก) ํด๋ฆญ > ํ์ธํด์ฃผ๋ฉด
ํด๋น๋ณ์์ ๋ด์ฉ์ด ์๋ 2019, 2020 ๋ฐ์ดํฐ๋ '.'์ผ๋ก
2021 ๋ฐ์ดํฐ๋ ๋ด์ฉ์ด ๋ถ๋ฌ์์ง ๊ฑธ ํ์ธํ ์ ์์ต๋๋ค.
์ด๋ ๊ฒ ํ๋ฉด [2. SPSS์์ ๋ฐ์ดํฐ ํฉ์น๊ธฐ (Merge)] ๊ฐ ์๋ฃ๋์์ต๋๋ค.
๋ค์๊ธ์์๋ [3. ๋ณ์ ๋ณํ - ์ฝ๋ฉ๋ณ๊ฒฝ]์ ์ค๋ช ํ๊ฒ ์ต๋๋ค~'๐๋ํ์ ์ํ > ๐๋ ผ๋ฌธ ๊ณผ์ ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ