Displaying 2 results from an estimated 2 matches for "inisal_us_forhist".
2011 Jan 13
1
Fitting an Inverse Gamma Distribution
...ch a package using findFn('fit Inverse
Gamma') from the 'sos' package and was therefore hoping someone might be
aware of such a function?
Secondly, is there a way to shift the pdf (code below) to the right (rather
than the data to the left)? I tried:
par(new=T)
shift<-1
hist(iniSal_US_forHist,breaks=seq(1.1,21,by=0.625),col="grey",freq=F,xlim=c(0-shift,21-shift),plot=F)
curve(dinvgamma(x,scale=11.835,shape=4.4242),from=0,to=20,add=T,col="purple",lwd=2)
but this failed in shifting the curve. More broadly, the data plotted in
the histogram represents a calibration ta...
2011 Jan 07
0
Fitting an Inverse Gamma Distribution to Survey Data
...amma-td825481.html#a825482
But I think I'm misunderstanding the suggestion made in that post. Is there
way to estimate the shape and rate parameters for an inverse-gamma and then
plot the PDF as I have done below using other more readily available pdf's
in R?
Thanks, Eric
library(MASS)
iniSal_US_forHist<-c(2.368000,3.532614,3.064330,3.347069,3.066333,4.233636,3.465650,2.858553,
2.946731,2.945417,2.415000,2.873019,5.521000,5.788148,5.314630,5.509672,6.032840,6.009310,
4.110833,6.073182,5.652833,4.425733,6.481852,4.076857,3.289310,4.524000,3.985811,5.399714,
4.490606,6.956729,5.270933,8.099107,5....