Package Weighted.Desc.Stat

Similar documents
Module 3: Correlation and Covariance

MBA 611 STATISTICS AND QUANTITATIVE METHODS

Package wordcloud. R topics documented: February 20, 2015

business statistics using Excel OXFORD UNIVERSITY PRESS Glyn Davis & Branko Pecar

Visualizing Data. Contents. 1 Visualizing Data. Anthony Tanbakuchi Department of Mathematics Pima Community College. Introductory Statistics Lectures

Institute of Actuaries of India Subject CT3 Probability and Mathematical Statistics

Diagrams and Graphs of Statistical Data

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS INTRODUCTION TO STATISTICS MATH 2050

How To Write A Data Analysis

Each function call carries out a single task associated with drawing the graph.

1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number

Graphics in R. Biostatistics 615/815

Package empiricalfdr.deseq2

Descriptive statistics Statistical inference statistical inference, statistical induction and inferential statistics

Chapter 13 Introduction to Linear Regression and Correlation Analysis

Univariate Regression

DESCRIPTIVE STATISTICS. The purpose of statistics is to condense raw data to make it easier to answer specific questions; test hypotheses.

Viewing Ecological data using R graphics

Simple linear regression

Homework 11. Part 1. Name: Score: / null

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

5 Correlation and Data Exploration

2. Simple Linear Regression

2. Descriptive statistics in EViews

Package polynom. R topics documented: June 24, Version 1.3-8

Exploratory data analysis (Chapter 2) Fall 2011

Curriculum Map Statistics and Probability Honors (348) Saugus High School Saugus Public Schools

What Does the Normal Distribution Sound Like?

Data exploration with Microsoft Excel: analysing more than one variable

Scatter Plots with Error Bars

Common Core Unit Summary Grades 6 to 8

Summarizing and Displaying Categorical Data

Correlation key concepts:

Quantitative Methods for Finance

Course Text. Required Computing Software. Course Description. Course Objectives. StraighterLine. Business Statistics

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA

Business Statistics. Successful completion of Introductory and/or Intermediate Algebra courses is recommended before taking Business Statistics.

Getting Started with R and RStudio 1

PROPERTIES OF THE SAMPLE CORRELATION OF THE BIVARIATE LOGNORMAL DISTRIBUTION

Factor Analysis. Sample StatFolio: factor analysis.sgp

NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS

Simple Linear Regression Inference

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.

Description. Textbook. Grading. Objective

GeoGebra. 10 lessons. Gerrit Stols

Exercise 1.12 (Pg )

The correlation coefficient

Descriptive statistics

Section 3 Part 1. Relationships between two numerical variables

430 Statistics and Financial Mathematics for Business

Relationships Between Two Variables: Scatterplots and Correlation

Bernd Klaus, some input from Wolfgang Huber, EMBL

Data Analysis Tools. Tools for Summarizing Data

2013 MBA Jump Start Program. Statistics Module Part 3

R Graphics Cookbook. Chang O'REILLY. Winston. Tokyo. Beijing Cambridge. Farnham Koln Sebastopol

A Correlation of. to the. South Carolina Data Analysis and Probability Standards

Session 7 Bivariate Data and Analysis

Section 14 Simple Linear Regression: Introduction to Least Squares Regression

STA-201-TE. 5. Measures of relationship: correlation (5%) Correlation coefficient; Pearson r; correlation and causation; proportion of common variance

096 Professional Readiness Examination (Mathematics)

CHAPTER 13 SIMPLE LINEAR REGRESSION. Opening Example. Simple Regression. Linear Regression

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Regression Analysis: A Complete Example

Name: Date: Use the following to answer questions 2-3:

03 The full syllabus. 03 The full syllabus continued. For more information visit PAPER C03 FUNDAMENTALS OF BUSINESS MATHEMATICS

Simple Regression Theory II 2010 Samuel L. Baker

Paper No 19. FINALTERM EXAMINATION Fall 2009 MTH302- Business Mathematics & Statistics (Session - 2) Ref No: Time: 120 min Marks: 80

Describing, Exploring, and Comparing Data

Chapter 3 RANDOM VARIATE GENERATION

Summary of R software commands used to generate bootstrap and permutation test output and figures in Chapter 16

