Changing the Percent Values on the Sampler Plugin

CODAP Forums CODAP Help Forum Changing the Percent Values on the Sampler Plugin

This topic contains 1 reply, has 2 voices, and was last updated by  Bill Finzer 2 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #755 Score: 0

    Shauna Hedgepeth

    I want to run a simulation using a spinner where “yes” happens 4.5% of the time, and “no” happens 95.5% of the time. I’m familiar with how I could do this in Tinkerplots, but I can’t quite figure out how to change those values in the sampler plugin with CODAP. I feel like I’m missing something obvious, but I would love to demo this in my NCTM session as alternative to Tinkerplots for classrooms with only Chromebooks.



    Bill Finzer

    Hello Shauna,

    The current CODAP sampler does not make this easy, more’s the pity. But it is possible, though with the collector rather than a spinner. (You may have already figured this out?) I’ll list my steps and I’ll include a link to the document that has the result.

    1. Add the Sampler plugin (of course)
    2. With the Table tool, make a <new> dataset.
    3. Click on the green rectangle on the far left of this table and choose New Cases.
    4. Enter 200 and press the New Cases button.
    5. You could hand enter 191 “yes” values and 9 “no” values, but it’s simpler to use the formula: if(caseIndex<191,”yes”,”no”)
    6. In the Sampler, choose the Collector device.
    7. Fill in the number of items and samples you want and press Start.

    Whew! Sure hope we get to continue Sampler development soon!

    Here is a link to a worked out example.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.