Code Monkey home page Code Monkey logo

psy532's Introduction

Shadish James Spector Dalgaard Deshea R Cookbook
Maxwell & Delaney Gelman & Hill Venables Verzani Everitt Murrell
ToC

A graduate course (PSYC 532 - Introduction to Statistical Modeling for Social Sciences) taught by Dr.Andriy V. Koval at the University of Victoria in the Fall of 2015.

When Where Semester Dates Email Office Hours Phone
Monday, Thursday 11:30 - 13:00 HSD A150 Winter 2015 Sep 10 - Dec 10 andkov at uvic dot ca Cornett B335g By appointment 472-4864
Date Theory Read Due Practice
10 Syllabus. Toolbox.
14 1) NHST on Trail HM0 (5)
17 Rodgers (2010) Paper model (10) Primitive Models. Area F.
21 2) Logic of Research
24 ITSL 2 HM 1 (10) Data Exploration. Graphs.
28 3) Anatomy of GLM
Oct 2 ITSL 3 HM 2 (10) Multiple Regression. Simulation.
05 EXAM I. Test EXAM I (50)
08 EXAM I. Analysis
12 Thanksgiving
15 GLM: graphs and scripts
19 Graphs: Advertising ITSL 6.1, 6.5 HM 3 (10) Validation. Subset. Fit.
22 Graphs & Models: Boston
26 Handling model objects ITSL 7.1-2, 7.5 Polynomial. Nonlinear.GAM.
29 Detecting nonlinearity with graphs HM 4 (10) Academic Drop Deadline (Oct 31)
Nov 02 History Of Graphs and Models Wickham (2014) Paper model (10) Tidy Data Workshop
05 Exam II. Test EXAM II (100)
09 Reading Week
12 no class
16 EXAM II. Analysis
19 7) Reproducible Research Production: Reports
23 workshop Production: Reports
26 workshop Production: Slides
30 Report (40)
Dec 03 Slides (20)
07 Presentation (30)

The development of the course materials is partially funded by the ICRR grant from Learning and Teaching Centre at UVic. The mid-way report was given at the begining of the second week of the course (on 18 Sep 2015). Grant completion report presented at the ICRR and LWB Grant Recipients meeting on 21 Jan 2016, six week after the course completion.

psy532's People

Contributors

andkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

wibeasley snowdj

psy532's Issues

Potential Exam Question

Please explain in a couple of sentences the difference between reducible and irreducible error.

Scatters and Smoothers

This issue will explore graphical means to use scatter plots and smoothers to compare observed and modelled values, as well as predictions of models with different configuration.

Fill in the subscripts

Re-write the matrix equation below and fill in the missing information about the dimensions of the matrices.
fullsizerender

GLM equations

Using the Univariate GLM matrix equation below, answer the following questons:

a) for how many subjects are there data?
b) how many dependent variables are used?
c) how many independent variables are used?
d) how many dummy variables are needed to represent the independent variable(s)?
e) re-write the equation to make it a Multivariate GLM with three outcome measures

fullsizerender_1

Design Matrix for Interactions in GLM

Your study involves two experimental conditions: A and B. Each experimental conditions has two fixed levels. You've recruited 4 individuals to be in your study, and observed the following data

A1 A2
B1 2 3
B2 7 4

a) convert the data into long/stacked format
b) draw the design matrix X for a two-way ANOVA with interactions
c) how many columns of the design matrix is needed to depict group membership information without redundancy?

Runaway child

@wibeasley , could you please take a look at why this child does not want to be found?

./projects/nlsy97/data_creation_report/dsL_nlsy97_annotated sources a child in the last chunk:

{r child, child = 'LinksAndRefs.Rmd'}

But I invariable get an error

Quitting from lines 123-123 (./LinksAndRefs.Rmd) 
Error in readLines(if (is.character(input2)) { : 
  cannot open the connection
Calls: <Anonymous> ... process_group.block -> call_block -> lapply -> FUN -> knit -> readLines
In addition: Warning message:
In readLines(if (is.character(input2)) { :
  cannot open file './LinksAndRefs.Rmd': No such file or directory
Execution halted

What might be the matter?

Scatters and Smoothers

This issue will explore graphical solution to 1) compare observed and modeled values 2) compare predicted values from different models and 3)

unable to source R file on mac

I have an issue sourcing an R file from the web on mac.

Got this error:
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) : unsupported URL scheme

Messy Data. Q1

Please complete the sentence:

Happy families are all alike;________________________________________.

bonus: This is the opening sentence of what classic novel?

Conclusions of the Task Force on Statistical Inference

A Task Force was created by the APA to rule on the practice of null hypothesis significance testing. What were its key conclusions? Select the best answer.

A) NHST should be banned
B) NHST should not be banned. The statistical practice must be revised
C) NHST should not be banned, The statistical practice is in good shape
D) Researchers should decide themselves what paradigm to follow in their practice
E) Modelling should be banned as dangerous idea.

GLM equation from a scenario

You would like to test the effect of drug X on insomnia. You recruit two groups of four subjects each, give treatment to one group, while giving placebo to the other. You then record self-reported number of hours slept on a particular night. Subjects in the treatment group report having slept 8, 10, 7, and 4 hours, while placebo group reported having slept 5, 6, 3, 8 hours.

a) organize these values the wide data set that you would analyze to test the effectiveness of Drug A. Make sure to label row and columns

b) reorganize the wide data set into a long (stacked) data set, which will be used for estimation

c) Write a scalar and matrix equations of a GLM to test the effect of drug X. Make sure to indicate the dimensions of each matrix.

Messy Data. Q2

Hadley Wickham (2014) gives three features that a tidy data must possess. Name them.



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.