Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Statistics[MakeProcedure] - generate a procedure for calculating statistical quantities
Calling Sequence
MakeProcedure(stat, inp, params)
Parameters
stat
-
name; statistical quantity to calculate
inp
algebraic, rtable, 'randomvariable', 'sample'; primary input to procedure
params
(optional) a sequence representing the arguments of the generated procedure
options
(optional) equation(s) of the form option=value passed to the statistical quantity being used
Description
The MakeProcedure function generates a procedure that can be used to calculate various statistical quantities.
The first parameter is the name of a statistical quantity (for available statistical quantities see Statistics[DescriptiveStatistics]).
The second parameter is the primary input to this procedure. If this parameter is an algebraic expression involving random variables or a distribution then the procedure will calculate the statistical quantity on the given expression. Similarly, if the parameter is an rtable, the statistical quantity will be calculated on the provided dataset. If 'randomvariable' is specified, the procedure will accept as its first parameter an expression involving random variables (type algebraic). Finally, if 'sample' is specified, the procedure will accept a dataset (type rtable) as its first parameter.
The third parameter specifies the arguments for the generated procedure. If this parameter is specified, all arguments of the selected statistic must be specified as they would in a procedure definition. Alternatively, parameters may be replaced with values that are instead used when performing the statistical operation.
Computation
For efficiency, all computations are performed in floating-point; therefore, all data provided must have type realcons and all returned solutions are floating-point, even if the problem is specified with exact values.
For more information about computation in the Statistics package, see the Statistics[Computation] help page.
Examples
Generate a procedure for calculating the moment on an array.
Generate a procedure for calculating the 4th moment of any sample.
Generate a procedure for calculating the moment of a Normal random variable.
Generate a procedure for calculating the 4th moment of any random variable.
See Also
Statistics, Statistics[Computation], Statistics[DescriptiveStatistics], Statistics[RandomVariables]
Download Help Document