Displaying 20 results from an estimated 1000 matches similar to: "missing data treatment in MCMC pack"
2006 May 11
1
about MCMC pack
Hello,
I tryed to use the MCMC pack, particularly the function MCMCirtKd to
simulate the posterior distribution in a multidimensional IRT model.
The code I used is:
posterior1 <- MCMCirtKd(Y, dimensions=2,
item.constraints=list("V2"=list(3,0)),
burnin = 1000, mcmc = 10000, thin=1, verbose = 1, seed = NA,
alphabeta.start = NA, b0 = 0, B0=0, store.item = FALSE,
2006 Aug 11
2
about MCMC pack again...
Hello, thank you very much for your previous answers about the C++ code.
I am interested in the application of the Gibbs Sampler in the IRT
models, so in the function MCMCirt1d and MCMCirtkd. I've found the C++
source codes, as you suggested, but I cannot find anything about the
Gibbs Sampler. All the files are for the Metropolis algorithm.
Maybe I am not able to read them very well, by the
2007 Nov 23
1
Bug in pacf -- Proposed patch (PR#10455)
Dear all,
following the thread
http://tolstoy.newcastle.edu.au/R/e2/devel/07/09/4338.html
regarding the bug in the partial autocorrelation function for
multivariate time series.
I have prepared a web page with patches and relevant information.
http://www2.stat.unibo.it/giannerini/R/pacf.htm
Please do not hesitate to contact me for further clarifications
regards
Simone
--
2020 May 18
1
parRapply and parCapply return a list in corner cases
According to ?parCapply:
parRapply and parCapply always return a vector.
This appears not to be the case in the following minimal reproducible example:
> library(parallel)
> nslaves <- 2
> cl <- makeCluster(nslaves)
> X <- matrix(2,nrow=3,ncol=4)
> X <- rbind(c(1,1,0,1),X)
> tv <- parCapply(cl,X,FUN=function(x){
+
2008 Dec 26
1
/bin/windows/base/rpatched.html page out of date
Dear all,
it looks like that something is wrong with the
/bin/windows/base/rpatched.html page as it seems pointing to the
2.8.1rc version.
Also, I do not know if it is relevant but notice the dates of the
following files on
ftp://ftp.stat.math.ethz.ch/Software/CRAN/bin/windows/base/
R-2.8.1pat-win32.exe 31963 KB 22/12/2008 16.15.00
R-2.8.1rc-win32.exe 31991 KB 25/12/2008 9.30.00
thank
2007 Jun 14
1
building packages under windows
I tried to check or build a package under windows xp but I got the error
the package can not be installed
(without any details in the install.out file)
I work with R-2.5.0, Miktex 2.5.0, and I have installed the unix tools.zip,
Perl and Microsoft HTML Workshop.
The path environment is ok.
Have someone else encountered the same problem?
Thank you,
Cinzia
2009 Jan 08
1
legend() in a multiple figure environment
Dear all,
there seems to be a problem with displayed legends when a multiple
figure environment is used, see the following example:
par(mfrow=c(1,2))
curve(dnorm,col=4,from=-4,to=4);
legend(-4,0.3,legend="curve",lty=1,col=4)
legend(-4,0.2,legend="curve",lty=1,col=4)
On my machines the first time the command legend() is issued the
legend box stretches over the curve.
2007 Jun 12
1
Building packages with subroutine in fortran 90 under windows xp
Hello,
I work under windows xp and I am trying to build a R package with a subroutine written in fortran 90.
I have installed all the updated tools and I am working with R-2.4.0 or R-2.5.0.
When I check a package with a subroutine in fortran 77 (and extension f) everything is ok.
When I try to build the same package with a subroutine in fortran 90 (with extension f90) the following warning
2007 Nov 23
0
Bug in pacf -- Proposed patch
Dear all,
following the thread
http://tolstoy.newcastle.edu.au/R/e2/devel/07/09/4338.html
regarding the bug in the partial autocorrelation function for
multivariate time series.
I have prepared a web page with patches and relevant information.
http://www2.stat.unibo.it/giannerini/R/pacf.htm
Please do not hesitate to contact me for further clarifications
regards
Simone
--
2008 Jun 05
2
qf with infinite df
Dear all,
I found the following behaviour
> rf(5,Inf,Inf)
[1] 1 1 1 1 1
but
> qf(0.1,Inf,Inf)
[1] NaN
Warning messages:
1: In qf(0.1, Inf, Inf) : value out of range in 'lgamma'
2: In qf(p, df1, df2, lower.tail, log.p) : NaNs produced
incidentally,
> pf(1.00000000000001,Inf,Inf)
[1] 1
> pf(1.0000000000000001,Inf,Inf)
[1] 0.5
Is this the expected behaviour?
Thanks
2012 Dec 29
1
bug in plot.ts?
Dear all,
I think I have found a buglet in plot.ts
plot.ts(x=1,type="n") # correct: does not show the plot
plot.ts(x=1,y=1,type="n") # not correct: does show the plot
I did not investigate the problem in depth but it could be related to
the switch xy.labels, in fact
plot.ts(x=1,y=1,type="n",xy.labels=TRUE) # does show the plot
2009 Dec 10
1
switch() called with just the EXPR argument causes R to hang (PR#14124)
Dear all,
switch() called with just the EXPR argument causes R to hang so that the
only way to stop it is to kill R.
Reproducible example:
> switch(EXPR="a")
the internal C subroutine behind switch is do_switch located in
R/src/main/builtin.c
For convenience I reproduce it below.
*****************************************************************************
SEXP attribute_hidden
2010 Oct 03
1
tabulate() does not check for input bounds
Dear all,
it looks like that tabulate() does not check for the bounds of the input.
Reproducible example:
> b <- 1:2
> tabulate(b[1:100])
[1] 1 1
> R.version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status Patched
major 2
minor 11.1
year 2010
month 09
day
2016 Apr 05
0
Under Windows, Rgui and Rterm crash if one tries to close the graphic device while identify or locator are running
Thanks, I'll track this down.
Duncan Murdoch
On 05/04/2016 9:35 AM, Simone Giannerini wrote:
> minimal reproducible example
>
> plot(1,1)
> identify(1,1) # or locator()
>
> now, trying to close the window by clicking on the cross of the upper
> right corner causes Rgui (and Rterm) to crash.
>
> I see the same behaviour on 2 different Windows PC (one with Win 8.1
2009 Nov 20
1
make fails on R r50499 ( openSuSE 11.0 x86-64)
Dear all,
I encountered a problem when compiling the source of R patched 2.10.0
r50499 (19-11-2009)
linked to ACML single threaded (4.2.0 or 4.3.0)
OS: openSuSE 11.0 x86-64
make fails when it comes to installing mgcv with the following
[snip]
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
non esiste un pacchetto chiamato
2009 Mar 30
1
quantile and IQR do not check for numeric input (PR#13631)
This report follows the post
http://tolstoy.newcastle.edu.au/R/e6/devel/09/03/0760.html
where it is shown that quantile() and IQR() do not work as documented.
In fact they do not check for numeric input even if the documentation says =
:
?quantile
x numeric vectors whose sample quantiles are wanted. Missing
values are ignored.
?IQR
x a numeric vector.
> quantile(factor(1:9))
0%
2007 Jun 12
1
package with fortran 90 subroutines under windows xp
Hello,
I work under windows xp and I am trying to build a R package with a
subroutine written in fortran 90.
I have installed all the updated tools and I am working with R-2.4.0 or
R-2.5.0.
When I check a package with a subroutine in fortran 77 (and extension f)
everything is ok.
When I try to build the same package with a subroutine in fortran 90 (with
extension f90) the following warning
2016 Aug 19
0
summary.default rounding on numeric seems inconsistent with other R behaviors
John,
I had raised the matter ten years ago, and I was told that the topic was
already very^3 old
https://stat.ethz.ch/pipermail/r-devel/2006-September/042684.html
there is some discussion on its origin and also a declaration of intents to
change the default behaviour, which, unfortunately, remained a declaration.
I agree that R could do better here, let's hope in less than ten years
2016 Apr 05
2
Under Windows, Rgui and Rterm crash if one tries to close the graphic device while identify or locator are running
minimal reproducible example
plot(1,1)
identify(1,1) # or locator()
now, trying to close the window by clicking on the cross of the upper
right corner causes Rgui (and Rterm) to crash.
I see the same behaviour on 2 different Windows PC (one with Win 8.1
and one with Win 10).
I did not see the problem in linux (see below)
WINDOWS **************
> sessionInfo()
R version 3.3.0 beta
2023 Sep 23
2
NROW and NCOL on NULL
Dear list,
I do not know what would be the 'correct' answer to the following but
I think that they should return the same value to avoid potential
problems and hard to debug errors.
Regards,
Simone
---------------------------------------
> NCOL(NULL)
[1] 1
> NROW(NULL)
[1] 0
> sessionInfo()
R version 4.3.1 RC (2023-06-08 r84523 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)