Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

240 results for “from:Giovanni Petris”

StructTS standard errors
Giovanni Petris · Dec 17, 2009 · r-help

Hello, Does anybody know if (and how) it is possible to obtain standard errors of estimated variances from StructTS? (R 2.10.0). Thank you in advance, Giovanni

Logical matrices
Giovanni Petris · Nov 5, 2003 · r-help

consult the help page for || ?"||" -- __________________________________________________ [ ] [ Giovanni Petris GPetris at uark.edu ] [ Department of Mathematical Sciences ] [ University of Arkansas - Fayetteville, AR 72701 ] [ Ph: (479) 575-6324, 575-8630 (fax) ] [ http://definetti.uark.edu/~gpetris/ ] [__________________________________________________]

Why is 0 not an integer?
Giovanni Petris · Aug 6, 2009 · r-help

I ran an instant experiment... > typeof(0) [1] "double" > typeof(-0) [1] "double" > identical(0, -0) [1] TRUE Best, Giovanni > By the way: > > Are there difference between -0 and 0?

Installing on Windows packages build on Unix
Giovanni Petris · Jun 28, 2004 · r-help

Thank you to all who responded. In the end the simple solution suggested by Peter Dalgaard worked for us: install the package and zip the resulting directory. (So, incidentally, this still works with R 1.8.0) Thanks, Giovanni

how to remove NaN columns ?
Giovanni Petris · Oct 24, 2003 · r-help

> > xs <- lapply(xdata, function(x){(x - mean(x))/sqrt(var(x))}) Incidentally, the function 'scale' does just that. -- __________________________________________________ [ ] [ Giovanni Petris GPetris at uark.edu ] [ Department of Mathematical Sciences ] [ University of Arkansas - Fayetteville, AR 72701 ] [ Ph: (479) 575-6324, 575-8630...

generating data
Giovanni Petris · May 7, 2004 · r-help

> Hello > I am trying to generate data in say 2D "x,y" for a > circle. ^^^^^^^^ I think data are usually collected... GP -- __________________________________________________ [ ] [ Giovanni Petris GPetris at uark.edu ] [ Department of Mathematical Sciences ] [ University of Arkansas - Fayetteville, AR 72701 ] [ Ph: (479...

comments and Sweave
Giovanni Petris · Oct 22, 2003 · r-help

I am using Sweave to produce handouts for teaching. Is there a way of making Sweave keep the comments following the `#' in the code chuncks? Thanks, Giovanni -- __________________________________________________ [ ] [ Giovanni Petris GPetris at uark.edu ] [ Department of Mathematical Sciences ] [ University of Arkansas...

Line numbering in Sweave
Giovanni Petris · Mar 2, 2011 · r-help

Is there a way of getting line numbers in Schunks? Ideally, I would like to have numbers printed every two or five lines. Thank you in advance, Giovanni -- Giovanni Petris <GPetris at uark.edu> Associate Professor Department of Mathematical Sciences...

getAnywhere
Giovanni Petris · Sep 21, 2007 · r-help

Hello, How can I see a function called "+.dlm"? > methods("+") [1] +.Date +.dlm* +.POSIXt Non-visible functions are asterisked > getAnywhere("+.dlm") Error in grep(pattern, x, ignore.case, extended, value, fixed, useBytes) : invalid regular expression '+\.dlm' Thanks in advance, Giovanni...

OT: data from Harvey's book
Giovanni Petris · Nov 1, 2006 · r-help

Goodmorning, and sorry for the off-topic question. Does anybody know if the data sets used in Harvey's book "Forecasting, structural time series models and the Kalman filter" are available online? Thanks in advance, Giovanni -- __________________________________________________ [ ] [ Giovanni Petris GPetris at...

Printing zero as dot
Giovanni Petris · Apr 3, 2003 · r-help

I'm pretty sure I've seen some examples of a function printing zero entries in a matrix as dots, but I'm not able to find it now... Any suggestions...? Thanks in advance. (Of course, I might have dreamt...

'all' inconsistent?
Giovanni Petris · Jan 30, 2006 · r-help

> I thought all the values are false, all none of them, because there > aren't any that are true: > > any(logical(0)) > [1] FALSE > This is for the same reason why a product over an empty set of factors is...

kalman filter estimation
Giovanni Petris · Nov 15, 2007 · r-help

> > You can live with it, but > > be aware that it is there. My suggestion is to start the optimization > > from several different initial values and compare maximized values of > > the likelihood. Simulated annealing may be used to better explore the...

Suggestions for statistical computing course
Giovanni Petris · Apr 20, 2007 · r-help

Thanks to everybody who responded to my query. I got many useful suggestions about books and editors, plus notes and other material online. Summarizing, the books suggested were - Monahan, Numerical Methods of Statistics - Lange, Numerical analysis for statisticians In terms...

predict( ..., type="terms")
Giovanni Petris · Apr 7, 2004 · r-help

Hello, After reading the help for predict.lm and predict.glm, it is not clear to me what are the values returned by predict( ..., type="terms"). Anybody willing to enlighten me? The example provided by Peter Dalgaard in a recent...

matrices
Giovanni Petris · Nov 15, 2001 · r-help

Check the apply function: > ?apply Giovanni > i've a matrix say a(30,10,5). how can a function (for example histogram) > be used > to calculate along the first axis, or to create a 10x5 matrix of > histograms? -- __________________________________________________ [ ] [ Giovanni Petris...

Quantiles of weighted sample
Giovanni Petris · Oct 8, 2008 · r-help

Hello! I am wondering if there is a function in R that returns quantiles of a weighted sample, i.e., a set of values, each coming with a different weight. The function quantile() does that only for the case when...

Modifying dim attribute of elements of a list
Giovanni Petris · Oct 17, 2003 · r-help

I am creating lists of vectors withing a loop. I also would like to change the dim attribute to the vectors in order to make them matrices. I have tried the following, but it doesn't work... > sim <- c('simMeans...

Bus error with xyplot
Giovanni Petris · Feb 3, 2003 · r-help

Has anybody else experienced something like the example below? Any clues about where I could start looking? Thank you in advance, Giovanni > version _ platform sparc-sun-solaris2.7 arch sparc os solaris2.7 system sparc, solaris2.7 status major 1...

Sweave, beamer and alert within code chunks
Giovanni Petris · May 9, 2012 · r-help

Hi all, Using Beamer, in order to highlight a piece of R code I do something like this - note the "\structure" and "\alert" commands: \begin{semiverbatim} > mleOut <- \structure{dlmMLE}(Nile, + parm = c(0.2, 120), # initial values for optimizer + lower...

Can't find what you're looking for? Try searching with Google .