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[Score] - statistical score
Calling Sequence
Score(R, V, options)
Parameters
R
-
algebraic; a random variable or distribution
V
rtable, name; data sample
options
(optional) equation(s) of the form option=value where option is one of samplesize, param, ignore or weights; specify options for the Score function
Description
The Score function computes the Score function of a random variable or a distribution. The Score function is defined as the first derivative of the log likelihood function with respect to all parameters or to one particular parameter.
The first parameter R can be a distribution (see Statistics[Distribution]), a random variable, or an algebraic expression involving random variables (see Statistics[RandomVariable]).
The second parameter V can be an Array of data samples or a symbol representing an Array of data samples (in which case the option samplesize must be specified).
Options
The options argument can contain one or more of the options shown below.
samplesize=deduce or {posint} -- If this option is set to 'deduce' (default) the score function attempts to automatically determine the number of data samples provided in V. This parameter must be specified if the number of samples in V is not immediately detectable.
param=all or name -- If this option is set to 'all' (default) the score of all parameters for this distribution is calculated and the result is returned as a Vector. Otherwise, this option specifies the parameter which should be used to calculate the score.
ignore=truefalse -- This option is used to specify how to handle non-numeric data. If ignore is set to true all non-numeric items in data will be ignored.
weights=rtable -- Vector of weights (one-dimensional rtable). If weights are given, the Score function will scale each data point to have given weight. Note that the weights provided must have type realcons and the results are floating-point, even if the problem is specified with exact values. Both the data array and the weights array must have the same number of elements.
Examples
Calculate the Score of each term of the normal distribution.
Sample a random variable with Normal distribution.
Calculate the score relative to this sample.
Insert missing data into the array and recompute.
Consider a weighted structure.
See Also
Statistics, Statistics[Computation]
Download Help Document