This is the set of syntax from assignment 1-assignment3 of UVA sociology advanced statistics (AY). Dont copy all! otherwise, you will be accused of plagiarism. Using this as a reference, you can get similar grades as I got (Assignment 1: 10, Assignment 2: 10, Assignment 3: 8.5). Also, if you need ...
Disclaimer
1: These are the syntax that I submitted for the actual assignment. If you copy
the whole text of descriptions and the name of labels, you run into the risk of
plagiarism! Paraphrase and show your creativity in these (ofc you do not need to
do it in the normal programming language)
Good luck with your assignments then!
Assignment 1 syntax
Syntax
* Encoding: UTF-8.
* TITLE: Assignment 1 syntax.
* DATE: 9.1.2021.
* STU NUMBER OF AUTHOR: ******.
* CONTEXT: Advanced Statistics course UvA.
*
*-------------------- Table of Contents -------------------------.
*
1) Filtering the Data
2) Data description
3) Data Analysis
4) Data interpretation
*-------------------- 1) Filtering the Data -------------------------.
* # SELECTING A SPECIFIC COUNTRY: Belgium (BEL)
*my last name first letter did not have the variable. Therefore, this is the alternative choice of
country.
, *temporary filter is applied to filter out
*new filter variable has 1 for the observations I keep and 0 for the other variables:
RECODE cnt
("BEL" = 1)
(else = 0)
INTO filtervar.
* Doublechecking the recoding.
CROSSTABS cnt BY filtervar.
* Apply the filter:.
FILTER BY filtervar.
* Deleting filter and variable that were made. I repeated using these in order to explore which
country would be applicable for this research until I found Belgium
FILTER OFF.
DELETE VARIABLES filtervar.
*-------------------- 2) Data Descriptives -------------------------.
* inspection of variables
*Check of the error values and missling value
*Descriptives to inspect range, distribution, mean of variables.
, *dependent variables are at the raw 266 of original data variable view
*independent variables are at the raw 294 of original data variable view
FREQUENCIES motivat emosupp.
DESCRIPTIVES VARIABLES = motivat emosupp
/STATISTICS = MEAN STDDEV MIN MAX.
*-------------------- 3) Data Analysis -------------------------.
* Scatterplot between Parental emotional support & Student Atttidudes, Preferences and
Selfrelated beliefs: Achieving motivation (WLE) to see the bivariate correlation
*Check again if there is any error on scatterplot by comparing the crosstable to the scatterplot.
*
* Hypotheses about Parental emotional support & Student Atttidudes, Preferences and
Selfrelated beliefs: Achieving motivation (WLE).
* H1: Student who get more emotional support from their parents have more attitudes of
motivation for achievement.
* H0: People who work more do not earn more per hour than people who work less.
*
*###these analysis are just my optional calculation, thus these are not explained in the text.
*
*#1: Bivariate analysis through crosstable and scatterplot graph.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller ArisMaya. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.44. You're not tied to anything after your purchase.