Displaying 6 results from an estimated 6 matches for "berechnung".
2010 Aug 05
1
Error in as.environment(pos): using 'as.environment(NULL)' is defunct
...e code:
....
HZ<-tclVar(seq(length=a,from=1,by=0)) #(a is defined by a
tkentry-element)
VZ<-tclVar(seq(length=a,from=1,by=0))
Aktivit?t<-tclVar(seq(length=a,from=1,by=0))
VKG<-tclVar(3)
Zugeh?rigkeit is a matrix.
#The values can be changed by a tkentry-element.
handler.Berechnung<-function() {
tkconfigure(Ergebnisfenster,
textvariable=tclVar(test2(as.numeric(tclObj(VKG)),as.numeric(tclObj(HZ))
,as.numeric(tclObj(VZ)),as.numeric(tclObj(Aktivit?t)),as.numeric(tclObj(
tclArray1)))))
}
test2 <- local({source("C:/Berechnung_Funktion.R", local = TRUE)
environment...
2013 Jun 05
2
combining two different matrizes
...? ?j <- i+59
? ?#RegressionsVariable
? ?x = residual[i:j,a]
? ?rm = residual[i:j,12]
? ?smb = residual[i:j,13]
? ?hml = residual[i:j,14]
? ?rf = residual[i:j,15]
? ?#?berschussrenditen
? ?ex=x-rf
? ?erm=rm-rf
? ?#Regression
? ?reg <- lm(ex~erm+smb+hml)
? ?reglist[[i]] <- coef(reg)
? ?
#Berechnung Residuum
? ?? ?#Residual Berechnung
? ?? ?rx = residual[(j-5):j,a]
? ?? ?rrm = residual[(j-5):j,12]
? ?? ?rsmb = residual[(j-5):j,13]
? ?? ?rhml = residual[(j-5):j,14]
? ?? ?rrf = residual[(j-5):j,15]
? ?? ?rex = rx-rrf
? ?? ?rerm = rrm-rrf
? ?? ?#Berechnung
? ?? ?res <-
sum(rex-(reglist[[i]][...
2009 Jan 22
1
looping over a string
...nearly the same again: I create another string-vector
and I want to assign the variance. So I have to loop over the first
string-vector.
But this does not work unfortunately. I looked in the R-list-search but
I cannot find the right answer.
Please find enclosed the pseudo-code:
#Tage zwischen berechnung und 31.03.2009
Berechnung<-as.Date("22.01.2009","%d.%m.%Y")
Enddatum<-as.Date("31.03.2009","%d.%m.%Y")
Tage<-difftime(Enddatum, Berechnung)
Tage<-as.numeric(substr(format(Tage),1,2))
#maximal interessierend sind 100 Tage (4 Monate)-Differenzen
ma...
2011 Jul 29
3
Problems with ks.test()
...0
0
[73] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
[91] 0 0 0 0 0 0 0 0 0 0
[1] "Ergebnisse"
[1] "Analyse der Eingangsdaten"
[1] "Mean: 0.104537195"
[1] "SAbw.: 0.0277657985898433"
[1] "Parameter-Berechnung der Daten bei angenommener Gumbelverteilung"
[1] "Mue: 0.0920411082987717"
[1] "Beta: 0.0216489043196013"
[1] "KS-Test -> 1000 Werte, 100 Bins, x: Klassenmitten, y1, y2 =
Histogrammh?hen"
[1] "KST D: 0.04"
[1] "KST P: 1"
XXX Case 4...
2002 Jul 03
3
latex
Hi,
i'm a newbie with latex and postscript but recognize
the power in combination wit R .
...current i don't now how i have to "inform" R1.5.0(patched) about my
MikeTex installation on windows 2000 and get following
latex(table)
Warning messages:
1: cat not found
2: cd not found
3: xdvi not found
P.S. maybe i must define in Rprofile something ???
Thanks for help and
2002 Jan 25
1
Fw: Summary for Distance matrix by cosine?
...answers! a. However, as far as I know the cosine is not the
same as the Pearson correlation (only in special cases).
b. Reid Huntsinger's hint was very useful, however I had to transpose the
matrix first, for I want to calculate the distance of the _rows_.
Regards,
Petra Steiner
#Funktion: Berechnung der Distanzmatrix mit dem Kosinus als Abstandsmass
library(Matrix)
normalize <- function(ma) {
# zunaechst werden die Zeilen der Matrix normalisiert
nreihe <- nrow(ma)
nspalte <- ncol(ma)
print(nspalte)
c <- matrix(NA, nreihe, nspalte)
row.names(c) <- row.names(ma)...