Coder Social home page Coder Social logo

emosa's Introduction

EMOSA

Programming support to estimation of EMOSA (Epidemic Models of Onset of Social Activities) models as applied to religious attendance of emergent adults.

See the full list of manuscript figures, including online appendix, in ./figures/

Abstract

Epidemic Models of the Onset of Social Activities (EMOSA Models) have been used in the past to describe behavioral processes that spread within social networks through social influence. Two theoretically distinct methods of social influence are represented within EMOSA models, social contagion (a direct one-to-one interpersonal social influence process) and general diffusion (the kind of social influence that passes through media and other broad cultural channels). Past EMOSA models explain adolescent problem behaviors such as smoking, drinking, precocious sexuality, and delinquency. In the current paper, we adapt the EMOSA framework to model transitions in religious participation during late adolescence and early adulthood. We fit the model to data from the National Longitudinal Survey of Youth 1997 survey, based on a U.S. household probability sample spanning 10 years of longitudinal observation, and examine the relative influence of social contagion versus general diffusion. We present several methodological innovations, including EMOSA applications in a new theoretical arena using a three-stage bi-directional model, a Bayesian Markov Chain Monte Carlo (MCMC) estimation approach, graphical innovations to represent different parts of the EMOSA process, and an empirical validation exercise. Results indicate that diffusion processes are dominant during periods of late-adolescent rapid reduction in church attendance, whereas both diffusion and contagion models explain the period of relative stability in church attendance following in early adulthood. Both methodological and substantive implications are discussed.

Model Specification

Figure 2

Model Results

emosa's People

Contributors

andkov avatar wibeasley avatar

Watchers

 avatar  avatar  avatar

Forkers

wibeasley

emosa's Issues

Write contagion, diffusion & hybrid equations in Word

One single document with three series of equations.

Also save the Word document as a PDF, and have them in the /Documentation directory in the repository. Be really specific with subscripts, so to minimize translation errors for the JAGS model.

knitr ERROR - cannot open the connection

"Diffusion.R" executes fine, reaching the data at the end of the links.
however, when run from "Diffusion.rmd" the connection fails:

Warning: cannot open file
'C:/Users/inspirion/Documents/GitHub/EMOSA/DiffusionOnly/Data/SummaryBirthYearByTime.csv':
No such file or directory
Error: cannot open the connection

Incorporate DIC

Try to use existing run to estimate the DIC.

If that doesn't work, the worst case is to uncomment the DIC line of code (which will take twice as long to run)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.