rstatistics

  1. B

    Which stats test should I use?

    I have an experiment to look at habitat preferences of beetles and the effect of competition. In the first test, a beetle is on his own in an arena and I measured the % of time he spends in each of THREE types of habitat (open, bush and underground). I repeat this experiment with several...
  2. D

    R shiny: Storing reactive data as a dataframe with factor values for predictive model

    i made a random forest predictive model and want my users to input the independent variables and predict the dependent variable. i'm using shiny to implement this. i am getting the following error as the reactive values are stored as character inputs where as my predictive model is built with...
  3. C

    Generate Grouped Data with Exact Correlations, Means, and SD

    want to generate data with the following constraints. There is one factor and two numeric variables. Note that the desired mean structure is broken down by factor, which is what makes this a challenging problem. Correlation between two variables is set (e.g., .50). Mean/SD for group (there...
  4. C

    What model should I use? Studbook data

    Hi all, I use R and want to analyze a dataset from a studbook that contains information of populations of the same species on different locations. I want to see if there are differences between these populations. The response variables are Lx (survivorship), which is a probability, and Mx...