• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Manual

Stata commands guide

Document preview thumbnail
Preview 1 out of 4 pages

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.

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.

Document information

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

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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
3.4
(25)
Sold
305
Followers
210
Items
62
Last sold
8 months ago



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions