Übungen 1

studied byStudied by 1 person
0.0(0)
Get a hint
Hint

read.csv(“daten.csv”,header=TRUE,sep=”;”,stringsasfactors=FALSE)

1 / 54

flashcard set

Earn XP

Description and Tags

55 Terms

1

read.csv(“daten.csv”,header=TRUE,sep=”;”,stringsasfactors=FALSE)

Wie ließt man einen csv Datensatz in R ein

New cards
2

d0$id

In R bei dem Datensatz d0 auf die id Spalte zugreifen

New cards
3

d0[15,2]

In R bei d0 auf person in 15. Spalte und 2. Variable zugreifen

New cards
4

sum()

summe in R

New cards
5

length()

R länge des Datensatzes

New cards
6

mean()

R mittelwert

New cards
7

sd()

R Standertabweichung einer variable eines Datensatzes

New cards
8

var()

R Varianz einer Variable

New cards
9

cov(x,y)

R Kovarianz einer zweier variablen

New cards
10

cor(x,y)

R Korrelation nach pearson

New cards
11

median(x)

R median einer variable

New cards
12

quantile(x)

R quantile in 25% schritten

New cards
13

quantile (x,probs=seq(0,1,1/10))

R Dezile einer Variable in 10% schritten

New cards
14

IQR(x)

R Interquartilabstand

New cards
15

summary()

R Zusammenfassung von Variable mit min q1 median mittelwert q3 max

New cards
16

res=lm(y~x)

R linear model/lineare regression, wie kann ich durch x y hervorsagen

New cards
17

summary(res)

R Zusammenfassen von “res”

New cards
18

lm(x~y+z+……, data= dataname)

R multible regression bei der x durch andere variablen definiert werden soll

New cards
19

pcor.test(x,y,z)

R Partielle Korrelationen, z wird aus x und y raus gerechnet

New cards
20

res$coefficients

R Regressionscoeffizient

New cards
21

res$residuals

R Residuuen

New cards
22

hist(x, <parameter>,…..)

R Histogramm

New cards
23

breaks=10

R Anzahl klassenteilungen

New cards
24

barplot()

R Balkendiagramm

New cards
25

plot(x,y)

R Scatterplot x waagrecht y senkrecht

New cards
26

col=””

R farbdefinition

New cards
27

pch=

R Markierungssymbol, punkt stern etc

New cards
28

cex=

character expansion

New cards
29

xlab=

R x achsen beschriftung

New cards
30

ylab=

R y achsen beschriftung

New cards
31

main=

R Überschrift der Grafik

New cards
32

xaxt=

R x-achse entfernen

New cards
33

xlim=

R Wertebereich x achse

New cards
34

ylim=

Wertebereich y achse

New cards
35

text()

R Einer Grafik text hinzufügen

New cards
36

axis()

R x-Achse neu festlegen

New cards
37

Freq variable1 variable2.

execute.

S Häufigkeiten

New cards
38

graph hist variable.

execute.

S Histogramm

New cards
39

graph hist(normal) variable.

execute.

S Histogramm mit normalverteilung

New cards
40

graph/bar(simple)=count by variable.

execute.

S Balkendiagramm

New cards
41

Graph scatter variable with variable.

execute.

Scatterplot

New cards
42

Examine variables= kgr by sex.

/plot=Boxplot

/statistics=none

/Nototal.

execute.

Boxplot nach Gruppen geordnet

New cards
43

Graph scatter variable with variable.

execute.

Scatterplot

New cards
44

cor variable with variable.

execute

S korrelation Pearson

New cards
45

Nonpar cor variable with variable.

execute.

S spearman korrelation

New cards
46

partial corr

/variables=xy by z

/significance = twotail

/missing=listwise.

execute.

New cards
47

Regression

/missing listwise

/statistics coeff outs r anova

/criteria=pin(0.5) pout(.10)

/noorigin

/dependent variable

/method=enter variable

execute

S einfache lineare Regression

New cards
48

Regression

/missing listwise

/statistics coeff outs r anova

/citeria=pin(0.5) pout (.10)

/noorigin

/dependent variable

/method=enter variable variable.

execute.

S Multible lineare regression

New cards
49

data()

R in R gespeicherte Datensätze abrufen

New cards
50

str()

Struktur des Datensatzes anzeichnen

New cards
51

install.packages()

R pakete herunterladen

New cards
52

Freq variable/statistics=mean stddev median mode.

execute

S Mittelwert Median etc

New cards
53

library()

pakete aktivieren

New cards
54

New cards
55
New cards

Explore top notes

note Note
studied byStudied by 8 people
Updated ... ago
4.0 Stars(1)
note Note
studied byStudied by 19 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 149 people
Updated ... ago
5.0 Stars(3)
note Note
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)

Explore top flashcards

flashcards Flashcard30 terms
studied byStudied by 14 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard23 terms
studied byStudied by 5 people
Updated ... ago
4.0 Stars(106)
flashcards Flashcard105 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard21 terms
studied byStudied by 17 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard22 terms
studied byStudied by 29 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard54 terms
studied byStudied by 14 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard62 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard21 terms
studied byStudied by 39 people
Updated ... ago
5.0 Stars(2)