100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Manual

Stata commands guide

Rating
-
Sold
4
Pages
4
Uploaded on
11-01-2018
Written in
2017/2018

A guide of which commands you should use in stata and where you should look, for the following methods: multiple regression run. logistic regression run. multi-level regression. factor analysis/ Principal components analysis. So a guide for all the commands and assignments needed for the course 0HV110: Advanced research methods and research ethics.

Show more Read less
Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
January 11, 2018
Number of pages
4
Written in
2017/2018
Type
Manual
Contains
Unknown

Subjects

Content preview

Multiple regression run:
1. Take a look at the data
 Also use summarize misstable, when a variable has to many missing data points you
should not use it in a regression run.
2. Run a simple regression with all predictor variables. (categorical i.var).
3. Assumptions:
 No multi collinearity: pwcorr and vif
 All relevant predictor variables included: ovtest, if p>0.05 then it is good, otherwise
you should look at transformations.
 Homoscedasticity and linearity. estat imtest, white, if p>0.05 then heteroscedasticity.
use bootstrap or robust standard error:
o bootstrap, reps(500) : reg…
o reg … , robust
 independent errors: Do you think that the data is clustered? You can find this by using
the command:
xtset var (the variable which you think has clustering)
xtreg target-variable
Look at the Rho, if it is reasonably high, there is clustering.
 Noise should be distributed normally:
predict e, resid
sktest e
swilk e (p has to be >0.05)
 not too many non-significant variables.


Diag2: it looks at the outlierness of cases. You need to look at the table at the bottom and if there are
cases with high outliersness leave these out the regression and look of this improves the model. Yes?
Look at why they could be outliers (check the data), if you have a reasonably answer leave them out,
otherwise leave them in.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Kp2022 Technische Universiteit Eindhoven
Follow You need to be logged in order to follow users or courses
Sold
304
Member since
9 year
Number of followers
210
Documents
62
Last sold
7 months ago

3.4

25 reviews

5
5
4
7
3
9
2
1
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions