Recent content by gianmarco

  1. gianmarco

    t-test on ancient sacrificial victims' bones: which one?

    Hello. I am glad that makes sense. Are you on ResearchGate or Academia? I would like to keep myself update about that interesting piece of research.
  2. gianmarco

    t-test on ancient sacrificial victims' bones: which one?

    Hello, thanks for taking the time to describe your previous and current research in detail. To cut the long story short, I understand that your main goal is to understand (or back up statistically) if the underrepresentation of small bones is statistically testable. Now, it could be I am wrong...
  3. gianmarco

    t-test on ancient sacrificial victims' bones: which one?

    @ButtMike: as an archaeologist myself, I am curious about your issue, and I would like to help. However, from your description, I couldn't wrap my head around your data (what they look like or are organized). Should you provide some more detail, possibly providing a sample dataset, I would not...
  4. gianmarco

    peeling the onion: plotting only the inner 95% of 1000 cumulative frequency curves

    @Dason: thanks indeed for your help, which has been much appreciated. As a token of my good will in trying to solve my problems by myself (at the best of my R programming skills), I am pasting below a sligthly modified version of the function, in which I added the expected CFD and, instead of...
  5. gianmarco

    Matt Whiteny U test Vs T test

    "The permutation test is useful even if we plan to use the two-sample t test. Rather than relying on Normal quantile plots of the two samples and the central limit theorem, we can directly check the Normality of the sampling distribution by looking at the permutation distribution. Permutation...
  6. gianmarco

    Question about chi-square test and single columns

    Apologies if I go back to the very core of your main question, but I do not fully understand the reason why you may want to "modify" the chi-sq test when it actually proves fit to your situation. What I mean is that chi-sq test is meant to test if a significant association exists between the...
  7. gianmarco

    peeling the onion: plotting only the inner 95% of 1000 cumulative frequency curves

    I will try to provide more details and reproducible examples to hopefully get further help. I am going to provide link to two .rtf files; I tried to paste the two datasets here, but there seems to be a 1000 words limitation. I have a set of distances; each value is the distance of a given point...
  8. gianmarco

    peeling the onion: plotting only the inner 95% of 1000 cumulative frequency curves

    Hello @Dason, I went through the code today but I seem I have hard times to adapt it to my situation. Would you mind to help me to sort out things? In particular, where I am stuck is in the first part of your suggested code; what bit(s) of your code would correspond to my observed data, and...
  9. gianmarco

    peeling the onion: plotting only the inner 95% of 1000 cumulative frequency curves

    Dason: thanks for the code. However, I get an error upon running this: lower <- apply(out, 2, quantile, probs = .025) All goes smooth until I hit that line. Any idea? Does it work for you?
  10. gianmarco

    peeling the onion: plotting only the inner 95% of 1000 cumulative frequency curves

    @Dason: thanks for your reply. First of all, I wasn't so clear in my thread when I said about only keeping the middle 95%. In effect, I would like to just leave two curves representing the two "boundaries" (lower and upper) of the envelope. That said, do you have any suggestion as to how to...
  11. gianmarco

    peeling the onion: plotting only the inner 95% of 1000 cumulative frequency curves

    Hello, I am playing around with the function below, which (using the dataset appended further below) produces the attached plot. The functions requires the rgeos and spatstat packages. I put some comments to the code to explain what it is actually going on. To get the plot use: advNNa(springs)...
  12. gianmarco

    Question about chi-square test and single columns

    I do not understand why you want to do that? Do you know in which context chi-sq test is used and which question it actually aims to address?
  13. gianmarco

    testing the association between points and any of the points belonging to another set of point: am I approaching it correctly?

    I come up with the approach on the basis of O'Sallivan-Unwin, "Geographic Information Analysis", 2010, p. 104, who say: Now, my main issue is whether I am right in thinking that, while for equal-sized polygons (quadrats) p=1/x, for unequal-sized polygons p=size of each quadrat relative to the...
  14. gianmarco

    testing the association between points and any of the points belonging to another set of point: am I approaching it correctly?

    Hello, I am trying to put togheter an R function to test if points in a given area tend to occur closer to any point belonging to another set of point, or if they are distributed irrepsective of the distance from the latter. I would like to have some feedback on the method I applied, especially...