Data Parameters

Top  Previous  Next

Data parameters are very similar to list parameters.

 

Data parameters define a list of values that, together, form a data set. You must list out every value. Data parameters contain data that are normally accessed as one. For example, you might find the mean of a data set.

 

Data parameters are defined using the data command.

 

$p=data(value1,value2,value3,...)

 

Examples:

 

$p=data(2,3,5,7,11,13,17,100)                

$q=data(0,pi/4,pi/2,3pi/4,pi)                        

$r=data("string1","string2","string3")                

 

You can algorithmically create sets of data for statistical questions using the random number parameters. For example, the RandNormal parameter can create a random set of data that is normally distributed around a given mean and standard deviation.

 

You can also create data parameters which contain frequency tables, grouped data and bivariate data using special formats. These are discussed in the next section.