How To Use Statgraphics Centurion Xvii (Version 17) On A Computer Or A Computer (For Free)

Package benford.analysis

There are six different windows that can be opened when using SPSS. The following will give a description of each of them.

Foundation of Quantitative Data Analysis

Package plan. R topics documented: February 20, 2015

Statistics. Draft GCSE subject content

Glencoe. correlated to SOUTH CAROLINA MATH CURRICULUM STANDARDS GRADE 6 3-3, , , 4-9

STATISTICAL ANALYSIS WITH EXCEL COURSE OUTLINE

MTH 140 Statistics Videos

Analysis of System Performance IN2072 Chapter M Matlab Tutorial

Package TSfame. February 15, 2013

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Week 1. Exploratory Data Analysis

Data Exploration Data Visualization

Descriptive statistics parameters: Measures of centrality

Module 5: Measuring (step 3) Inequality Measures

Tutorial 3: Graphics and Exploratory Data Analysis in R Jason Pienaar and Tom Miller

Correlation Coefficient The correlation coefficient is a summary statistic that describes the linear relationship between two numerical variables 2

STATISTICA Formula Guide: Logistic Regression. Table of Contents

Bill Burton Albert Einstein College of Medicine April 28, 2014 EERS: Managing the Tension Between Rigor and Resources 1

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

COMP6053 lecture: Relationship between two variables: correlation, covariance and r-squared.

Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),

Probability and Statistics Vocabulary List (Definitions for Middle School Teachers)

2) The three categories of forecasting models are time series, quantitative, and qualitative. 2)

International College of Economics and Finance Syllabus Probability Theory and Introductory Statistics

Descriptive Statistics

Descriptive Statistics

Introduction to Statistics with GraphPad Prism (5.01) Version 1.1

Transcription:

Type Package Package Weighted.Desc.Stat Title Weighted Descriptive Statistics Version 1.0 Date 2016-02-26 February 29, 2016 Author (Department of Statistics, Faculty of Mathematics and Computer, Shahid Bahonar University of Kerman, Kerman, Iran) Maintainer <parchami@uk.ac.ir> Weighted descriptive statistics is the discipline of quantitatively describing the main features of real-valued fuzzy data which usually given from a fuzzy population. One can summarize this special kind of fuzzy data numerically or graphically using this package. To interpret some of the properties of one or several sets of real-valued fuzzy data, numerically summarize is possible by some weighted statistics which are designed in this package such as mean, variance, covariance and correlation coefficent. Also, graphically interpretation can be given by weighted histogram and weighted scatter plot using this package to describe properties of real-valued fuzzy data set. License LGPL (>= 3) NeedsCompilation no Repository CRAN Date/Publication 2016-02-29 23:55:53 R topics documented: Weighted.Desc.Stat-package................................ 2 w.ad............................................. 3 w.cov............................................ 4 w.cv............................................. 5 w.hist............................................ 6 w.kurtosis.......................................... 8 w.mean........................................... 9 w.plot............................................ 10 w.r.............................................. 11 w.sd............................................. 12 w.skewness......................................... 13 w.var............................................. 14 1

2 Weighted.Desc.Stat-package Index 16 Weighted.Desc.Stat-package Weighted Descriptive Statistics Details Weighted Descriptive Statistics is an open source (LGPL 3) package for R which provides descriptive statistical methods to deal with weighted data. Assume that x = (x 1, x 2,, x n ) is the observed value of a random sample from a fuzzy population. In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it real-valued fuzzy data or weighted data. Weighted descriptive statistics is the discipline of quantitatively describing the main features of a real-valued fuzzy data which usually given from a fuzzy population. The weighted descriptive statistics provide a concise summary a set of real data x = (x 1, x 2,, x n ) on the basis of the vector weight µ = (µ 1, µ 2,, µ n ). By Weighted.Desc.Stat package, one can easily summarize real-valued fuzzy data numerically or graphically using this package. Calculating numerically summarize is possible by some weighted statistics in this package (such as mean, variance, covariance, correlation coefficent and etc) that summarize and interpret some of the properties of one or several sets of real-valued fuzzy data (real-valued fuzzy samples). Also, graphically interpretation can be drown by weighted histogram and weighted scatter plot using this package to describe properties of real-valued fuzzy data set. Maintainer: <parchami@uk.ac.ir> ## Weighted statistics for one variable (property): <- c(0.9, 0.7, 0.8, 0.7, 0.6, 0.4, 0.2, 0.3, 0.0, 0.1) w.mean(x, ) w.sd(x, ) w.var(x, ) w.ad(x, ) w.cv(x, ) w.skewness(x, ) w.kurtosis(x, ) ## Weighted covariance, weighted correlation coefficent and weighted scatter

