CODAP data generator?

CODAP Forums CODAP Help Forum CODAP data generator?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #785 Score: 1
    Kurt Meyer
    Participant
    1 pt

    <div dir=”ltr”>Can the app generate data?  For example, I would like a selection of 1000 IQ scores drawn from a population that is Normal (100,  10 ) stored as cases in a table.  Is this possible?  I haven’t found a way, so I’ve been using python to generate the list and then importing the list into CODAP.  Is there a better way?</div>

    #786
    Bill Finzer
    Keymaster

    Hi Kurt,

    There is a good way to do this in CODAP.

    1. From the Table icon menu choose –new–.
    2. Rename the AttributeName attribute (using Attribute Properties) to something meaningful, like IQ.
    3. Click on the green rectangle in the first row and choose Insert Cases….
    4. Enter the desired number of cases you want; e.g. 1000 and press the Insert Cases button.
    5. Click on the attribute name and choose Edit Formula….
    6. Enter the formula

    randomNormal(100,10)

    That should do it!

    BTW, I think you had to leave the webinar before the very end when I did a demo of this very thing! But with sliders!

    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CODAP Help Forum’ is closed to new topics and replies.