100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
UL: Samenvatting Toetsende Statistiek R-codes voor praktische toets + overzicht van wanneer welke test $5.02   Add to cart

Summary

UL: Samenvatting Toetsende Statistiek R-codes voor praktische toets + overzicht van wanneer welke test

 0 view  0 purchase
  • Course
  • Institution

UL: Samenvatting Toetsende Statistiek R-codes voor praktische toets + overzicht van wanneer welke test gebruikt moet worden

Preview 1 out of 3  pages

  • October 10, 2024
  • 3
  • 2023/2024
  • Summary
avatar-seller
Overzicht toetsen (R)
Toets voor 1 variabele - Type variabele - Toets voor
Chi-kwadraat (x2) goodness-of-fit - 1 categorische variabele - zijn de frequenties zoals
verwacht / zijn de frequenties gelijk aan elkaar?
One-sample z toets - 1 numerieke variabele (sd bekend) - populatiegemiddelde vergelijken
met steekproefgemiddelde
One-sample t toets - 1 numerieke variabele (sd onbekend) - populatiegemiddelde vergelijken
met steekproefgemiddelde

Toetsen voor 2 variabelen - Type variabelen - Toets voor
Chi-kwadraat (x2) onafhankelijkheid - 2 categorische variabelen - onafhankelijkheid (zoals:
‘is er een relatie tussen .. en ..’
Onafhankelijke t-toets - 1 categorische variabele met twee groepen, 1 numerieke variabele -
gemiddelde (zoals: meet verschillen in gemiddelde tussen 2 steekproeven, zoals 1 groep die
wel een behandeling krijgt en de andere groep die geen behandeling krijgt)
Gepaarde t-toets - 2 groepen gepaarde numerieke variabelen - gemiddelde (zoals: meet
verschillen binnen 1 steekproef zoals voor en na een behandeling)

Niet-parametrisch (mediaantests door niet normaalverdeeld) - Type variabelen - Toets
voor
Wilcoxon rank-sum toets - zelfde als onafhankelijke t-toets
Wilcoxon signed-rank toets - zelfde als gepaarde t-toets

Niet tijdens R-toets: Chi-kwadraat (x2) homogeniteit - 2 categorische variabelen - gelijke
verdeling (zoals: kijken of verdeling politieke voorkeur hetzelfde is over steden)

Codes voor toetsen
1 variabele
Chi-kwadraat goodness-of-fit: chisq.test(table(dataframe$vector))

One-sample t-toets: t.test(dataframe$vector, mu = .., alternative = ..)
Mu = hierbij het populatiegemiddelde via h0 (oftewel gwn getal wat in de vraag staat)

2 variabelen
Chi-kwadraat onafhankelijkheid: chisq.test(table(dataframe$vector1, dataframe$vector2))

Onafhankelijke t-toets: t.test(dataframe$vector1 ~ dataframe$vector2, alternative = ..)
-> hierbij is de tweede vector altijd de categorische variabele met 2 groepen

Gepaarde t-toets: t.test(dataframe$vector1, dataframe$vector2, paired = TRUE)

Mediaantests
Rank-sum (onafh.): wilcox.test(dataframe$vector1 ~ dataframe$vector2)
Signed-rank (gepaard): wilcox.test(dataframe$vector1, dataframe$vector2, paired = TRUE)

alternative = ‘greater’, alternative = ‘less’ (is het verwachte gemiddelde uit Ha hoger of lager
dan mu (vaak 0)

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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 MarkDaniël. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $5.02. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80189 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$5.02
  • (0)
  Add to cart