w.ad 3 ## plot for two variables (properties): n=50 x = rnorm(n,0,1) y = rnorm(n,0,1) = runif(n,0,1) w.cov(x, y, ) w.r(x, y, ) w.plot(x, y, 0.3,, lwd=2) ## Weighted histogram for one variable (property): n = 5000 x = rnorm(n,17,1) x[x<14 x>20] = NA range(x) = runif(n,0,1) bre = seq(from=14,to=20,len=18) cu = seq(from=0,to=1,len=10) w.hist(x,, breaks=bre, cuts=cu, ylim=c(0,n/7), lwd = 2) w.ad weighted absolute deviation In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it realvalued fuzzy data. The goal of w.ad function is computing the absolute deviation (or, the weighted absolute deviation) value of x 1,, x n based on real-valued fuzzy data {(x 1, µ 1 ),, (x n, µ n )} by forla n i=1 x = µ ix i n i=1 µ. i w.ad(x, ) x A vector-valued numeric data which you want to compute its weighted absolute deviation. A vector of weights. The length of this vector st be equal to the length of data and each element of it st be belong to interval [0,1].

4 w.cov The weighted absolute deviation of the vector x, by considering weights vector, is numeric or a vector of length one. The length of x and st be equal. Also, each element of st be in interval [0,1]. <- c(0.9, 0.7, 0.8, 0.7, 0.6, 0.4, 0.2, 0.3, 0.0, 0.1) w.ad(x, ) function(x, ) sum( *abs(x- w.mean(x,) ) ) / sum() w.cov weighted covariance In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it realvalued fuzzy data. The goal of w.cov function is computing covariance (or, the weighted covariance) between two vector-valued data sets x 1,, x n and y 1,, y n based on real-valued fuzzy data {(x 1, µ 1 ),, (x n, µ n )} and {(y 1, µ 1 ),, (y n, µ n )} by considering their vector-valued weights, i.e. 1 n s xy = n i=1 µ µ i (x i x)(y i ȳ). i w.cov(x, y, ) i=1 x, y Two vector-valued numeric data sets which you want to compute the weighted covariance between them. A vector of weights. The length of this vector st be equal to the length of data and each element of it is belongs to interval [0,1].

w.cv 5 The weighted covariance between two vectors x and y, by considering weights vector, is numeric or a vector of length one. The length of x, y and st be equal. Also, each element of st be in interval [0,1]. y <- c(10:1) <- c(0.9, 0.7, 0.8, 0.7, 0.6, 0.4, 0.2, 0.3, 0.0, 0.1) w.cov(x, y, ) function(x, y, ) (sum(*x*y)/sum()) - (w.mean(x,) * w.mean(y,)) w.cv weighted coefficient of variation In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it real-valued fuzzy data. The goal of w.cv function is computing the coefficient of variation (or, the weighted coefficient of variation) value of x 1,, x n based on real-valued fuzzy data {(x 1, µ 1 ),, (x n, µ n )} by considering its vector-valued weight. In other words, the weighted coefficient of variation is equal to the weighted standard deviation devided by the weighted mean. w.cv(x, ) x A vector-valued numeric data which you want to compute its weighted coefficient of variation. A vector of weights. The length of this vector st be equal to the length of data and each element of it is belongs to interval [0,1].

6 w.hist The weighted coefficient of variation for vector x, by considering weights vector, is numeric or a vector of length one. The length of x and st be equal. Also, each element of st be in interval [0,1]. <- c(0.9, 0.7, 0.8, 0.7, 0.6, 0.4, 0.2, 0.3, 0.0, 0.1) w.cv(x, ) function(x, ) w.sd(x,) / w.mean(x,) w.hist weighted histogram In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it real-valued fuzzy data. This function drow the weighted histogram for a vector-valued data by considering a vector-valued weight. The weighted histogram containes several classical histograms which are depicted on one two-dimentional sorface. Each classical histogram drown only for the elements of real-value fuzzy data set which their weights are bigger than a cut point belongs to (0,1]. w.hist(x,, breaks, cuts, ylim = NULL, freq = NULL, lwd = NULL)

