search for: rel_obs

Displaying 2 results from an estimated 2 matches for "rel_obs".

Did you mean: refobs
2010 May 11
1
kernel density to smooth plots
Hi r-sers, I have a data of relative frequencies for the interval of 0-20, 20-40,...380-400.  I would like the two data on the same graph using the same x-axis label.  My question is how to get a smooth curve using kernel density code if it possible for this data.   > cbind(rel_obs,rel_gen)           rel_obs rel_gen  [1,] 0.000000000  0.0000  [2,] 0.092534175  0.0712  [3,] 0.105152471  0.1092  [4,] 0.095688749  0.1264  [5,] 0.107255521  0.1143  [6,] 0.098843323  0.1063  [7,] 0.085173502  0.0878  [8,] 0.084121977  0.0727  [9,] 0.064143007  0.0637 [10,] 0.056782334  0.0475 [11,...
2010 Jul 28
1
anderson-darling test
...it does not recognise the test by Vito Ricci in FITTING DISTRIBUTIONS WITH R   > ad.test(hist_hume_beec[,1],hist_hume_beec[,2]) Error: could not find function "ad.test" I also tried stat.ad from surv2.ks {surv2sample} but not really sure how to use it. Here are the data:           rel_obs      rel_gen  [1,] 0.000000000 0.0000000000  [2,] 0.052576236 0.0282122554  [3,] 0.085173502 0.0752419321  [4,] 0.080967403 0.0986985317  [5,] 0.091482650 0.1060457970  [6,] 0.092534175 0.1035785945  [7,] 0.073606730 0.0956528954  [8,] 0.077812829 0.0851286202  [9,] 0.078864353 0.0738023237 [10,] 0...