Skip to content

Commit 7ec8e67

Browse files
committed
Finalizing tom's section
1 parent 297b6f8 commit 7ec8e67

5 files changed

Lines changed: 61 additions & 32 deletions

File tree

figs/slides-double-files.png

69.1 KB
Loading

figs/slides-file-long.png

43.6 KB
Loading

figs/slides-single-flat.png

28.5 KB
Loading

index.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ knitr::opts_chunk$set(comment = "#")
1111
```
1212

1313

14-
Workshop materials can be downloaded from https://github.com/USCCANA/netdiffuser-sunbelt2018/tree/sunbelt2019. You can download the entire repository (source code of the workshop) [here](https://github.com/USCCANA/netdiffuser-sunbelt2018/archive/sunbelt2019.zip).
14+
Workshop materials can be downloaded from <https://github.com/USCCANA/netdiffuser-workshop>.
1515

16-
Source code per section:
16+
Sections:
1717

1818
1. [Getting started](getstarted.qmd) (optional)
1919
2. [Diffusion Theory](theory.qmd)

theory.qmd

Lines changed: 59 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -269,55 +269,84 @@ they first used a modern family planning method.
269269
| In Degree | 1.04 | 1.06\*\* | 1.02\* |
270270
| Exposure (Cohesion) | 0.94 | 1.16 | 2.16\*\* |
271271

272+
## Simulating diffusion
273+
274+
- Seeds:
275+
- Type (central, bridging, marginal, random, etc.)
276+
- Size (e.g., 5%, 10%, 15%)
277+
278+
- Network structure:
279+
- Random
280+
- Small world
281+
- Empirical
282+
- Scale-free (centralized)
283+
- Attribute-based (e.g., homophily)
284+
285+
- Threshold distribution:
286+
- Uniform
287+
- Normal (varying variance)
288+
- Skewed
289+
- Beta
290+
291+
- Mechanism:
292+
- Cohesion
293+
- Structural equivalence
294+
- Indirect ties
295+
- Attribute-based (e.g., homophilous more persuasive)
296+
297+
- Adoption behavior:
298+
- No-disadoption
299+
- Disadoption
300+
- Conflicting behaviors (perhaps coded as -1,0, 1)
301+
- Incorporate uncertainty
302+
303+
## Reading Data Challenges
272304

305+
- Merging attribute and network data
273306

307+
- Nominated but no attribute data
274308

309+
- Attribute data no network data
275310

311+
- Data file formats
276312

313+
- Single flat file
277314

315+
- 2 files: edgelist and attribute file (flat)
278316

317+
- Cohort studies: 1 file separate waves of data
279318

319+
## Formats
280320

321+
- Survey Data (static & dynamic)
281322

323+
- Edge-list and Attribute data
282324

325+
- Panel Data
283326

327+
- STATNET, Igraph, ....
284328

329+
## Input Types: Single Flat File
285330

331+
- Flat File with IDs, Nodelist, and Time of Adoption
332+
- Typically a retrospective study
333+
- Examples, Medical Innovation, Korean Family Planning; Brazilian Farmers
286334

335+
![](figs/slides-single-flat.png){width="40%"}
287336

337+
## Input Types: Double Files
288338

339+
- Files will have mostly matching IDs
340+
- One or both files may contain time information
341+
- Edgelist may also, potentially, contain values or spell information
289342

343+
![](figs/slides-double-files.png){width="80%"}
290344

291-
Simulating Diffusion
292-
293-
Reading Data Challenges
294-
295-
- Merging attribute and network data
296-
297-
- Nominated but no attribute data
298-
299-
- Attribute data no network data
300-
301-
- Data file formats
302-
303-
- Single flat file
304-
305-
- 2 files: edgelist and attribute file (flat)
306-
307-
- Cohort studies: 1 file separate waves of data
308-
309-
Formats
310-
311-
- Survey Data (static & dynamic)
312-
313-
- Edge-list and Attribute data
314-
315-
- Panel Data
316-
317-
- STATNET, Igraph, ....
318345

319-
Input Types: Single Flat File
346+
## Input Types: Classic Cohort/Longitudinal
320347

321-
Input Types: Double Files
348+
- IDs and Nodelist Network data
349+
- Behavior is typically binary (e.g., ever smoked) or potentially valued (e.g., # of cigarettes
350+
- Examples SNS
322351

323-
Input Types: Classic Cohort/Longitudinal
352+
![](figs/slides-file-long.png){width="50%"}

0 commit comments

Comments
 (0)