Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Solutions Manual For Using R for Introductory Statistics 2nd Edition By John Verzani 9781466590731 ALL Chapters .

Beoordeling
5.0
(3)
Verkocht
-
Pagina's
182
Cijfer
A+
Geüpload op
21-12-2024
Geschreven in
2024/2025

Solutions Manual For Using R for Introductory Statistics 2nd Edition By John Verzani 9781466590731 ALL Chapters .

Instelling
Vak

Voorbeeld van de inhoud

simpleR – Using R for Introductory Statistics
b b b b b b




Johnb Verzani
8e+05
6e+05
y

4e+05
2e+05




20000b b 40000b b 60000b b 80000 120000 160000

, pagebi


Preface
ThesebnotesbarebanbintroductionbtobusingbthebstatisticalbsoftwarebpackagebRbforbanbintroductorybstatisticsbcourse.bT
heyb areb meantb tob accompanyb anb introductoryb statisticsb bookb suchb asb Kitchensb “Exploringb Statistics”.b Theb goalsb
arebnotbtobshowballbthebfeaturesbofb R,borbtobreplacebabstandardbtextbook,bbutbratherbtobbebusedbwithbabtextbookbtobillus
trateb theb featuresb ofb Rbthatb canb beb learnedbinbabone-semester,b introductorybstatisticsb course.
Theseb notesb wereb writtenb tob takeb advantageb ofb Rb versionb 1.5.0b orb later.b Forb pedagogicalbreasonsb theb equalsb sign,
=,b isb usedb asb anb assignmentb operatorb andb notb theb traditionalb arrowb combinationb <-.b Thisb wasb addedb tob Rb inb version
1.4.0.b Ifb onlyb anb olderb versionb isb availableb theb readerb willb haveb tob makeb theb minorb adjustment.
Therebarebseveralbreferencesbtobdatabandbfunctionsbinbthisbtextbthatbneedbtobbebinstalledbpriorbtobtheirbuse.b T
obinstallbthebdatabisbeasy,bbutbthebinstructionsbvarybdependingbonbyourbsystem.b ForbWindowsbusers,byoubneedbto
bdownloadbtheb“zip”bfileb,bandbthenbinstallbfrombtheb“packages”b menu.b InbUNIX,bonebusesbthebcommandbRbCMDbIN

STALLbpackagename.tar.gz.bSomebofbthebdatasetsbarebborrowedbfrombotherbauthorsbnotablybKitchens.b Creditbisbgi
venbinbthebhelpbfilesbforbtheb datasets.b ThisbmaterialbisbavailablebasbanbRbpackagebfrom:
http://www.math.csi.cuny.edu/Statistics/R/simpleR/Simpleb 0.4.zipb forb Windowsb users.
http://www.math.csi.cuny.edu/Statistics/R/simpleR/Simple b 0.4.tar.gzb forb UNIX b users.


Ifb necessary,b theb fileb canb sentb inb anb email.b Asb well,b theb individualbdatab setsb canb beb foundb onlineb inb theb directory

http://www.math.csi.cuny.edu/Statistics/R/simpleR/Simple.
Thisbisbversionb0.4bofbthesebnotesbandbwereblastbgeneratedbonbAugustb22,b2002.bBeforebprintingbthesebnotes,byoubs
houldbcheckb forbtheb mostbrecentb versionb availablebfrom

