Displaying 20 results from an estimated 2000 matches similar to: "Really need help here"
2012 Oct 04
2
Help with R Fitting an inverse Gamma
Dear all,
I am new in R and would like to ask for someone's help in understanding
where I go wrong with the following code:
rm(list=ls())
# Required packages
library(MCMCpack)
# Simulated data
set.seed(1)
data = rinvgamma(n=250, shape = 5, scale = 2) + 2
hist(data)
# log-likelihood
ll = function(par){
if(par[1]>0 & par[2]>0 & par[3]<min(data)) return(
2009 Oct 08
3
foreach loop - rejection method
Hi Everybody,
Thanks in advance for your help.
This is my first time using the foreach statement and I cant get it to work
properly so here is what i have
test<-function(){
repeat {
cand2[l-1]<-rinvgamma(1,phi,lambda[l-1])
q2<-dinvgamma(cand2[l-1],phi,lambda[l-1])
p2<-cand2[l-1]^-1.5*exp(-y[l]^2/(2*cand2[l-1]))*exp(-((log(cand2[l-1])-mu_t_cand[l-1])^2)/2*sigmasq)
A log on Bayesian statistics, stochastic cost frontier, montecarl o markov chains, bayesian P-values
2004 Feb 17
0
A log on Bayesian statistics, stochastic cost frontier, montecarl o markov chains, bayesian P-values
Dear friends,
Over the past weeks, I have been asking a lot of questions about how to
use R in Bayesian analysis. I am brand new to R, but I am very pleased with
it. I started with winbugs but I found winbugs to be a limited software, not
bad but has several limitations. By contrast, R allows the analyst to tackle
any problem with a huge set of tools for any kind of analysis. I love R. In
2009 Jun 22
1
wine is not showing chars when typing
I have a strange problem with an application i use based on WTK-4GL server.
my client machine first boots the wtk-4gl server appliance, then i do
ssh sigam at 4GLSERVER 'cd salarios/bin/; export FGLGUI=1; export FGLSERVER=HOST1; USERNAME=sigam; fglrun newsal_4js'
this action brings a display with a login and password to my machine.
Until now everything is ok.
When i was using wine
2011 Jan 13
1
Fitting an Inverse Gamma Distribution
http://r.789695.n4.nabble.com/file/n3216865/Inverse_Gamma.png
Hello,
I am seeking help in estimating the parameters of an inverse gamma
distribution (from the 'actuar' package) using a function like 'fitdistr'.
Unfortunately I haven't found such a package using findFn('fit Inverse
Gamma') from the 'sos' package and was therefore hoping someone might be
aware
2007 Feb 11
0
problem with rinvgamma ?
Hi,
By rinvgamma(10000,1.33,2.33) , am I supposed to get a var=3 ? Tried it many times , not even close. Why is this?
thanks a lot .
best
2012 Apr 30
3
95% confidence interval of the coefficients from a bootstrap analysis
Hello,
I am doing a simple linear regression analysis that includes few variables.
I am using a bootstrap analysis to obtain the variation of my variables to
replacement.
I am trying to obtain the coefficients 95% confidence interval from the
bootstrap procedure.
Here is my script for the bootstrap:
N = length (data_Pb[,1])
B = 10000
stor.r2 = rep(0,B)
stor.r2 = rep(0,B)
stor.inter =
2012 Apr 30
0
Extracting coefficients values with bootstrap
Hello fellow R users,
I am trying to extract the coefficient values during a bootstrap operation.
Here is the list of my variables that I would like to extract the
coefficient values from:
(Intercept)
LogRds_25k
GeoRockbimodal volcanic rocks
GeoRockgranodiorite, quartz diorite
GeoRockintermediate volcanic
2017 Sep 28
1
upgrade to 3.12.1 from 3.10: df returns wrong numbers
Hi,
When I upgraded my cluster, df started returning some odd numbers for my
legacy volumes.
Newly created volumes after the upgrade, df works just fine.
I have been researching since Monday and have not found any reference to
this symptom.
"vm-images" is the old legacy volume, "test" is the new one.
[root at st-srv-03 ~]# (df -h|grep bricks;ssh st-srv-02 'df -h|grep
2007 May 22
0
[LLVMdev] Compiling llvm-gcc in linux/ppc
OK, seems like there were unused TARGET_MACHO macros that would protect
these errors from happening. I made some modifications that add #if
TARGET_MACHO.
Now the error is a linkage problem:
/home/varth/project/llvm-cvs/llvm-gcc4/obj/gcc/xgcc: symbol lookup
error: /home/varth/project/llvm-cvs/llvm-gcc4/obj/gcc/libgcc_s.so.1:
undefined symbol: __thenan_sf
And even if I force the definition of
2006 Feb 21
0
OT Proftpd stopped authenication for users
For some reason proftpd stopped authentication for users. Anonymous
access still works but when someone tries to access the server via their
login it no longer authenticates them. I recently ran yum where proftpd
was updated (that said, I'm not sure that caused the problem). I
uninstalled the new version and and installed a prior version with no
change. Below is a look at my config, a
2007 May 15
2
[LLVMdev] Compiling llvm-gcc in linux/ppc
Chris Lattner wrote:
>
> This looks like you're compiling llvm-gcc3, which is quite dead by now.
> Please follow these instructions:
> http://llvm.org/docs/CFEBuildInstrs.html
>
>
Oups, sorry for that. Here is the error message with the latest svn version:
gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic
2007 May 23
0
[LLVMdev] Compiling llvm-gcc in linux/ppc
Hi Chris,
Chris Lattner wrote:
> On Tue, 22 May 2007, Nicolas Geoffray wrote:
>
>> OK, seems like there were unused TARGET_MACHO macros that would protect
>> these errors from happening. I made some modifications that add #if
>> TARGET_MACHO.
>>
>
> ok. If you send a patch in that adds these, I would be happy to apply it.
>
>
I will when
2007 May 23
2
[LLVMdev] Compiling llvm-gcc in linux/ppc
On Tue, 22 May 2007, Nicolas Geoffray wrote:
> OK, seems like there were unused TARGET_MACHO macros that would protect
> these errors from happening. I made some modifications that add #if
> TARGET_MACHO.
ok. If you send a patch in that adds these, I would be happy to apply it.
> Now the error is a linkage problem:
>
> /home/varth/project/llvm-cvs/llvm-gcc4/obj/gcc/xgcc:
2011 Dec 03
2
density function always evaluating to zero
Dear R users,
I'm trying to carry out monte carlo integration of a posterior density
function which is the product of a normal and a gamma distribution. The
problem I have is that the density function always returns 0. How can I
solve this problem?
Here is my code
#generate data
x1 <- runif(100, min = -10, max = 10)
y <- 2 * x1^2 + rnorm(100)
# # # # # # # # Model 0 # # # # # # #
2007 Jan 25
4
Benchmarking
I wasted too much time today doing this, but they do show a few
interesting things:
1) mmap_disable=yes is faster than mmap_disable=no. I didn't expect
this. I'm not yet sure why this is, but possibly because then it updates
the mail index by reading the changes from dovecot.index.log, instead of
reopening and re-mmaping dovecot.index. At least that's the biggest
difference between
2000 Jul 28
2
Loop removal?
Dear all,
I've got a quite large dataframe (stor) with rows subject and rt (reaction
time). I would like to split the reaction times per subject into 6 bins of
equal size. Right now, I'm using the following code:
bindata <- function(rt) {
bindata <- rep(-1,length(rt))
binwidth <- length(rt)/6
bindata[order(rt)[(0*binwidth)+1:(1*binwidth)]] <- 1
2023 Feb 14
1
failed to close Bad file descriptor on file creation after using setfattr to test latency?
Hi all,
Running into a problem with my gluster here in a LAB env. Production is a
slightly different build(distributed replicated with multiple arbiter
bricks) and I don't see the same errors...yet. I only seem to have this
problem on 2 client vm's that I ran "setfattr -n trusted.io-stats-dump -v
output_file_id mount_point" on while trying to test for latency issues.
Curious
2007 Mar 29
1
uiddir mailbox format with benchmarks
I cleaned up the lib-storage code a bit so that it's easier to write
support for new mailbox formats. It could still use a bit of cleaning
up.
Anyway, I thought I'd try how easy it would be to implement Cyrus-like
mail store which would consist of only Dovecot's index files and
"<uid>." message files. Flags and everything else is kept only in
Dovecot's index files
2013 Jul 17
1
pop3c migration?
Hi,
I'm running dsync migrations using imapc and the source IMAP server is
just too slow. It has taken 8 hours to migrate a mailbox with 47,000
messages. It seems most of the mailboxes are never accessed with IMAP,
so it would be just as good to migrate them via POP3 which should work
faster in my case.
Is this actually meant to work?
doveadm -D -o pop3c_user=xxxxxx at example.com -o