Displaying 20 results from an estimated 141 matches for "rossi".
Did you mean:
ross
2009 Oct 28
3
Reading data
Hi User's,
This might be a simple question but it is giving me a hard time as I am a
new user.
I installed R version 2.9.2 (2009-08-24)
1. I just copied a short script from Fox (2002) as a practice and wanted
to save it as Rossi.R.
The system saved it without complain but when I looked at using a windows
explorer it is not *.R file but only Rossi. Why this is happening?
2. the script and the data files are in the same working directory. When I
run the following script
> Rossi <- read.table('Rossi',he...
2017 Aug 17
2
PAM Clustering
Dear Germano,
Thank you for your fast reply,
In the above code, *MYData *is the actual data set.
Do not we need to convert *MYData to *the dissimilarity matrix using
*pam(as.dist(**MYData**), k = 10, diss = TRUE*)* code line?*
*Regards.*
On Thu, Aug 17, 2017 at 2:58 PM, Germano Rossi <germano.rossi at gmail.com>
wrote:
> try this
>
> MYdata <- read.csv2("data.txt",dec='.')
> library(cluster)
> cluster.pam = pam(MYdata,10)
> table(cluster.pam$clustering)
> filenameclu = paste("clusters", ".txt")
> write.tabl...
2012 Jun 16
2
How to specify "newdata" in a Cox-Modell with a time dependent interaction term?
...ox's paper "Cox
Proportional - Hazards Regression for Survival Data".
http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-cox-regression.pdf
Do you know any help? See code below
Thanks very much in advance
J?rgen Biedermann
#----------------------------------------
#Code
Rossi <-
read.table("http://cran.r-project.org/doc/contrib/Fox-Companion/Rossi.txt",
header=T)
Rossi.2 <- fold(Rossi, time='week',
event='arrest', cov=11:62, cov.names='employed')
# see below for the fold function from John Fox
# modeling an interaction w...
2017 Aug 17
0
PAM Clustering
...r your fast reply,
>
> In the above code, *MYData *is the actual data set.
>
> Do not we need to convert *MYData to *the dissimilarity matrix using
> *pam(as.dist(**MYData**), k = 10, diss = TRUE*)* code line?*
>
> *Regards.*
>
> On Thu, Aug 17, 2017 at 2:58 PM, Germano Rossi <germano.rossi at gmail.com>
> wrote:
>
>> try this
>>
>> MYdata <- read.csv2("data.txt",dec='.')
>> library(cluster)
>> cluster.pam = pam(MYdata,10)
>> table(cluster.pam$clustering)
>> filenameclu = paste("clusters&quo...
2009 Mar 21
0
Can not replicate estimates with rScreen function from ROSSI "Bayesian Statistics and Marketing"
Hi R-users,
I have the following problem: I am trying to learn something about bayes methodology and started paying around bayesm package, but could not replicate the Conjunctive model's estimates as they appear in Rossi et al "Bayesian Statistics and Marketing", 2005, JWS, pages 264-265, Table CS4.4.
I have downloaded in my working directory the documents from
http://faculty.chicagobooth.edu/peter.rossi/research/bsm.html
and then i have sourced the functions 2 times: one with 1000 MCMC iterations (i si...
2005 Apr 09
1
advice on crafting examples for packages
...using MCMC simulation methods, it takes about 20 minutes to run the complete
set of examples on a 2.8 Ghz windows PC. The R process reaches a high
water mark of about 100 MB of memory as well.
I would appreciate some guidance on this.
many thanks!
peter
................................
Peter E. Rossi
peter.rossi at ChicagoGsb.edu
WWW: http://ChicagoGsb.edu/fac/peter.rossi
SSRN: http://ssrn.com/author=22862
QME: http://www.kluweronline.com/issn/1570-7156
2007 Feb 08
1
Zeta and Zipf distribution
...w a package
(similar to MASS) or a function (similar to fitdistr) I can use to
estimate the parameter of these distributions using MLE method?
Otherwise do you know a function (which use MLE method to estimate
distribution parameters) that allow me to specify a PDF or PMF?
Thanks,
Regards
Mauro Rossi
--
Mauro Rossi
Istituto di Ricerca per la Protezione Idrogeologica
Consiglio Nazionale delle Ricerche
Via della Madonna Alta, 126
06128 Perugia
Italia
Tel. +39 075 5014421
Fax +39 075 5014420
2010 Jul 01
1
Modelling survival with time-dependent covariates
...ix from John Fox on ?Cox Proportional-Hazards Regression for Survival Data? available here:
http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-cox-regression.pdf
I am particularly interested in modelling survival with time-dependent covariates (Section 4).
The data look like this:
> Rossi.2[1:50,]
start
stop arrest.time week arrest fin age race wexp mar paro prio educ employed
0 1 0 20 1 0 27 1 0 0 1 3 3 0
1 2 0 20 1 0 27 1 0 0 1 3 3 0
...
18 19 0 20 1 0 27 1 0 0 1 3 3 0
19 20 1 20 1 0 27 1 0 0 1 3 3 0
0 1 0 17 1 0 18 1 0 0 1 8 4 0
1 2 0 17 1 0 18 1 0 0 1 8 4 0
...
15 16 0 17 1 0 18...
2010 Oct 07
0
Categorical variables and Plotting a Cox model with interaction terms
...site variable is technically a categorical (i.e., not
ranked), random factor but how do I (or can I?)define this?
Fox shows this method for plotting out seperate curves for a single factor:
> mod.allison <- coxph(Surv(week, arrest) ~ fin + age + race + wexp + mar +
> paro + prio,
+ data=Rossi)
> attach(Rossi)
> Rossi.fin <- data.frame(fin=c(0,1), age=rep(mean(age),2),
> race=rep(mean(race),2),
+ wexp=rep(mean(wexp),2), mar=rep(mean(mar),2), paro=rep(mean(paro),2),
+ prio=rep(mean(prio),2))
> detach()
> plot(survfit(mod.allison, newdata=Rossi.fin), conf.int=T,
+ lty=c(1...
2008 Mar 10
1
Check errors using R2.6.2
...s and running examples with no errors or warnings.
when I try with R2.6.2, I get make errors:
making bayesmc.d from bayesmc.c
make[3]:gcc-sjlj: Command not found
etc.
my gcc is version 3.4.2
I'm using Windows XP.
Any thoughts?
thanks!
peter r
................................
Peter E. Rossi
Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics
Director, Kilts Center for Marketing
Editor, Quantitative Marketing and Economics
Rm 353, Graduate School of Business, U of Chicago
5807 S. Woodlawn Ave, Chicago IL 60637
Tel: (773) 702-7513 | Fax: (773) 834-2081
WWW:...
2011 Sep 10
3
Very slow using S4 classes
...as an
element of a list in the slot ListExamples of the S4 object. However, many
operations after this take a considerable time.
Can anyone explain me why dois it happen? Is it possible to speed up an
script that deals with a big number of data (it might be data.frame or
list)?
Thank you,
André Rossi
setClass("Buffer",
representation=representation(
Listexamples = "list",
idx = "integer"
)
)
[[alternative HTML version deleted]]
2006 Oct 28
2
Package development on Windows - latest guidance?
...C or Fortran.
I've installed Rtools, Perl, the MS hhc, and so on. I am
setting up a command shell with the correct PATH for building
packages. (The master Windows PATH points to different
versions of make and grep that I prefer for my usual work.)
Two questions:
1. GUIDANCE. Is the Peter Rossi document now the best place
to look for detailed guidance? I have located it at
http://www1.appstate.edu/~arnholta/Software/MakingPackagesUnderWindows.pdf
The links to it on the R Project Website are no longer good. I
am also reading at the latest version of "Writing R
Extensions."
2....
2012 Mar 15
2
Integrate inside function
...mixedgamma$value))
}
Why doesn't this calculate cumdensity (p.mixedgamma) in case x is a vector?
For instance try:
pmixedgamma3(c(10,20),shape1=10,rate1=1,shape2=10,rate2=1,prev=0.5)
As you can see cumdensity is calculated just for the first x value.
Thanks in advance
Best
Mauro
--
Mauro Rossi
Istituto di Ricerca per la Protezione Idrogeologica
Consiglio Nazionale delle Ricerche
Via della Madonna Alta, 126
06128 Perugia
Italia
Tel. +39 075 5014421
Fax +39 075 5014420
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Parte allegato al...
2005 Apr 16
0
bayesm: a package for Bayesian infererence for Marketing/Micro-Econometrics
...nal survey data with scale usage heterogeneity
after installing the package, use help.search("mcmc") to display
the key functions.
bayem implements the models discussed in our book, Bayesian Statistics and Marketing
To view a draft of the book visit
http://gsbwww.uchicago.edu/fac/peter.rossi/research/bsm.html
We would very much appreciate any comments/errors/suggestions for future development.
................................
Peter E. Rossi
Joseph T. Lewis Professor of Marketing and Statistics
Editor, Quantitative Marketing and Economics
Rm 360, Graduate School of Business, U o...
2005 Apr 13
1
package submission and binary versions
...r you by someone working with CRAN. I submitted my
package using R CMD build but without the binary flag on. I'd like
to have a binary version available for Windows users. Should I submit
a precompiled binary version as well?
many thanks!
peter r
................................
Peter E. Rossi
Joseph T. Lewis Professor of Marketing and Statistics
Editor, Quantitative Marketing and Economics
Rm 360, Graduate School of Business, U of Chicago
5807 S. Woodlawn Ave, Chicago IL 60637
Tel: (773) 702-7513 | Fax: (773) 834-2081
peter.rossi at ChicagoGsb.edu
WWW: http://ChicagoGsb.edu/...
2005 Apr 16
0
bayesm: a package for Bayesian infererence for Marketing/Micro-Econometrics
...nal survey data with scale usage heterogeneity
after installing the package, use help.search("mcmc") to display
the key functions.
bayem implements the models discussed in our book, Bayesian Statistics and Marketing
To view a draft of the book visit
http://gsbwww.uchicago.edu/fac/peter.rossi/research/bsm.html
We would very much appreciate any comments/errors/suggestions for future development.
................................
Peter E. Rossi
Joseph T. Lewis Professor of Marketing and Statistics
Editor, Quantitative Marketing and Economics
Rm 360, Graduate School of Business, U o...
2007 Jul 25
1
qda(MASS) function error
...le
values: 0 and 1, but in the rest of group of variables, some similar
variables are considered.
I don't have this problem using lda function for linear discriminant
analysis.
What does this error message mean?
What types of variables does qda function consider?
Thank in advance,
Mauro Rossi
--
Mauro Rossi
Istituto di Ricerca per la Protezione Idrogeologica
Consiglio Nazionale delle Ricerche
Via della Madonna Alta, 126
06128 Perugia
Italia
Tel. +39 075 5014421
Fax +39 075 5014420
2017 Aug 17
0
PAM Clustering
...t.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
==================
Germano Rossi, Dipartimento di Psicologia, Universita' degli Studi di
Milano Bicocca
Piazza dell'Ateneo Nuovo, 1- 20126 Milano - Italy
[[alternative HTML version deleted]]
2006 Jan 16
3
run-time of an R function
...ese lists. The list
structures
can be nested several levels deep, e.g. a list of lists.
Are there particular aspects of R function programming to watch out for
that can create this sort of problem?
I'm running windows R v 2.2.1
thanks!
peter r
................................
Peter E. Rossi
Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics
Editor, Quantitative Marketing and Economics
Rm 353, Graduate School of Business, U of Chicago
5807 S. Woodlawn Ave, Chicago IL 60637, USA
Tel: (773) 702-7513 | Fax: (773) 834-2081
2017 Aug 17
2
PAM Clustering
[This email is either empty or too large to be displayed at this time]