theb b CSIb b Mathb b departmentb b b (http://www.math.csi.cuny.edu/Statistics/R/simpleR).
Copyrightb ◯
c Johnb Verzanib (),b 2001-2.b Allb rightsb reserved.


Contents
Introduction 1
Whatb isb R............................................................................................................................................................................... 1
Ab noteb onb notation ............................................................................................................................................................... 1

Data 1
Startingb R .............................................................................................................................................................................. 1
Enteringb datab withb c ............................................................................................................................................................ 2
Datab isb ab vector .................................................................................................................................................................... 3
Problems ................................................................................................................................................................................ 7

Univariateb Data 8
Categoricalb data .................................................................................................................................................................... 8
Numericalb data .................................................................................................................................................................... 10
Problems .............................................................................................................................................................................. 18

Bivariateb Data 19
Handlingb bivariateb categoricalb data.................................................................................................................................. 20
Handlingb bivariateb data:b categoricalb vs.b numerical ...................................................................................................... 21
Bivariateb data:b numericalb vs.b numerical......................................................................................................................... 22
Linearb regression ................................................................................................................................................................ 24
Problems .............................................................................................................................................................................. 31

Multivariateb Data 32
Storingb multivariateb datab inb datab frames ....................................................................................................................... 32
Accessingb datab inb datab frames ......................................................................................................................................... 33
Manipulatingb datab frames:b stackb andb unstack .............................................................................................................. 34
Usingb R’sb modelb formulab notation .................................................................................................................................... 35
Waysb tob viewb multivariateb data........................................................................................................................................ 35
Theb latticeb package ...................................................................................................................................................... 40
Problems .............................................................................................................................................................................. 40

, pagebii

Randomb Data 41
Randomb numberb generatorsb inb R–b theb “r”b functions..................................................................................................... 41
Problems .............................................................................................................................................................................. 46

Simulations 47
Theb centralb limitb theorem ................................................................................................................................................. 47
Usingb simple.simb andb functions ..................................................................................................................................... 49
Problems .............................................................................................................................................................................. 51

Exploratoryb Datab Analysis 54
Ourb toolbox ......................................................................................................................................................................... 54
Examples .............................................................................................................................................................................. 54
Problems .............................................................................................................................................................................. 58

Confidenceb Intervalb Estimation 59
Populationb proportionb theory ........................................................................................................................................... 59
Proportionb test .................................................................................................................................................................... 61
Theb z-test ............................................................................................................................................................................ 62
Theb t-test ............................................................................................................................................................................. 62
Confidenceb intervalb forb theb median .................................................................................................................................. 64
Problems .............................................................................................................................................................................. 65

Hypothesisb Testing 66
Testingb ab populationb parameter ....................................................................................................................................... 66
Testingb ab mean ................................................................................................................................................................... 67
Testsb forb theb median .......................................................................................................................................................... 67
Problems .............................................................................................................................................................................. 68

Two-sampleb tests 68
Two-samplebtestsb ofb proportion ....................................................................................................................................... 68
Two-samplebt-tests ............................................................................................................................................................. 69
Resistantbtwo-samplebtests ................................................................................................................................................ 71
Problems .............................................................................................................................................................................. 71

Chib Squareb Tests 72
Theb chi-squaredb distribution ............................................................................................................................................. 72
Chi-squaredb goodnessb ofb fitb tests ..................................................................................................................................... 72
Chi-squaredb testsb ofb independence .................................................................................................................................. 74
Chi-squaredb testsb forb homogeneity .................................................................................................................................. 75
Problems .............................................................................................................................................................................. 76

Regressionb Analysis 77
Simpleblinearb regressionb model ......................................................................................................................................... 77
Testingb theb assumptionsb ofb theb model............................................................................................................................. 78
Statisticalb inference............................................................................................................................................................ 79
Problems .............................................................................................................................................................................. 83

Multipleb Linearb Regression 84
Theb model ........................................................................................................................................................................... 84
Problems .............................................................................................................................................................................. 89

Analysisb ofb Variance 89
one-wayb analysisbofbvariance ............................................................................................................................................. 89
Problems .............................................................................................................................................................................. 92

Appendix:b Installingb R 94

Appendix:b Externalb Packages 94

Appendix:b Ab sampleb Rb session 94
Ab sampleb sessionb involvingbregression ............................................................................................................................ 94
t-tests ................................................................................................................................................................................... 97
Ab simulationb example ........................................................................................................................................................ 99

, pagebiii

Appendix:b Whatb happensb whenb Rb starts? 100

Appendix:b Usingb Functions 100
Theb basicb template ........................................................................................................................................................... 100
Forb loops............................................................................................................................................................................ 102
Conditionalb expressions ................................................................................................................................................... 103

Appendix:b b Enteringb Datab intob R 103
Usingb c ............................................................................................................................................................................... 104
usingb scan........................................................................................................................................................................... 104
Usingb scanb withb ab file ..................................................................................................................................................... 104
Editingb yourb data ............................................................................................................................................................. 104
Readingb inb tablesb ofb data ................................................................................................................................................ 105
Fixed-widthb fields............................................................................................................................................................. 105
Spreadsheetb data ............................................................................................................................................................... 105
XML, b urls .......................................................................................................................................................................... 106
“Foreign”b formats ............................................................................................................................................................. 106

Appendix:b Teachingb Tricks 106

Appendix:b Sourcesb ofb help,b documentation 107

Gekoppeld boek

Geschreven voor

Vak

Documentinformatie

Geüpload op
21 december 2024
Aantal pagina's
182
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$18.49
Krijg toegang tot het volledige document:
Gekocht door 0 studenten

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Beoordelingen van geverifieerde kopers

Alle 3 reviews worden weergegeven
9 maanden geleden

1 jaar geleden

1 jaar geleden

5.0

3 beoordelingen

5
3
4
0
3
0
2
0
1
0
Betrouwbare reviews op Stuvia

Alle beoordelingen zijn geschreven door echte Stuvia-gebruikers na geverifieerde aankopen.

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.
PUUREGOLD Teachme2-tutor
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
15
Lid sinds
1 jaar
Aantal volgers
0
Documenten
463
Laatst verkocht
3 maanden geleden
PUREGOLD

PureGold Test Banks &amp; Practice Exams Graded A+ Looking for relevant and up-to-date study materials to help you ace your exams? Puregold has got you covered! We offer a wide range of study resources, including test banks, exams, study notes, and more, to help prepare for your exams and achieve your academic goals. What\'s more, we can also help with your academic assignments, research, dissertations, online exams, online tutoring and much more! Please send us a message and will respond in the shortest time possible. Always Remember: Don\'t stress. Do your best. Forget the rest! Gracias!

Lees meer Lees minder
4.7

534 beoordelingen

5
433
4
65
3
25
2
8
1
3

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

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen