Displaying 20 results from an estimated 400 matches similar to: "(no subject)"
2005 Sep 06
2
fitting distributions with R
Dear all
I've got the dataset
data:2743;4678;21427;6194;10286;1505;12811;2161;6853;2625;14542;694;11491;
?? ?? ?? ?? ?? 14924;28640;17097;2136;5308;3477;91301;11488;3860;64114;14334
I know from other testing that it should be possible to fit the data with the
exponentialdistribution. I tried to get parameterestimates for the
exponentialdistribution with R, but as the values
of the parameter
2005 Sep 12
1
fit data with gammadistribution
hello
my data is
data2:2743 4678 21427 6194 10286 1505 12811 2161 6853 2625 14542 694
11491 14924 28640 17097 2136 5308 3477 91301 11488 3860 64114 14334
by calculating
shape<-(mean(data2))^2/var(data2)
scale<-var(data2)/mean(data2)
i get the idea what the parameters of the gammadistribution would be.
but if i try using the method mle() i get stock and i don't know, how to
2005 Jul 28
1
conversion from SAS
Hi, I wonder if anybody could help me in converting
this easy SAS program into R.
(I'm still trying to do that!)
PROC IMPORT OUT= WORK.CHLA_italian
DATAFILE= "C:\Documents and
Settings\carleal\My
Documents\REBECCA\stat\sas\All&nutrients.xls"
DBMS=EXCEL2000 REPLACE;
GETNAMES=YES;
RUN;
data chla_italian;
set chla_italian;
2012 Nov 12
1
R lmer & SAS glimmix
Hi,
I am trying to fit a model with lmer in R and proc glimmix in SAS. I have
simplified my code but I am surprised to see I get different results from
the two softwares.
My R code is :
lmer(y~age_cat + (1|cat),data=fic,family=binomial(link = "logit"), NaGQ=1)
My SAS code is :
ods output Glimmix.Glimmix.ParameterEstimates=t_estimates;
proc glimmix data=tab_psi method=laplace;
2024 Apr 15
2
Synthetic Control Method
Good Morning
I want to perform a synthetic control method with R. For this purpose, I
created the following code:
# Re-load packages
library(Synth)
library(readxl)
# Pfadeinstellung Excel-Blatt
excel_file_path <-
("C:\\Users\\xxxxx\\Desktop\\DATA_INVESTMENTVOLUMEN_FOR_R_WITHOUT_NA.xlsx")
# Load the Excel file
INVESTMENTVOLUME <- read_excel(excel_file_path)
#
2005 Sep 09
2
test for exponential,lognormal and gammadistribution
hello!
i don't want to test my sample data for normality, but exponential- lognormal-
or gammadistribution.
as i've learnt the anderson-darling-test in R is only for normality and i am
not supposed to use the kolmogorov-smirnov test of R for parameter estimates
from sample data, is that true?
can you help me, how to do this anyway!
thank you very much!
nadja
2006 Jan 20
3
domU Device eth0 does not seem to be present
I can''t find network device in domU.
Debian domU shows
Configuring network interfaces...SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
and Fedora domU shows:
eth0: unknown interface: No such device
Dom0 is using Fedora with:
kernel-xen-guest.i686 2.6.15-1.29_FC5 installed
kernel-xen-hypervisor.i686
2007 Sep 10
1
MLE Function
I am just trying to teach myself how to use the mle function in R because it is much better than what is provided in MATLAB. I am following tutorial material from the internet, however, it gives the following errors, does anybody know what is happening to cause such errors, or does anybody know any better tutorial material on this particular subject.
>
2008 May 08
3
MLE for noncentral t distribution
I have a data with 236 observations. After plotting the histogram, I found that it looks like non-central t distribution. I would like to get MLE for mu and df.
I found an example to find MLE for gamma distribution from "fitting distributions with R":
library(stats4) ## loading package stats4
ll<-function(lambda,alfa) {n<-200
x<-x.gam
2006 May 12
3
Maximum likelihood estimate of bivariate vonmises-weibulldistribution
Thanks Dimitris!!! That's much clearer now. Still have a lot of work to
do this weekend to understand every bit but your code will prove very
useful.
Cheers,
Aziz
-----Original Message-----
From: Dimitrios Rizopoulos [mailto:Dimitris.Rizopoulos at med.kuleuven.be]
Sent: May 12, 2006 4:35 PM
To: Chaouch, Aziz
Subject: RE: [R] Maximum likelihood estimate of bivariate
2005 Dec 03
1
Fit Frechet Distribution
hello everybody
i want to use the maximum likelihood method to estimate FRECHET parameters of
my sample data.
Should it work with fitdistr in the package MASS?
I only find how to do it for GEV, Gumbel, and almost all other distributions,
but FRECHET?
I would be very happy if somebody can tell me how to do fit the FRECHET
distribution!
Thanks
Nadja Riedwyl
2006 Jan 28
4
bad udp cksum by dns request in domU
Hello
I use XEN 3.0 in debian sarge. I have a domU1 for routing and firewall. This
domU1 use 2 network interfaces which is on a bridge ''gate'' and the other on
bridge ''lan''.
dumU2 use one interface (eth0) on bridge ''lan''.
Then I make a ping out of domU2 to www.debian.de so I get no answer. The name
isn''t resolved. A ping to IP of
2009 Oct 26
0
MLE for noncentral t distribution
Hi,
Actually I am facing a similar problem. I would like to fit both an ordinary (symmetric) and a non-central t distribution to my (one-dimensional) data (quite some values.. > 1 mio.).
For the symmetric one, fitdistr or funInfoFun (using fitdistr) from the qAnalyst package should do the job, and for the non-central one.. am I right to use
gamlss(x ~ 1, family=GT()) ?
Anyway, I am a little
2007 Apr 23
4
Estimates at each iteration of optim()?
I am trying to maximise a complicated loglikelihood function with the "optim" command. Is there some way to get to know the estiamtes at each iteration? When I put "control=list(trace=TRUE)" as an option in "optim", I just got the initial and final values of the loglikelihood, number of iterations and whether the routine has converged or not. I need to know the
2008 Nov 14
0
Error in optim when i call it from a function
Dear R-users
I've got the next problem:
I've got this *function*:
fitcond=function(x,densfun,pcorte,start,...){
myfn <- function(parm,x,pcorte,...) -sum(log(dens(parm,x,pcorte,...)))
Call <- match.call(expand.dots = TRUE)
if (missing(start))
start <- NULL
dots <- names(list(...))
dots <- dots[!is.element(dots, c("upper",
2005 Apr 05
1
Fitdistr and likelihood
Hi all,
I'm using the function "fitdistr" (library MASS) to fit a distribution to
given data.
What I have to do further, is getting the log-Likelihood-Value from this
estimation.
Is there any simple possibility to realize it?
Regards, Carsten
2006 May 11
2
Maximum likelihood estimate of bivariate vonmises-weibull distribution
Hi,
I'm dealing with wind data and I'd like to model their distribution in
order to simulate data to fill-in missing values. Wind direction are
typically following a vonmises distribution and wind speeds follow a
weibull distribution. I'd like to build a joint distribution of
directions and speeds as a VonMises-Weibull bivariate distribution.
First is this a stupid question? I'm
2012 Feb 21
3
HELP ERROR Weibull values must be > 0
GUYS,
I NEED HELP WITH ERROR:
library(MASS)
> dados<-read.table("mediaRGinverno.txt",header=FALSE)
> vento50<-fitdistr(dados[[1]],densfun="weibull")
Erro em fitdistr(dados[[1]], densfun = "weibull") :
Weibull values must be > 0
WHY RETURN THIS ERROR? WHAT CAN I DO?
BEST REGARDS
[[alternative HTML version deleted]]
2008 Oct 09
2
Help MLE
Dear,
I'm starting on R language. I would like some help to implement a MLE
function.
I wish to obtain the variables values (alpha12, w_g12, w_u12) that maximize
the function LL = Y*ln(alpha12 + g*w_g12 + u*w_u12).
Following the code:
rm(list=ls())
ls()
library(stats4)
Model = function(alpha12,w_g12,w_u12)
{
Y = 1
u = 0.5
g = -1
Y*log(alpha12 + g*w_g12 + u*w_u12)
}
res =
2013 Jan 22
2
Assistant
Good-day Sir,
I am R.Language users but am try to? estimate parameter of beta distribution particular dataset but give this error, which is not clear to me: (Initial value in "vmmin" is not finite)
beta.fit <- fitdistr(data,densfun=dbeta,shape1=value , shape2=value)
kindly assist.
expecting your reply: