Title: | Number Series Generator |
---|---|
Description: | A number series generator that creates number series items based on cognitive models. |
Authors: | Bao Sheng Loe (Aiden) [aut, cre, cph] |
Maintainer: | Bao Sheng Loe (Aiden) <[email protected]> |
License: | GPL-3 |
Version: | 0.1.1 |
Built: | 2024-11-11 06:15:12 UTC |
Source: | https://github.com/aidenloe/numgen |
This uses item model 8 to create number series items.
imEight(cat, n, items, arith)
imEight(cat, n, items, arith)
cat |
Number of categorical groups per question. |
n |
The differences between the pair of objects |
items |
The number of items you want to generate. |
arith |
The arithmetic operator of your choice ("add","substr","multi","div"). |
This is based on the categorical / pattern recognition rule. Neighbouring pairs or triads of objects are related, includes arithmetic operations.
Aiden Loe and Filip Simonfy
imEight(cat=2,n=4,items=2, arith="add")
imEight(cat=2,n=4,items=2, arith="add")
This uses item model 11 to create number series items - Identification of alternating coefficients of change.
imEleven(items = 1, fun1 = "add", fun2 = "add")
imEleven(items = 1, fun1 = "add", fun2 = "add")
items |
Generate a random mix of items. |
fun1 |
The argument decides the arithmetic to be employed for Neighbouring objects. There are only two arithmetic: add, substr. |
fun2 |
The argument decides the arithmetic to be employed for the two values between the grouped objects. There are two arithmetic: add, substr. |
This function creates number series that is a combination of Neighbouring objects and 2-sequence coefficient. Multiplication and Division are removed since the calculated value is too big. Example: A sequence whose coefficient of change alternates between (add 6) and (multiply by 2). 1 7 14 20 40 46 (92) (98).
Aiden Loe and Filip Simonfy
#Draws 5 items randomly. imEleven(items=5, fun1 = "add", fun2= "add")
#Draws 5 items randomly. imEleven(items=5, fun1 = "add", fun2= "add")
This uses item model 5 to create number series items - Identification of co-occurring relationships between elements (with use of arithmetic skills)
imFive(arithOne = "add", arithTwo = "substr", n = 2, items = 4)
imFive(arithOne = "add", arithTwo = "substr", n = 2, items = 4)
arithOne |
Select the arithmetric operator of choice ("add","multi", "sub", "div"). |
arithTwo |
Select the arithmetric operator of choice ("add","multi", "sub", "div"). |
n |
Value you want use the arithmetic operator on. |
items |
Generate a random mix of items. |
Logic analogous to the Item Model 4, but at least one sub-sequence involves the basic arithmetic operations. Sequences combine items from Item Families 1 and 3. The arithmetic operations change but the differences in value remains the name. Example: Odd elements of the sequence increase by 2 and even elements of the sequence are multiplied by 2. (2 12 4 24 6 48 8 (96) (10))
Aiden Loe and Filip Simonfy
imFive(arithOne="add",arithTwo="add",n=2,items=5)
imFive(arithOne="add",arithTwo="add",n=2,items=5)
This uses item model 4 to create number series items - Identification of co-occurring relationships between elements (without use of arithmetic skills)
imFour(items = 5, seed = 1)
imFour(items = 5, seed = 1)
items |
Number of items to generate. |
seed |
This gives you the same result again. |
Sequences which consist of regularly alternating parallel sub-sequences. Understanding of succession does not require use of algebraic skill. Sub-sequences involve items from Item Model 1. Example: Odd elements of the sequence are multiples of 1 and even elements of the sequence are multiples of 10. (1 10 2 20 3 30 (4) (40)) 2 simple linear (without arithmetic) 1 2 3 / 10 20 30 combine to form a number series item.
Aiden Loe and Filip Simonfy
## Not run: imFour(items=5, seed=5) ## End(Not run)
## Not run: imFour(items=5, seed=5) ## End(Not run)
This uses item model 10 to create number series items - Identification of relationships within a chain of elements.
imNine(items)
imNine(items)
items |
Number of items to generate. |
Progressive sequences which involve relationships between multiple preceding objects (e.g. Fibonacci sequence). Example: Each element of the sequence is a result of addition of its two preceding elements (1 1 2 3 5 8 (13)). The maximum number to be generated is 15 items.
Aiden Loe and Filip Simonfy
imNine(items=3)
imNine(items=3)
This uses item model 1 to create number series items - Elementary understanding of sequence succession.
imOne(items = 5, seed = 1)
imOne(items = 5, seed = 1)
items |
Number of items to generate. |
seed |
Setting the seed returns the same items on the local computer. |
Simple linear sequences which do not require use of advanced arithmetic operations, such as ordered multiples of 1, 10, or 100. Example: A sequence of ordered multiples of 10. (10 20 30 40 (50)).
Aiden Loe and Filip Simonfy
imOne(items=5, seed=5)
imOne(items=5, seed=5)
This uses item model 7 to create number series items - Identification of complex coefficients of change
imSeven(vOne = 1, vTwo = 3, items, seed = 1, logic = "one", random = FALSE)
imSeven(vOne = 1, vTwo = 3, items, seed = 1, logic = "one", random = FALSE)
vOne |
The first value in the complex coefficient (x). Can be a sequence of values or a specific value. |
vTwo |
The second value in the complex coefficient (y). Can be a sequence of values or a specific value. |
items |
Generate a random mix of items. |
seed |
To get the same random sampling of items |
logic |
"one" or "two" |
random |
If random=FALSE, the items will follow in sequential order. |
This function creates number series that is a combination of Arithmetic, Linear and Complex coefficient. Ability to identify complex coefficients; the coefficient of change involves a combination of arithmetic operations (e.g. addition and multiplication) applied serially.
There are two logic to calculate the number series.
First logic of complex coefficient = i*x+y.
Second logic of complex coefficient = (i+x)*y.
.
Example: Each element in the sequence is derived from the preceding by adding two and multiplying the result by two. (2 8 20 44 92 (188)).
Aiden Loe and Filip Simonfy
#Draws 5 items randomly. imSeven(vOne=1,vTwo=3,items=5,seed=2,logic="one",random=TRUE) # Calculates all combinations # Items and seed arg is ignored. imSeven(vOne=1:2,vTwo=1:3,items=5,seed=2,logic="one",random=FALSE)
#Draws 5 items randomly. imSeven(vOne=1,vTwo=3,items=5,seed=2,logic="one",random=TRUE) # Calculates all combinations # Items and seed arg is ignored. imSeven(vOne=1:2,vTwo=1:3,items=5,seed=2,logic="one",random=FALSE)
This uses item model 6 to create number series items - Identification of progressively evolving coefficients of change.
imSix(items)
imSix(items)
items |
Number of items to generate. |
Non-linear progressive sequences which require a higher level of abstraction; the coefficient of change between two neighbouring elements is not invariable and its elements form a sequence. The coefficient sequences correspond to items from Item Families 1 and 3. Example: The coefficient of change between each pair of neighbouring elements in the sequence increases by 1. (2 4 7 11 16 (22))
Aiden Loe and Filip Simonfy
imSix(items=3)
imSix(items=3)
This uses item model 10 to create number series items - Combined identification of parallel sub-sequences and progressively evolving coefficients of change.
imTen(items, logic = "one", n = 2, arith = "add")
imTen(items, logic = "one", n = 2, arith = "add")
items |
Generate a random mix of items. |
logic |
The combination of sequences follow two logic ("one" or "two"). |
n |
The value that the arithmetic operator uses to calculate the next value |
arith |
The arithmetic operator of your choice ("add","substr","multi","div"). |
The number series items are a combination of Arithmetic, linear sequence and progressive coefficient.
First logic is combining sequences x y x y x y x y = one simple (cannot be controlled), one progressive .
Second logic is combining sequences x y x y x y x y = two progressive. The minimum number of items that will be generated is 2.
Logic analogous to the Item Model 5, but at least one sub-sequence involves a progressively evolving coefficient. Sub-sequences involve items from Item Families 1, 3, and 7. Example: The coefficient of change between odd elements in the sequence increases by 1. The coefficient of change between even elements increases by -1. (2 8 4 7 7 5 11 2 16 (-2) (22)).
When using the first logic, n corresponds to the change in the progressive pattern. However, the simple pattern is fixed and hence drawn randomly.
Aiden Loe and Filip Simonfy
#Draws 10 items randomly. imTen(10,logic="one", n=2,arith="add")
#Draws 10 items randomly. imTen(10,logic="one", n=2,arith="add")
This uses item model 13 to create number series items - Combined identification of unevenly ordered sub-sequences and non-successive relationships between elements.
imThirteen(items)
imThirteen(items)
items |
Generate a random mix of items. |
This function creates number series creates a combination of sequences and ratios. TLogic analogous to the Item Model 13, but the second sequence belongs to the Item Model 9. As a result, pairs of elements following certain rule are embedded into a progressive sequence. Example: Sequence with coefficient of (+ 1) is interposed with pairs of elements which differ by 3. 1 5 8 2 209 212 3 41 (44) (4). Only the addition and substraction arimethic operators are used to generate the number series items.
Aiden Loe and Filip Simonfy
#Draws 10 items randomly. imThirteen(10)
#Draws 10 items randomly. imThirteen(10)
This uses item model 3 to create number series items - Use of basic algebraic skills.
imThree(items, n, arith = "add")
imThree(items, n, arith = "add")
items |
The number of items to generate |
n |
Value to use the arithmetic operator on |
arith |
Use either 'add', 'substr', 'multi', 'div'. |
Each element in the sequence is derived from the preceding by applying one of four basic arithmetic operations - addition, subtraction, multiplication, or division. Coefficient of change is invariant across the sequence. 20 18 16 14 (12). Currently it only displays up to a series of 9.
Aiden Loe and Filip Simonfy
imThree(items=4,n=2,arith="add")
imThree(items=4,n=2,arith="add")
This uses item model 12 to create number series items - Identification of unevenly ordered sub-sequences
imTwelve(items)
imTwelve(items)
items |
Generate a random mix of items. |
This function creates number series that is a irregular combination of sequences a b b a b b a ... Only the addition and substraction arithmetic operators are used to create the number series items.
Aiden Loe and Filip Simonfy
#Draws 10 items randomly. imTwelve(10)
#Draws 10 items randomly. imTwelve(10)
This uses item model 2 to create number series items - Understanding of object categorisation.
imTwo(cat = 2, items = 4, random = FALSE)
imTwo(cat = 2, items = 4, random = FALSE)
cat |
Length of categorical groups per question. |
items |
The number of items you want to generate. |
random |
To randomise the position of the numeric values. |
Sequences consist of elements belonging to two homogeneous groups with equal number of elements. Missing element belongs to the group with fewer elements present in the sequence. For example, 1 1 1 5 5 (5).
Aiden Loe and Filip Simonfy
imTwo(cat=2,items=4,random=FALSE)
imTwo(cat=2,items=4,random=FALSE)
The numGen package provides 14 item models for generating number series items.
This number series generates simple linear sequences with a magnitude of up to 5000.imOne
This number series generate sequences consist of elements belonging to two homogeneous groups with equal number of elements.imTwo
This function allows you to select one of the four arithmetic operators following a sequence succession rule.imThree
This create items that relates to comprehension of abstract object representation (Item model 5) and Identification of co-occurring relationships between elements (Item model 4).imFour
Generate items with two sequences combined into one number series.imFive
This model uses the addition and substraction (Arithmetic) operator, Linear pattern and Progressive coefficient to create the number series.imSix
This function creates number series that is a combination of Arithmetic, Linear and Complex coefficient.
First logic of complex coefficient = i*x+y.
Second logic of complex coefficient = (i+x)*y.imSeven
This is based on the categorical / pattern recognition rule. Neighbouring pairs or triads of objects are related, includes arithmetic operations. imEight
This function creates Fibonacci sequences. The maximum number to be generated is 15 items.imNine
The number series is a combination of Arithmetic, linear sequence and progressive coefficient.
First logic is combining sequences x y x y x y x y = one simple (cannot be controlled), one progressive.
Second logic is combining sequences x y x y x y x y = two progressive. imTen
Neighbouring objects + 2-sequence coefficient.
This function creates number series that is a combination of Neighbouring objects + 2-sequence coefficient.
Multiplication and Division is removed since the calculated value is too big. imEleven
This function creates number series that is a irregular combination of sequences a b b a b b a ...
Only the addition and substraction arithmetic operators are used to create the number series items. imTwelve
Combination of sequences and ratios. imThirteen
LeFevre, J. A., & Bisanz, J. (1986). A cognitive analysis of number-series problems: Sources of individual differences in performance. Memory & Cognition, 14(4), 287-298.
Holzman, T. G., Pellegrino, J. W., & Glaser, R. (1983). Cognitive variables in series completion. Journal of Educational Psychology, 75(4), 603.
Simon, H. A., & Kotovsky, K. (1963). Human acquisition of concepts for sequential patterns. Psychological Review, 70(6), 534.