• Keine Ergebnisse gefunden

k und m Werte pro Vpn sind hier: coef.lab = coef(o.lab)[[1

N/A
N/A
Protected

Academic year: 2021

Aktie "k und m Werte pro Vpn sind hier: coef.lab = coef(o.lab)[[1"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Page 1 of 2

sigmoidbefehle.R 7/4/12 7:50 AM

library(lme4) library(lattice)

source(file.path(pfadu, "sigmoid.txt"))

ovokal = read.table(file.path(pfadu, "ovokal.txt")) tab = with(ovokal, table(Jahr, Vokal))

prop = prop.table(tab, 1)

barchart(prop, auto.key=T, horizontal=F)

o = glm(Vokal ~ Jahr, family=binomial, data = ovokal) k = coef(o)[1]

m = coef(o)[2]

sigmoid(prop, k, m, xlab = "Jahr", ylab = "Proportion", ylim=c(0,1)) labr = read.table(file.path(pfadu, "labr.txt"))

tab.lab = with(labr, table(Stimulus, Urteil)) prop.lab = prop.table(tab.lab, 1)

barchart(prop.lab, auto.key=T, horizontal=F)

# Sigmoid anpassen

# Modell

o.lab = lmer(Urteil ~ Stimulus + (1+Stimulus|Vpn), family=binomial, data = labr)

# Bevölkerung k und m k.lab = fixef(o.lab)[1]

m.lab = fixef(o.lab)[2]

sigmoid(prop.lab, k.lab, m.lab, xlab = "F2 (Hz)", ylab="Proportion /Y/")

# Umkipppunkt der Bevölkerung überlagern u.lab = -k.lab/m.lab

abline(v=u.lab, lty=2) abline(h=.5, lty=2)

# k und m Werte pro Vpn sind hier:

coef.lab = coef(o.lab)[[1]]

# die Umkipppunkte pro Vpn

um.lab = -coef.lab[,1]/coef.lab[,2]

boxplot(um.lab)

alvr = read.table(file.path(pfadu, "alvr.txt"))

# Proportionen berechnen tab.alv =

prop.alv =

# Sigmoid anpassen o.alv =

# m und k der Bevölkerung k.alv =

m.alv =

sigmoid(prop.alv, k.alv, m.alv, xlab = "F2 (Hz)", ylab="Proportion /Y/")

# Umkipppunkt der Bevölkerung überlagern u.alv =

# k und m Werte pro Vpn

(2)

Page 2 of 2

sigmoidbefehle.R 7/4/12 7:50 AM

coef.alv =

# die Umkipppunkte pro Vpn um.alv

boxplot(um.alv)

Referenzen

ÄHNLICHE DOKUMENTE

IDE platform for various programming languages Highly customizable with plugins, such as FeatureIDE For compatibility, we will use version 4.7 (”Oxygen”) 1.

Observe the boot process, paying attention to the following:.. ▲ The light on the SCI cards of the host and

Create an LFS filesystem on one of the RAID arrays created in the previous section, using the mkfs command.. Create a fsck scratch partition be editing

HCRS Census Coef

 Meet your client in a consulting session that you will lead in order to get familiar with the details of your problem..  Present your problem

 Meet your client in a consulting session that you will lead in order to get familiar with the details of your problem..  Present your problem

 Get a time-slot from Bernd Fellinghauer via Doodle (email was sent to you today) for attending an ordinary consulting session.  Your supervisor will contact you to make

 Meet your client in a consulting session that you will lead in order to get familiar with the details of your problem..  Present your problem