w.hist 7 x breaks cuts freq A vector-valued numeric data for which the weighted histogram is desired by considering their weights. A vector of weights of the real-value fuzzy data. The length of this vector st be equal to the length of x and each element of it is belongs to interval [0,1]. a vector giving the breakpoints between the weighted histogram cells. a vector giving the cut-points between (to determine) the classical histograms in the desired weighted histogram. logical; if TRUE, the histogram graphic is a representation of frequencies, the counts component of the result; if FALSE, probability densities, component density, are plotted (so that the histogram has a total area of one). Defaults to TRUE if and only if breaks are equidistant (and probability is not specified). ylim numeric vector of length 2 giving the y limits for the plot. Unused if add = TRUE. lwd Details The line width, a positive number, defaulting to 1. The interpretation is devicespecific, and some devices do not implement line widths less than one. The arguments of the weighted histogram can be extended similar to the arguments of usual histogram which is detailed in function "hist" from "graphics" package. The length of x and st be equal. Also, each element of st be in interval [0,1]. Department of Statistics, Faculty of Mathematics and Computer, Shahid Bahonar University of Kerman, Kerman, Iran n = 5000 x = rnorm(n,17,1) x[x<14 x>20] = NA range(x) = runif(n,0,1) bre = seq(from=14,to=20,len=18) cu = seq(from=0,to=1,len=10) w.hist(x,, breaks=bre, cuts=cu, ylim=c(0,n/7), lwd = 2) function(x,, breaks, cuts, ylim = NULL, freq = NULL, lwd = NULL) { Gray = paste("gray", round(seq(from=10, to=100, len=length(cuts)-1)), sep="") hist(x, col=gray[1], xlim=range(breaks), ylim=ylim, breaks=breaks, freq=freq, lwd=lwd)

8 w.kurtosis i=2 while(i<=length(cuts)) { X=x X[(X*(>=cuts[i]))==0]=NA hist(x, col=gray[i], xlim=range(breaks), ylim=ylim, breaks=breaks, freq=freq, lwd=lwd, add=true) i=i+1 } } w.kurtosis weighted coefficient of kurtosis In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it real-valued fuzzy data. The goal of w.kurtosis function is computing the coefficient of kurtosis (or, the weighted coefficient of kurtosis) value of x 1,, x n based on real-valued fuzzy data {(x 1, µ 1 ),, (x n, µ n )} by forla k = n 1 i=1 µi n i=1 µ i [x i x] 4 s 4 3. w.kurtosis(x, ) x A vector-valued numeric data which you want to compute its weighted coefficient of kurtosis. A vector of weights. The length of this vector st be equal to the length of data and each element of it is belongs to interval [0,1]. The weighted coefficient of kurtosis for the vector x, by considering weights vector, is numeric or a vector of length one. The length of x and st be equal. Also, each element of st be in interval [0,1].

w.mean 9 <- c(0.9, 0.7, 0.8, 0.7, 0.6, 0.4, 0.2, 0.3, 0.0, 0.1) w.kurtosis(x, ) function(x, ) (( sum( *(x-w.mean(x,))^4 ) / sum() ) / w.sd(x,)^4)-3 w.mean weighted mean In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it realvalued fuzzy data. The goal of w.mean function is computing the mean (or, the weighted mean) value of x 1,, x n based on real-valued fuzzy data {(x 1, µ 1 ),, (x n, µ n )} by forla x = n i=1 µ ix i n i=1 µ. i w.mean(x, ) x A vector-valued numeric data which you want to compute its weighted mean. A vector of weights. The length of this vector st be equal to the length of data and each element of it is belongs to interval [0,1]. The weighted mean of the vector x, by considering weights vector, is numeric or a vector of length one. The length of x and st be equal. Also, each element of st be in interval [0,1].

