[R] Is possible, on biological grounds, suggest to fitdistr (MASS library) that the estimated parameters must be between two values?

2008-10-30 Thread drbn
Sorry if it is a silly question, I haven't found documentation on this and I don't know if it is possible. library(MASS) ## for fitdistr library(msm) ## for dtnorm #prepare truncated normal distribution dtnorm0 <- function(x, mean, sd , log = FALSE) { dtnorm(x, mean, sd, 105, 135, log) }

Re: [R] distributions and glm

2008-10-21 Thread drbn
s function? Are these means more appropiate to use in a glm? Thanks in advance David Ruben Roa Ureta wrote: > > drbn wrote: >> Hello, >> I have seen that some papers do this: >> >> 1.) Group data by year (e.g. 35 years) >> >> 2.) Estimate the mean

[R] distributions and glm

2008-10-20 Thread drbn
Hello, I have seen that some papers do this: 1.) Group data by year (e.g. 35 years) 2.) Estimate the mean of the key variable through the distribution that fits better (some years is a normal distribution , others is a more skewed, gamma distribution, etc.) 3.) With these estimated means of ea

Re: [R] stablefit can fit the parameters of a truncated normal distribution?

2008-10-17 Thread drbn
Frain wrote: > > This idea is very wrong, Have a look at the function cnormal1 in the > VGAM package > > John frain > > 2008/10/15 drbn <[EMAIL PROTECTED]>: >> >> I'm using stableFit from the package fBasics to estimate the parameters >> of a >&

[R] stablefit can fit the parameters of a truncated normal distribution?

2008-10-15 Thread drbn
I'm using stableFit from the package fBasics to estimate the parameters of a truncated normal distribution (I'm interested in the parameters of the underlying normal distribution). It is correct to generalize this truncated normal distribution as a stable distribution ? Thanks David -- View thi