I have a set of 18 observations. Three of the observations have a score of over 97 and are associated with a positive response, to which I assign the value of 1.
The remaining 15 observations have scores that are less than 96 and are associated with a negative response, to which I assign the value of 0.
I would like to have R calculate a statistically significant cutoff value associated with a “p value”.
My questions:
What type of data structure do I place my data into?
How do I instruct R to calculate the cutoff value?
What “library” or “package” does R use to calculate the cutoff value?
I have a set of 18 observations. Three of the observations have a score of over 97 and are associated with a positive response, to which I assign the value of 1.
The remaining 15 observations have scores that are less than 96 and are associated with a negative response, to which I assign the value of 0.
I would like to have R calculate a statistically significant cutoff value associated with a “p value”.
My questions:
What type of data structure do I place my data into?
How do I instruct R to calculate the cutoff value?
What “library” or “package” does R use to calculate the cutoff value?
You repeated what you had above. We need some clarification. Try re-phrasing your question. At the moment, it's hard to understand. I'm not sure you understand what a p-value is for. In hypothesis testing, you set up a hypothesis and do a test. A p-value then indicates the likelihood your data would be observed given the null hypothesis is true. It's not generally used as a cutoff.