search for: valori

Displaying 11 results from an estimated 11 matches for "valori".

Did you mean: valeri
2006 Mar 01
1
a strange problem with integrate()
...the simple integral, but: > integrate(g2,-2,2,theta=c(-2,3),xi=c(1,2,5,6),yi=c(1,0,1,1),sigma2=1) Error in integrate(g2, -2, 2, theta = c(-2, 3), xi = c(1, 2, 5, 6), yi = c(1, : evaluation of function gave a result of wrong length > I have checked the integrand function > valori<-seq(-2,2,l=30) > risvalori<-NULL > for(k in valori) risvalori[length(risvalori)+1]<-g2(k,theta=c(-2,3),xi=c(1,2,5,6),yi=c(1,0,1,1),sigma2=1) > plot(valori, risvalori) And the integral exists.. Please, any comment is coming? many thanks, vito -- ==========================...
2008 Aug 28
1
"error using packet 1"
Hello, I'm Giovanni from ROMA.. I can't find a solution for the error: "error using packet 1 the y field is not specified and it has not a default value" (this is my traslation from italian language) The code is: pc<- qqmath(~valori, distribution=function(p) qweibull(p,beta,alpha), prepanel = prepanel.qqmathline, panel = function(x, y) { panel.grid() panel.qqmathline(y, distribution = function(p) qweibull(p,beta,alpha)) panel.qqmath(x, y) }, layo...
2006 Mar 01
0
[Fwd: Re: [R] a strange problem with integrate()]
...ate(g2,-2,2,theta=c(-2,3),xi=c(1,2,5,6),yi=c(1,0,1,1),sigma2=1) > Error in integrate(g2, -2, 2, theta = c(-2, 3), xi = c(1, 2, 5, 6), yi = > c(1, : > evaluation of function gave a result of wrong length > > > > I have checked the integrand function > > > valori<-seq(-2,2,l=30) > > risvalori<-NULL > > for(k in valori) > risvalori[length(risvalori)+1]<-g2(k,theta=c(-2,3),xi=c(1,2,5,6),yi=c(1,0,1,1),sigma2=1) > > plot(valori, risvalori) > > And the integral exists.. > > Please, any comment is coming? > >...
2008 Aug 28
1
error in packet 1
Hello, I'm Giovanni from ROMA.. I can't find a solution for the error: "error using packet 1 the y field is not specified and it has not a default value" (this is my traslation from italian language) The code is: pc<- qqmath(~valori, distribution=function(p) qweibull(p,beta,alpha), prepanel = prepanel.qqmathline, panel = function(x, y) { panel.grid() panel.qqmathline(y, distribution = function(p) qweibull(p,beta,alpha)) panel.qqmath(x, y) }, layo...
2009 Jan 05
1
error message of RODBC...
...E\\nuova tabella terapia occupazionale mod <NA> 'emi tot 2006$' 5 c:\\TABELLE DEFINITIVE\\nuova tabella terapia occupazionale mod <NA> 'RMI E SCALA SPECIFICA$' 6 c:\\TABELLE DEFINITIVE\\nuova tabella terapia occupazionale mod <NA> 'VALORI RANKIN RMI CSS$' TABLE_TYPE REMARKS 1 TABLE <NA> 2 TABLE <NA> 3 TABLE <NA> 4 TABLE <NA> 5 TABLE <NA> 6 TABLE <NA> > table1=sqlFetch(channel,"emi tot 2006 OAI_60g TO FU1$") > str(table1) chr [1...
2009 May 22
0
EM algorithm mixture of multivariate
...pch=20) em2mn<- function(y) { n<-length(y[,1]) p<-matrix(0,n,1) f1<-matrix(0,n,1) f2<-matrix(0,n,1) tau<-matrix(0,n,2) eps<-0.0001 mu01<-c(0,0) mu02<-c(0,0) sd01<-matrix(0,2,2) sd02<-matrix(0,2,2) cov1<-matrix(0,2,2) cov2<-matrix(0,2,2) # 1 inizializzare i valori alpha0= runif(1,0,1) for (j in 1:2) { mu01[j] <- runif(1,min=quantile(y[,j], probs =0.25), max=quantile(y[,j], probs =0.75)) mu02[j] <- runif(1,min=quantile(y[,j], probs =0.25), max=quantile(y[,j], probs =0.75)) } sd01<- var(y[1:round(n/2),]) sd02<- var(y[round(n/2):n,]) #sd01<-s1 #...
2009 May 22
0
EM algorithm mixture of multivariate gaussian
...pch=20) em2mn<- function(y) { n<-length(y[,1]) p<-matrix(0,n,1) f1<-matrix(0,n,1) f2<-matrix(0,n,1) tau<-matrix(0,n,2) eps<-0.0001 mu01<-c(0,0) mu02<-c(0,0) sd01<-matrix(0,2,2) sd02<-matrix(0,2,2) cov1<-matrix(0,2,2) cov2<-matrix(0,2,2) # 1 inizializzare i valori alpha0= runif(1,0,1) for (j in 1:2) { mu01[j] <- runif(1,min=quantile(y[,j], probs =0.25), max=quantile(y[,j], probs =0.75)) mu02[j] <- runif(1,min=quantile(y[,j], probs =0.25), max=quantile(y[,j], probs =0.75)) } sd01<- var(y[1:round(n/2),]) sd02<- var(y[round(n/2):n,]) #sd01<-s1 #...
2008 Mar 15
1
again with polr
....76277 6.03395 6.31709 6.88459 7.27907 7.82273 > 8|9 9|10 > 8.50723 8.83105 > Residual Deviance: 16325.59 > AIC: 16367.59 > (58 observations deleted due to missingness) unfortunately when I do > summary(try.op) I get > summary(try.op) > Errore in svd(X) : valori infiniti o mancanti in 'x' ... infinite or missing values. If I exclude I(eta^2) from the estimation I can do summaries: but I need also I(eta^2) in order to compare this model with the same specification estimated with Ols Can you please help me or give me an hint? If it can be usefu...
2004 Dec 27
0
R: Richiesta informazioni
...>facendo il tirocinio nell'Ufficio di Protezione Civile del >Comune di Prato, >dove sto cercando di effettuare una statistica sui dati >idrometrici rilevati, >relativi ad una serie storica di 12 anni (per ogni anno ?? >in mio possesso un >file txt di valori idrometrici delle letture ogni 15 >minuti). Scopo del lavoro >?? quello di verificare le altezze relative ad una portata >con tempo di ritorno >biennale e quinquennale (che gi?? esistono ma appaiono >sottostimate) in >ottemperanza della c.d. legge Bertolaso...
2012 Nov 26
3
R strange behaviour when building huge concatenation
...t;); caller.setRCode(code); caller.runAndReturnResult("cdBgCe"); ROutputParser parser = caller.getParser(); ArrayList<String> nomi = parser.getNames(); for (String nome : nomi) { double[] previsioni = parser.getAsDoubleArray(nome); logger.info("Nome "+nome+" lunghezza valori "+previsioni.length); for (int i = 0; i < previsioni.length; i++) { logger.info("Valore "+ previsioni[i]); } } } catch (Exception e) { logger.error(e.getMessage(), e); } } By running this code all works pretty good; now i didn't want to use the csv file as data source; I want...
2009 Sep 14
9
ActiveRecord::StatementInvalid (invalid date) with Oracle
Hello all. I am a novice Ruby on Rails programmer, starting my first project using a legacy Oracle 10 database. Using ''reverse_scaffold'' I have created the models/controllers/views for my existing Oracle tables. All seems to work well, using /model/index, /model/show for most of my tables, *except* when one of the tables contains a Oracle ''date'' column, for