10 w.plot <- c(0.9, 0.7, 0.8, 0.7, 0.6, 0.4, 0.2, 0.3, 0.0, 0.1) w.mean(x, ) function(x, ) sum( *abs(x-w.mean(x,)) ) / sum() w.plot weighted scatter plot In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it real-valued fuzzy data. The weighted scatter plot, or weighted scatterplot, is a type of mathematical diagram to display values of two real-valued fuzzy data sets (from two variables of fuzzy populations) by considering a vector-valued weight. In weighted scatter plot, this kind of data is displayed as a collection of circles, the center point of each having the value of one variable determining the position on the horizontal axis and the value of the other variable determining the position on the vertical axis. Also the radius of each circle is considered equal to (or a ratio from) the weight of correcponding two-dimentional element (the center of circle). w.plot(x, y,, coef.radii, xlim = NULL, ylim = NULL, lwd = NULL, add = NULL,...) x, y Two vector-valued numeric data sets which you want to drow the weighted scatter plot for them. coef.radii A vector of weights. The length of this vector st be equal to the length of data and each element of it is belongs to interval [0,1]. a possitive number giving the coefficient of radiuses for the circles, i.e. radius[i] = [i] * coef.radii. xlim numeric vector of length 2 giving the x limits for the plot. Unused if add = TRUE.

w.r 11 ylim numeric vector of length 2 giving the y limits for the plot. Unused if add = TRUE. lwd add The line width, a positive number, defaulting to 1. The interpretation is devicespecific, and some devices do not implement line widths less than one. if add is TRUE, the new plot is added to an existing plot, otherwise a new plot is created.... to be passed to methods, such as graphical parameters. The length of x, y and st be equal. Also, each element of st be in interval [0,1]. Department of Statistics, Faculty of Mathematics and Computer, Shahid Bahonar University of Kerman, Kerman, Iran n=50 x = rnorm(n,0,1) y = rchisq(n,3) = runif(n,0,1) w.plot(x, y, 0.3,, lwd=3) function(x, y,, coef.radii, xlim = NULL, ylim = NULL, lwd = NULL, add = NULL,...) { symbols(x, y, * coef.radii, inches = FALSE, xlim=xlim, ylim=ylim, lwd=lwd) } w.r weighted Pearson s correlation coefficent In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it realvalued fuzzy data. The goal of w.r function is computing the Pearson s correlation coefficent (or, the weighted Pearson s correlation coefficent) between two vector-valued data sets x 1,, x n and y 1,, y n based on real-valued fuzzy data {(x 1, µ 1 ),, (x n, µ n )} and {(y 1, µ 1 ),, (y n, µ n )} by forla r = sxy s xs y.

12 w.sd w.r(x, y, ) x, y Two vector-valued numeric data sets which you want to compute the weighted Pearson s correlation coefficent between them. A vector of weights. The length of this vector st be equal to the length of data sets and each element of it is belongs to interval [0,1]. The weighted correlation coefficent between two vectors x and y, by considering weights vector, is numeric or a vector of length one. The length of x, y and st be equal. Also, each element of st be in interval [0,1]. y <- c(2, 7, 0.8, -1, 3, 4, 8, 13, 0, 12) <- c(0.9, 0.7, 0.8, 0.7, 0.6, 0.4, 0.2, 0.3, 0.0, 0.1) w.r(x, y, ) function(x, y, ) w.cov(x,y,) / (w.sd(x,) * w.sd(y,)) w.sd weighted standard deviation In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it realvalued fuzzy data. The goal of w.sd function is computing the standard deviation (or, the weighted standard deviation) value of x 1,, x n based on real-valued fuzzy data {(x 1, µ 1 ),, (x n, µ n )} by forla s = s 2.

w.skewness 13 w.sd(x, ) x A vector-valued numeric data which you want to compute its weighted standard deviation. A vector of weights. The length of this vector st be equal to the length of data and each element of it is belongs to interval [0,1]. The weighted standard deviation of vector x, by considering weights vector, is numeric or a vector of length one. The length of x and st be equal. Also, each element of st be in interval [0,1]. <- c(0.9, 0.7, 0.8, 0.7, 0.6, 0.4, 0.2, 0.3, 0.0, 0.1) w.sd(x, ) function(x, ) ( (sum(*x*x)/sum()) - w.mean(x,)^2 )^.5 w.skewness weighted coefficient of skewness In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it real-valued fuzzy data. The goal of w.skewness function is computing the coefficient of skewness (or, the weighted coefficient of skewness) value of x 1,, x n based on real-valued fuzzy data {(x 1, µ 1 ),, (x n, µ n )} by forla g = n 1 i=1 µi n i=1 µ i [x i x] 3 s 3.

