User Tools

Site Tools


c:ma:2019:assignment_week15

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
c:ma:2019:assignment_week15 [2019/12/13 10:10] – created hkimscilc:ma:2019:assignment_week15 [2019/12/13 13:33] (current) hkimscil
Line 1: Line 1:
 +http://commres.net/wiki/sna_eg_stanford/lab06#no_pdf
 +
 +<WRAP tip 80%>
 +Please follow this procedure for a proper homework.
 +  * Please install [[https://cran.r-project.org/bin/windows/Rtools/|rtools 3.5]] along with rstudio. 
 +  * Also update the R version. The current updated version is [[https://cran.r-project.org/bin/windows/base/|3.6.2]]
 +  * Then install "devtools" package
 +    * ''%%install.packages("devtools")%%''
 +    * devtools will not be installed unless rtools 3.5 is installed.
 +  * Then, install packages that are necessary for the analysis
 +    * ''%%install.packages("ergm", dependencies = T)%%''
 +    * ''%%install.packages("igraph", dependencies = T)%%''
 +    * ''%%install.packages("sna", dependencies = T)%%''
 +    * ''%%install.packages("statnet", dependencies = T)%%''
 +    * etc. . . . 
 +</WRAP>
 +
 +
 Use Krackhardt's data and apply them to lab06 procedure (clustering social network data). Use Krackhardt's data and apply them to lab06 procedure (clustering social network data).
 Krackhardt's data can be obtained via the below.  Krackhardt's data can be obtained via the below. 
Line 4: Line 22:
 <code> <code>
 library(NetData) library(NetData)
-library(igraph) 
 data(package="NetData") data(package="NetData")
 data(kracknets, package = "NetData") data(kracknets, package = "NetData")
Line 11: Line 28:
  
 krack_full_data_frame is the same data as used in studentnets.M182 data set (please refer to [[:sna_eg_stanford:lab06]] page). krack_full_data_frame is the same data as used in studentnets.M182 data set (please refer to [[:sna_eg_stanford:lab06]] page).
 +
 +Do the following. Please note that 
 +  * There will be no #4. procedure. 
 +  * No factor analysis 
 +  * Instead, you are doing hierarchical clustering with 
 +    * advice_tie and friendship_tie
 +    * advice_tie and reports_to_tie
 +Please name variables as the lab06 does. 
 +<code>
 +###
 +#1. SETUP
 +###
 +</code>
 +
 +<code>
 +###
 +#2. LOADING AND FORMATTING DATA
 +###
 +</code>
 +
 +<code>
 +###
 +# 3.1 HIERARCHICAL CLUSTERING ON advice_tie and reprots_to_tie
 +###
 +</code>
 +
 +<code>
 +###
 +# 3.2 HIERARCHICAL CLUSTERING ON advice_tie and friendship_tie
 +###
 +</code>
c/ma/2019/assignment_week15.1576199433.txt.gz · Last modified: 2019/12/13 10:10 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki