Displaying 1 result from an estimated 1 matches for "pdf_formula".
Did you mean:
df2formula
2010 May 07
2
smooth line overlap with histogram
...counts from histogram and calculate the probability in
## each specified interval. Also check the length of the interval is
## the same with the length of the fitted model.
hct <- c(0,histo$counts)/length(datobs)
## use barplot and lines to overlap the observed and fitted data
> y <- pdf_formula.2*50
[1] 0.000000e+00 2.422196e-01 2.445114e-01 1.826918e-01 1.236800e-01 7.965830e-02 4.978001e-02 3.048459e-02 1.839873e-02
[10] 1.098342e-02 6.500920e-03 3.821499e-03 2.233833e-03 1.299656e-03 7.531443e-04 4.349116e-04 2.494558e-04 1.365303e-04
[19] 6.142313e-05
barplot.x.location <-
barp...