14 w.var w.skewness(x, ) x A vector-valued numeric data which you want to compute its weighted coefficient of skewness. A vector of weights. The length of this vector st be equal to the length of data and each element of it is belongs to interval [0,1]. The weighted coefficient of skewness for the vector x, by considering weights vector, is numeric or a vector of length one. The length of x and st be equal. Also, each element of st be in interval [0,1]. <- c(0.9, 0.7, 0.8, 0.7, 0.6, 0.4, 0.2, 0.3, 0.0, 0.1) w.skewness(x, ) function(x, ) ( sum( *(x-w.mean(x,))^3 ) / sum() ) / w.sd(x,)^3 w.var weighted variance In classical and usual random sample, the degree of belonging x i into the random sample is equal to 1, for 1 i n. But considering fuzzy population, we denote the degree of belonging x i into the fuzzy population (or into the observed value of random sample) by µ i which is a real-valued number from [0,1]. Therefore in such situations, it is more appropriate that we show the observed value of the random sample by notation {(x 1, µ 1 ), (x 2, µ 2 ),, (x n, µ n )} which we called it realvalued fuzzy data. The goal of w.var function is computing the variance (or, the weighted variance) value of x 1,, x n based on real-valued fuzzy data {(x 1, µ 1 ),, (x n, µ n )} by forla s 2 = 1 n i=1 µ i n µ i [x i x] 2. i=1

w.var 15 w.var(x, ) x A vector-valued numeric data which you want to compute its weighted variance. A vector of weights. The length of this vector st be equal to the length of data and each element of it is belongs to interval [0,1]. The weighted variance of vector x, by considering weights vector, is numeric or a vector of length one. The length of x and st be equal. Also, each element of st be in interval [0,1]. <- c(0.9, 0.7, 0.8, 0.7, 0.6, 0.4, 0.2, 0.3, 0.0, 0.1) w.var(x, ) function(x, ) (sum(*x*x)/sum()) - w.mean(x,)^2

Index Topic Real-valued Fuzzy Data w.ad, 3 w.cov, 4 w.cv, 5 w.hist, 6 w.kurtosis, 8 w.mean, 9 w.plot, 10 w.r, 11 w.sd, 12 w.skewness, 13 w.var, 14 Topic Weighted Absolute Deviation w.ad, 3 Topic Weighted Coefficient of Kurtosis w.kurtosis, 8 Topic Weighted Coefficient of Skewness w.skewness, 13 Topic Weighted Coefficient of Variation w.cv, 5 Topic Weighted Covariance w.cov, 4 w.plot, 10 w.r, 11 Topic Weighted Descriptive Statistics w.ad, 3 w.cov, 4 w.cv, 5 w.hist, 6 w.kurtosis, 8 w.mean, 9 w.plot, 10 w.r, 11 w.sd, 12 w.skewness, 13 w.var, 14 Topic Weighted Histogram w.hist, 6 Topic Weighted Mean w.cov, 4 w.cv, 5 w.kurtosis, 8 w.mean, 9 w.sd, 12 w.skewness, 13 w.var, 14 Topic Weighted Pearson s Correlation Coefficent w.cov, 4 w.plot, 10 w.r, 11 Topic Weighted Scatter Plot w.cov, 4 w.plot, 10 w.r, 11 Topic Weighted Standard Deviation w.cv, 5 w.kurtosis, 8 w.r, 11 w.sd, 12 w.skewness, 13 w.var, 14 Topic Weighted Statistics 16

INDEX 17 w.ad, 3 w.cov, 4 w.cv, 5 w.hist, 6 w.kurtosis, 8 w.mean, 9 w.plot, 10 w.r, 11 w.sd, 12 w.skewness, 13 w.var, 14 Topic Weighted Variance w.var, 14 w.ad, 3 w.cov, 4 w.cv, 5 w.hist, 6 w.kurtosis, 8 w.mean, 9 w.plot, 10 w.r, 11 w.sd, 12 w.skewness, 13 w.var, 14 Weighted.Desc.Stat (Weighted.Desc.Stat-package), 2