반응형

이번 시간에는 데이타를 가지고 그래프 (Data Visualization)를 만들어 봅시다.

Complete the following tasks using SPSS. (SPSS를 이용해서 다음 두 셋의 문제를 푸세요), 예시 파일은 맨 아래 있어요. 

Problem Set 1

“sharks.sav” 파일을 열고 데이터를 확인하세요. 데이터는 2000-2010년까지 여러 지역에 걸쳐 나타난 상어의 숫자를 나타냅니다. (Agresti & Franklin (3/e) Section 2.1 Example 2 (p.26)).

  1. 디렉션을 따라서 기본 바 그래프를 만들어봅시다. 

    GraphsLegacy DialogsBarChoose Simple and Values of individual casesBars Represent: No_Attack; Category Labels: Variable: Region; Create a titleOK

  2. 1번에서 만든 바는 오른쪽에 빈 공간들이 보입니다. 데이터에 보면 데이터셋에 빈 데이터가 있는 가로줄이 있기 때문입니다. 다음 디렉션을 먼저 따라한 후 1번 작업을 다시 해 보세요. 

    DataSelect CasesBased on time or case rangeRangeEnter the first case and the last caseOK

    만들어진 그래프를 더블클릭하면 그래프 에디터가 나오는데 여기에서 더 보기 좋은 퀄러티의 그래프를 만들 수 있습니다. 

  3. Pareto version 의 바그래프를 만들려면 다음 디렉션을 따라하세요.  

    DataSort CasesSort by: No_Attack; DescendingOK  

      2번과 1번 작업을 다시 실행합니다. 
      

  • world-wide vs. Florida 를 비교하기 위한 clustered bar graph 를 만들어보세요. 

GraphsLegacy DialogsBarChoose Clustered and Values of individual casesBars Represent: No_Attack; Category Labels: Variable: Region; Create a titleOK




Problem Set 2

“fla_student_survey.sav” 를 실행합니다. 

  1. 디렉션을 따라해서 히스토리그램을 만들어 보세요. 

    GraphsLegacy DialogsHistogramVariable: TV; Create a titleOK

  2.  high school GPA and college GPA를 비교하기 위해 Side-by-side boxplot 을 만들어 보세요.

    GraphsLegacy DialogsBoxplotChoose Simple and Summaries of separate variablesBoxes Represent: high_sch_GPA, collge_GPAOK

  3. 데이터를 가지고 다른 여러가지 적절한 그래프를 작성해 보고 해석해 보세요. 

sharks.sav

fla_student_survey.sav

Labs_answers.pdf


 


반응형

+ Recent posts