generate data

  1. A

    bayes for generating new data

    I am estimating a tree inventory for a city. I have already measured the heights and identified the species for about 1000 trees in some areas of the city and I want to estimate the remaining species composition based on the collected data. There are about 150 different species. I have...
  2. 3

    Generating peer nomination dataset in R

    Hi all, I have been trying to generate a dataset on peer nominations in R. Often in research participants are asked to nominate others in the peer group (or classroom) as a friend. My requirements Each peer has to nominate x other peers as friends Participants can't select themselves...
  3. S

    Generate large dummy variable

    Hey guys. I'm actually a little depressed that I can't figure this one out myself - mostly because it, instinctly, seems easy. Lets say I want to create a data set from scratch. I have a variable, var1, and I want it to be a dummy variable with a specific amount of each. Let's say I want...
  4. S

    Sensitivity and Specificity and explained variance.

    Hi. I have one dependent variable (Y) which is binary. I have this data for 100 subjects. I want to generate binary data for 3 independent variables (X1, X2, X3) (so effectively I want to generate 3 columns of data with 100 values in each column) I want to generate this data according to...