VAS {bda} | R Documentation |

## Algorithms for Visual Analogue Scales

### Description

Algorithms for VAS. The algorithms are applicable to other numerical variables with measurement errors as well.

### Usage

```
VAS.ecdf(x,w,alpha=0.05)
```

### Arguments

`x` |
Raw data |

`w` |
weights |

`alpha` |
Significance level for confidence bands. |

### Value

Estimate of the emprical distribution function.

`x` |
grid points |

`y` |
ECDF value Fn(x) |

`lb` , `ub` |
lower and upper confidence bands of ECDF. |

`alpha` |
significance level |

`data` |
raw data |

`ecdf` |
Draw ECDF if TRUE. |

### Examples

```
x <- rnorm(100, -2.6, 3.1)
```

[Package

*bda*version 18.2.2 Index]