Syntax, data and teaching/learning resources associated with this book are available below:
Stata for dummies -- for lab notes clear here. Task sheet for Intro to SPSS
A. Data Types 1. Variables 2. Constants B. Introduction to SPSS 1. SPSS Menu Bar 2. File Types C. Tabulating Data 1. Categorical variables 2. Continuous variables D. Graphing Data 1. Categorical variables 2. Continuous variables The following slides provide an introduction to basic statistical concepts and offer a brief overview of the one semester course, Social Statistics I: - For M&S Lecture 1 click here
- For M&S Lecture 2 click here
- For M&S Lecture 3 click here
- For M&S Lecture 4 click here
- For M&S Lecture 5 click here
- For M&S Lecture 6 click here
- For M&S
*Tutorial, await update.*
For the 2009/2010 lab exercises & guide to reading, click here.
Click on the links below to access the files needed for the assignment: For examples of the superheroes developed by the primary school children see: Other files that may be needed for the assignment: - BCSagecrime
- BSASageattitudes
- BHPSincomehheffects
- BPPSincome
- BHPSagepolitics
- AccidentSpeedDataSet
- LOTRnov05
- Universities
1. Measures of Central Tendency and Dispersion 2. Density curves & Symmetrical Distributions 3. Normal Distribution 4. Central Limit Theorem
1. Find probabilities from zi (click here for table of probabilities) 2. Find zi from a given probability 3. Find zi and probability from xi 4. Apply z scores to sampling distributions
1. Intuition behind confidence intervals 2. Three steps of confidence interval estimation 3. Large sampe confidence interval for the mean 4. Small sample confidence interval for the mean
1. CI for two independent means
1. Statistical Significance
1. Review of Significance 2. Review of one sample tests on the mean 3. Hypothesis tests about Two population means - Homogenous variances
- Heterogeneous variances
4. Deciding on whether variances are equal 5. Hypothesis tests about proportions - One population
- Two populations
1. Independent Events 2. Contingent Events 3. Chi-square Test for Independence 4. Further Study
1. Linear and non-linear relationships 2. Fitting a line using Ordinary Least Squares 3. Inference in Regression 4. Omitted Variables and R2 5. Categorical Explanatory Variables 6. Summary
- For Quants I Lecture 2 click here
- For Quants I Lecture 3 click here
- For Quants I Lecture 4 click here
- For Quants I Lecture 5 click here
- For Quants I Lecture 6 click here
- For Quants I Lecture 7 click here
- For Quants I Lecture 8 click here
Click here for table of probabilities for the z-distribution For the syntax "answers" for - Lab 1: Density Functions and the CLT
- Lab 2: Calculating z-Scores
- Lab 3: Introduction to Confidence Intervals
- Lab 4: Confidence Intervals for all Occasions
- Lab 5: Introduction to Hypothesis Tests
- Lab 6: Hypothesis Tests for All Occasions
- Lab 7: Relationships between Categorical Variables
- Lab 8: Regression
If you are working from - HOME VERSION of Lab 1: Density Functions and the CLT
- HOME VERSION of Lab 2: Calculating z-Scores
- HOME VERSION of Lab 3: Introduction to Confidence Intervals
- HOME VERSION of Lab 4: Conf. Intervals for all Occasions
- HOME VERSION of Lab 5: Introduction to Hypothesis Tests
- HOME VERSION of Lab 6: Hypothesis Tests for All Occasions
- HOME VERSION of Lab 7: Relationships: Categorical Variables
- HOME VERSION of Lab 8: Regression
Click here for a zipped folder that contains all the data files (except for the x_bar__ dataset) for the Inference and Statistics textbook or click on the link below: These files should be copied into a folder on your C: drive called STATISTICS (i.e. C:\STATISTICS). The datasets are also available below as separate files: - auction.sav
- avmdata.sav
- CountryHealth.sav
- employees.sav
- Glasgow_houseprices_pop_2004q3q4.sav
- householddata.sav
- income.sav
- mortgagedata.sav
- votes.sav
- x_bar__120sample_means__n_eq_100.sav
These files should also be available from the Q:\QUANTS folder of the Adam Smith Labs. If you plan to use these data sets on campus but from other lab computers, you might want to copy these files onto your H:\ drive.
The lab machines will hopefully have the macros installed by the time you come to need them (if not, see the next section). If you plan to use the macros on your own PC, however, you will need to download the following four files to utilise the macros described in the text (save the files to C:QUANTS directory which you will need to create if you have not done so already). Click on the file names to download or open them: Once you have downloaded the files it will improve ease of use if you customise the syntax-window menu bar in SPSS. Detailed instructions on how to do this are given in the installation instructions: - INSTALLATIONGUIDE.TXT (text file)
If you would rather not install these macros on your hard-drive, you can instead save only the datafile one.sav to the C:QUANTS directory (which you will need to create if it does not already exist), and open and run the entire QUANTSCOMMANDS.SPS file directly from this website each time you open up SPSS. You should then be able to use all the macros listed in the textbook.
If the macros have not been installed on the lab machine you are using, you can still access the macros by opening the file below, highlighting all its contents by pressing CTRL+A and running the whole lot as though it were one command. You will need to do this every time you start a new session in SPSS.
Mindmaps can be viewed using Mindjet's free viewer software which can be downloaded by clicking here and selecting the button labelled - For overview of SSS I course, click here
- For mindmap of Confidence Intervals, click here (coming soon)
- For mindmap of Hypothesis tests, click here (coming soon)
1. Covariance & Correlation Coefficients 2. Multiple Regression 3. Interpreting Coefficients 4. Inference 5. Coefficient of Determination
1. Prediction 2. ANOVA in regression 3. F-Test 4. Regression assumptions 5. Properties of OLS estimates
1. Consequences of non-linearities 2. Testing for non-linearities (a) visual inspection of plots 3. Solutions (a) transform variables
1. General Test for a set of linear restrictions 2. Testing homogenous restrictions 3. Testing for a relationship 4. Testing for Structural Breaks Excel Template for F-Tests.
1. Regression Assumptions 2. Ommitted Variables 3. Irrelevant Variables 4. Errors in Variables 5. Error Term with zero mean
1. What is heteroscedasticity? 2. Causes 3. Consequences 4. Detection 5. Solutions
1. What is multicolinearity? 2. Causes - Dummy variable trap
- Conceptual linear sum
- Two measures of the same effect
- Measurement failure to distinguish between effects
3. Consequences - Failure of regression estimation
- Increased standard errors
- Coefficient value and sign unstable
4. Detection - Check for unstable parameters
- Check t-ratios
- Tolerance & VIF
- Condition Index
5. Solutions - Drop reference category dummy
- Do nothing!
- Factor analysis/principle components
- Drop variables with low t-values
- Ridge regression
6. Modelling Strategies - General to Specific
- Specific to General
1. Overview of Non-Continuous Dependent Variables - Binary dependent variables
- Ordinal dependent variables
- Nominal dependent variables
- Count dependent variables
- Censored dependend variables
- Constrained dependent variables
- Grouped dependent variable
- Ambiguity & Consequence
2. Linear Probability Model - Advantages: simple to estimate & interpret
- Disadvantages: incorrect functional form
3. Logit - Logistic transformation
- Goodness of fit
4. Logit Estimation & Interpretation - Maximum Likelihood
- Interpreting Logit Output
5. Multiple Logit Regression - Multiple explanatory variables
- Using Odds Ratios
Please note your final assignment for SSS2 is due for submission Thursday 14th April 2011. - 2 copies of the assignment, both including standard cover page
- 1 completed and signed declaration of originality form
Assignments must be deposited in the mailbox outside the College Office, now located in room 107 of Florentine House, 53 Hillhead Street (next to the Library and Fraser Building). Any assignments failing to meet the above conditions will not be marked until the submission is completed and may be subject to a marking penalty. Details of the assignment, data and other resources are available below: - Assignment: data and brief.
- SNS website
- Equality Trust
- Professors Richard Wilkinson & Kate Pickett respond to critics.
- miimortalitydata2005.sav
- sovdebt.sav
- surv9295.sav
- Nationwideextract.sav
- riskpricing.sav
- crime_sns_dz.sav
- x_y1_y2_y3_y4.sav
- scotcrime.sav
- To download Lecture 1 click here.
- To download Lecture 2 click here.
- To download Lecture 3 click here.
- To download Lecture 4 click here.
- To download Lecture 5 click here.
- To download Lecture 6 click here.
- To download Lecture 7 click here.
- To download Lecture 8 click here.
- To download Lecture 9 click here.
- Introduction: Why study regression? Click here. (Revised 17th Jan 2011)
- Ch1: Correlation and Inference. Click here. (Revised 17th Jan 2011)
- Ch1: Answers and Syntax (Revised 17th Jan 2011)
- Ch2: Prediction and ANOVA (Revised 31st Jan 2011). Click here.
- Ch2: Answers (Revised 31st Jan 2011). Click here.
- Ch3: Non-Linearity (Revised 11th Feb 2011). Click here.
- Ch3: Answers (Revised 11th Feb 2011). Click here.
- Ch4: F-tests (Revised 21st Feb 2011). Click here.
- Ch4: Answers (Revised 21st Feb 2011). Click here.
- Ch4: Ftests Excel template (Revised 21st Feb 2011). Click here.
- Ch6: Heteroscedasticity (Revised 13th Mar 2011). Click here.
- Ch6: Answers (Revised 13th Mar 2011). Click here.
- Chapter 4: F-Tests. Click here.
- Chapter 5: Ommitted Variables. Click here.
- Chapter 6: Heteroscedasticity. Click here.
- Chapter 7: Multicolinearity. Click here.
- Chapter 8: Logit. Click here
Click here for a copy of the 2007 assignment brief. Click on the link below to download the mortality dataset:
The following macro was written by Andrew F. Hayes of Ohio State University. See hcreg.pdf for technical background to the macro. To use the macro, follow the steps below: 1. Copy both of the following files onto your hard disk. 2. Then open whitesSE.sps file (tells you how to use the The purpose of the course is to provide a framework for supporting students in the use of quantitative methods in years two, three and four of their PhD. There is clearly a need to consolidate the skills and techniques learnt in Social Science Statistics training provided in the first year of the 1+3 programme, skills that are quickly lost if not in frequent use. The course aims to:
- Course outline (click here)
- Introduction to AQIM (click here)
- Lecture 1: Reverse Causation & 2SLS (click here)
- Lecture 2: Event-History Modelling (click here)
Purchase your copy from Amazon or other major retailers. Key features of the book: - Teaches syntax not just ‘point and click’:
- Expands the facilities of SPSS:
This offers a primer in classical statistics that is truly integrated into SPSS. A number of texts teach SPSS and a myriad teach statistics. However, because SPSS does not have built-in procedures for the more basic classical statistical tests (no shortage of advanced ones!) most courses teach theory and practice in a disjointed way. A particular problem is that SPSS does not easily allow you to run a statistical test when you only have access to summary data. For example, if you are reading a published report or journal article and you want to estimate the confidence interval for the mean of a variable, which may be crucial to the conclusions of that publication, it is unlikely that the canned procedures in SPSS will be able to assist because you do not have the original data used by the author to calculate the mean. But you need only the mean, standard deviation and sample size to calculate a confidence interval, so it would be useful to have an automated procedure with the flexibility to take advantage of such summary information. 5. Accessing Extra Resources and Expanding SPSSThere is a fantastic array of free SPSS resources available via the web and SPSS user groups, much of it in the form of syntax files. Sites such as www.spsstools.net offer new routines, automated tasks, and thousands of extra facilities that greatly expand the versatility of the standard SPSS package. Learning the basics of SPSS syntax will make many of these resources accessible to you and may prove to be the first steps towards creating a few of your own.For a large collection of SPSS macros and resources, visit Raynald Levesque's www.spsstools.net . | ||||||||||||||||||||||||||||||||||||||||||||||||||||