100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
College aantekeningen

BRM2 - STATA EXAMPLES FROM LECTURES WITH (THEORY) EXPLANATION

Beoordeling
-
Verkocht
1
Pagina's
24
Geüpload op
30-01-2021
Geschreven in
2020/2021

***** All notes taken from the lectures of BRM2. This file contains all examples with the theoretical explanation included. The notes are mainly from all the lectures, some are also from the book. I also uploaded a summary of the theoretical part! For questions, you can e-mail

Meer zien Lees minder










Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Documentinformatie

Geüpload op
30 januari 2021
Aantal pagina's
24
Geschreven in
2020/2021
Type
College aantekeningen
Docent(en)
Snijders
Bevat
Alle colleges

Voorbeeld van de inhoud

Behavioural Research Methods
2020
All Lecture Examples of STATA




BakedToast
EINDHOVEN UNIVERSITY OF TECHNOLOGY

,EXAMPLE LECTURE 3:
Example 1: Is there a relation between gender and transportation




Observed – Expected

Gives:




1.1 DOING A CHI2 TEST:
For calculating a probability, we need a test statistic: Chi2.
This


… is X2 and X2 is a measure for how (un) likely it is to find these data under H0.

- We would not expect this number to be zero, that would mean that all cell frequencies are exactly
equal to what we would expect
- It cannot be negative, as we squared all differences
- The larger the table, the larger this number, by definition
- Following the reasoning of hypothesis testing
o If H0 would be true (so in example case: no relation) what would be the probability of getting
X^2 = 8.9153 (or even larger).
o To calculate the answer for that question, we need to know the distribution of X^2



Option 1.1.1: When P > 0.05:




We get this, so the P-value is 0.063, so given that there is no relation (H0), the probability of finding
this result (or more extreme) is 0.063. So, the effect is not significant, because p = 0.063 and 0.063 >

, 0.05, we do not reject H0. In other words, there is no evidence for a relation between gender and
means of transportation according to this example.

From the Chi2 value to the p-value: We have 4 (look at the chi2(4)) degrees of freedom (k), so follow
the blue line in the graph and then apparently there is 6.3% of the probability density right of 8.9153
→ p-value!!!



Option 1.1.2: When P < 0.05
Is there a difference in the use of bike vs train across boys and girls?

• Type tab female travel12tue if travel12tue == 2 | travel12tue ==4, chi2
o ! Check the double =-sign !
o Now you perform a test on
selected means of
transportation
• Results →
• P<0.05, we reject H0, we found
evidence that girls are more likely
to take the bike over the train
compared to boys.



1.2: FISHER’S EXACT PROCEDURE
1. The list with all possibilities:




GIVEN DATA




2. Which of these are further away from H0 than the actual data
3. Calculate the probability that you get this exact result plus the more extreme results



The sum of probabilities is the p-value.

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
BakedToast Technische Universiteit Eindhoven
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
19
Lid sinds
4 jaar
Aantal volgers
17
Documenten
12
Laatst verkocht
1 jaar geleden
Psychology &amp; Technology - Bachelor

As I'm finishing up my bachelors, I uploaded summaries I made during the past years.

4,3

3 beoordelingen

5
1
4
2
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen