====== Week01 (Sep 2, 7) ====== ===== ideas and concepts ===== Introduction to R and others - Downloading and Installing R - [[:the_r_project_for_statistical_computing]] - [[:r]], [[:r:getting started]] - Starting R - Entering Commands - Exiting from R - Interrupting R - Viewing the Supplied Documentation - Getting Help on a Function - Searching the Supplied Documentation - Getting Help on a Package - Searching the Web for Help - Finding Relevant Functions and Packages - Searching the Mailing Lists - Submitting Questions to the Mailing Lists using [[:theories]] and making [[:hypothesis|hypotheses]] ===== Assignment ===== ====== Week02 (Sep 9 14) ====== ===== Concepts and ideas ===== Some [[:R:basics|basics]] - Introduction - Printing Something - Setting Variables - Listing Variables - Deleting Variables - Creating a Vector - Computing Basic Statistics - Creating Sequences - Comparing Vectors - Selecting Vector Elements - Performing Vector Arithmetic - Getting Operator Precedence Right - Defining a Function - Typing Less and Accomplishing More - Avoiding Some Common Mistakes using [[:theories]] and making [[:hypothesis|hypotheses]] * Theories * to build science * to guide as a frame (what to look, how to think, and how to look at) * to explain phenomena * to predict phenomena (to provide a context for predictions) * Empirically relevant (testing) and always tentative (deductive cycle) * via research (hypothesis testing) * hence, not fixed * generalized statement regarding a connection between A and B (idea, concept, construct, phenomena, etc) * Levels ? * Micro . . . frustration and aggression * Meso . . . online communities and disinhibition * Macro . . . ethnicity (or socio-econ class) and family bond * role of T * {{:role_of_theory.jpg}} * [[:Research Question]]s (or Problems) * Two ideas guided by theories * Questions on their relationships * Conceptualization * [[:Hypothesis]] * Educated guess (via theories) * Difference * Association * Variables (vs. ideas, concepts, and constructs) * [[:Operationalization]] * [[:Types of Variables]] * [[:Independent Variable|IV]] * [[:Dependent Variable|DV]] * Control variable * Mediating (Intervening) variable ===== Assignment ===== ====== Week03 (Sep 16, 21) ====== ===== Concepts and ideas ===== Sep 16 - Full Moon Harvest [[:r:navigating|Navigating]] software - Introduction - Getting and Setting the Working Directory - Saving Your Workspace - Viewing Your Command History - Saving the Result of the Previous Command - Displaying the Search Path - Accessing the Functions in a Package - Accessing Built-in Datasets - Viewing the List of Installed Packages - Installing Packages from CRAN - Setting a Default CRAN Mirror - Suppressing the Startup Message - Running a Script - Running a Batch Script - Getting and Setting Environment Variables - Locating the R Home Directory - Customizing R ===== Assignment ===== ====== Week04 (Sep 23, 28) ====== ===== Class Activity ===== * 제3주차 리딩마치기 * 가설 만들어 보기 * [[http://behavioralsciencewriting.blogspot.kr/2011/09/how-to-write-hypothesis.html|how to write hypothesis]] at behavioral science writing. * One sample hypothesis [[http://www.socialresearchmethods.net/kb/hypothes.php|Hypothesis]] at www.socialresearchmethods.net ===== Concepts and ideas ===== [[:r:input_output|Input and output]] - Introduction - Entering Data from the Keyboard - Printing Fewer Digits (or More Digits) - Redirecting Output to a File - Listing Files - Dealing with “Cannot Open File” in Windows - Reading Fixed-Width Records - Reading Tabular Data Files - Reading from CSV Files - Writing to CSV Files - Reading Tabular or CSV Data from the Web - Reading Data from HTML Tables - Reading Files with a Complex Structure - Reading from MySQL Databases - Saving and Transporting Objects ===== Assignment ===== ====== Week05 (Sep 30, Oct 5) ====== ===== Concepts and ideas ===== [[:r:Data Structures]] - Introduction - Appending Data to a Vector - Inserting Data into a Vector - Understanding the Recycling Rule - Creating a Factor (Categorical Variable) - Combining Multiple Vectors into One Vector and a Factor - Creating a List - Selecting List Elements by Position - Selecting List Elements by Name - Building a Name/Value Association List - Removing an Element from a List - Flatten a List into a Vector - Removing NULL Elements from a List - Removing List Elements Using a Condition - Initializing a Matrix - Performing Matrix Operations - Giving Descriptive Names to the Rows and Columns of a Matrix - Selecting One Row or Column from a Matrix - Initializing a Data Frame from Column Data - Initializing a Data Frame from Row Data - Appending Rows to a Data Frame - Preallocating a Data Frame - Selecting Data Frame Columns by Position - Selecting Data Frame Columns by Name - Selecting Rows and Columns More Easily - Changing the Names of Data Frame Columns - Editing a Data Frame - Removing NAs from a Data Frame - Excluding Columns by Name - Combining Two Data Frames - Merging Data Frames by Common Column - Accessing Data Frame Contents More Easily - Converting One Atomic Value into Another - Converting One Structured Data Type into Another ===== Assignment ===== * 자신의 관심사와 어울리는 참고문헌 수집하기 - 자신의 관심사를 정리하는 문단 1, 2 작성 - 이에 해당하는 키워드 추출 (3-5) - 키워드를 이용하여 관련된 논문 찾기 (영어논문 3개, 국내논문 6개) - 논문은 empirical study를 지향하는 것 (연구문제 혹은 가설을 포함하는 사회과학 논문)이어야 합니다. - 논문의 서지정보를 endnote에 기록한 후 (혹은 import) - 각 논문을 APA style의 참고문헌목록 형식으로 소개하고 - 각 논문이 왜 자신의 논문과 관련이 있는지 자신의 글로 정리하여 기록 - 논문에 사용된 이론이 있다면 무엇이었는지 혹은 - 가설 혹은 연구문제가 있다면 무엇이었는지 - 위의 정리를 바탕으로 - 자신의 연구문제가 어떻게 수정될 수 있는지 혹은 향상될 수 있는지에 대해서 논하시오. - 위에서 언급되는 이론이나 법칙 등을 조사하여 자신의 관심사에 반영하거나 논문에서 발견된 분석결과를 반영하시오. - 자신의 가설을 만들어 보기 (3) ====== Week06 (Oct 7, 12) ====== ===== Concepts and ideas ===== [[:r:Data Transformations]] - Introduction - Splitting a Vector into Groups - Applying a Function to Each List Element - Applying a Function to Every Row - Applying a Function to Every Column - Applying a Function to Groups of Data - Applying a Function to Groups of Rows - Applying a Function to Parallel Vectors or Lists Strings and Dates [[https://www.mathsisfun.com/algebra/matrix-multiplying.html|Matrix Calculation]] [[:Social Network Analysis]] ===== Announcement ===== * First quiz * RANGE: Week 01 - 03 materials + lecture content + textbook * WHEN: Oct. 19 14 * NEXT quiz will be held during the mid term schedule. * The 2nd quiz will cover 1st quiz + Week 07 materials. ===== Assignment ===== ====== Week07 (Oct 14, 19) ====== ===== Concepts and ideas ===== [[:R:Probability]] - Introduction - Counting the Number of Combinations - Generating Combinations - Generating Random Numbers - Generating Reproducible Random Numbers - Generating a Random Sample - Generating Random Sequences - Randomly Permuting a Vector - Calculating Probabilities for Discrete Distributions - Calculating Probabilities for Continuous Distributions - Converting Probabilities to Quantiles - Plotting a Density Function ===== Assignment ===== ==== 개인과제 ==== 교재를 읽고 - Chi-square test를 할 수 있는 가설과 - One sample t-test를 할 수 있는 가설 - Two sample t-test를 할 수 있는 가설을 만들어 오시오. ====== Week08 (Oct 21, 26) ====== __**Mid-term period**__ ====== Week09 (Oct 28, Nov 2) ====== ===== Concepts and ideas ===== [[:r:General Statistics]] [[:t-test]] 참조 [[:ANOVA]] 참조 [[:Factorial ANOVA]] 참조 - Introduction - Summarizing Your Data - Calculating Relative Frequencies - Tabulating Factors and Creating Contingency Tables - Testing Categorical Variables for Independence - Calculating Quantiles (and Quartiles) of a Dataset - Inverting a Quantile - Converting Data to Z-Scores - Testing the Mean of a Sample (t Test) - Forming a Confidence Interval for a Mean - Forming a Confidence Interval for a Median - Testing a Sample Proportion - Forming a Confidence Interval for a Proportion - Testing for Normality - Testing for Runs - Comparing the Means of Two Samples - Comparing the Locations of Two Samples Nonparametrically - Testing a Correlation for Significance - Testing Groups for Equal Proportions - Performing Pairwise Comparisons Between Group Means - Testing Two Samples for the Same Distribution ===== Assignment ===== [[:c/ma/2016/schedule:Week09 Assignment|Assignment-Week09]] ====== Week10 (Nov 4, 9) ====== ===== Concepts and ideas ===== General Statistics [[:r:Oneway ANOVA]] [[:r:Twoway ANOVA]] ===== Assignment ===== ====== Week11 (Nov 11, 16) ====== ===== Concepts and ideas ===== [[r:graphics|Graphics]] - Introduction - Creating a Scatter Plot - Adding a Title and Labels - Adding a Grid - Creating a Scatter Plot of Multiple Groups - Adding a Legend - Plotting the Regression Line of a Scatter Plot - Plotting All Variables Against All Other Variables - Creating One Scatter Plot for Each Factor Level - Creating a Bar Chart - Adding Confidence Intervals to a Bar Chart - Coloring a Bar Chart - Plotting a Line from x and y Points - Changing the Type, Width, or Color of a Line - Plotting Multiple Datasets - Adding Vertical or Horizontal Lines - Creating a Box Plot - Creating One Box Plot for Each Factor Level - Creating a Histogram - Adding a Density Estimate to a Histogram - Creating a Discrete Histogram - Creating a Normal Quantile-Quantile (Q-Q) Plot - Creating Other Quantile-Quantile Plots - Plotting a Variable in Multiple Colors - Graphing a Function - Pausing Between Plots - Displaying Several Figures on One Page - Opening Additional Graphics Windows - Writing Your Plot to a File - Changing Graphical Parameters ===== Assignment ===== ====== Week12 (Nov 18, 23) ====== ===== Announcement ===== Quiz 03: 다음 주 수요일 범위: input and output ~ twoway ANOVA 방법: 필기(20분) 및 실기 (50분) ===== Concepts and ideas ===== Graphics ===== Assignment ===== ====== Week13 (Nov 25, 30) ====== ===== Concepts and ideas ===== [[:Regression]] [[:Multiple Regression]] [[:r:Linear Regression]] and [[:r:ANOVA]] - Introduction - Performing Simple Linear Regression - Performing Multiple Linear Regression - Getting Regression Statistics - Understanding the Regression Summary - Performing Linear Regression Without an Intercept - Performing Linear Regression with Interaction Terms - Selecting the Best Regression Variables - Regressing on a Subset of Your Data - Using an Expression Inside a Regression Formula - Regressing on a Polynomial - Regressing on Transformed Data - Finding the Best Power Transformation (Box?Cox Procedure) - Forming Confidence Intervals for Regression Coefficients - Plotting Regression Residuals - Diagnosing a Linear Regression - Identifying Influential Observations - Testing Residuals for Autocorrelation (Durbin?Watson Test) - Predicting New Values - Forming Prediction Intervals - Performing One-Way ANOVA - Creating an Interaction Plot - Finding Differences Between Means of Groups - Performing Robust ANOVA (Kruskal?Wallis Test) - Comparing Models by Using ANOVA ===== Assignment ===== - Do [[:r:linear_regression#ex_1|Ex 1 part]] in linear regression ====== Week14 (Dec 2, 7) ====== ===== Concepts and ideas ===== Linear Regression and ANOVA http://commres.net/wiki/text_mining_example_with_korean_songs [[:temp|quiz 3 answer]] ===== Assignment ===== - 자신의 전공과 관심사에 맞는 아래의 테스트를 수행하기 위한 가설을 작성하시오. - T-test - F-test - factorial f-test - Simple regression - Multiple regression - 각 가설의 독립변인과 종속변인을 밝히고 이를 측정하는 방법에 대해서 논하시오. - 가설과 관련이 있는 논문을 찾아서 (적어도 하나 이상씩) 관련 논문이 밝힌 것을 설명하고 자신의 가설과의 연관성을 논하시오. - 각 가설에 필요한 데이터를 구한 후, 적절한 테스를 하시오 (r의 인풋과 아웃풋 필요). - 테스트 결과를 논하시오. ====== Week15 (Dec 9, 14) ====== Group Presentation ====== Week16 (Dec 16, 21) ====== Group Presentation __**Final-term**__ ''2016-12-16 시험 금2,금4교시 금(10:30-12:30)'' Week 04 - 필기 + 실기 시험 [[quiz04_answer|필기시험 해답]]